Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
- @ECHO OFF
- FOR %%a IN ("*.mkv") DO (
- title chrome "%%a"
- %FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 4 -crf 18 -maxrate 4M -bufsize 16M -pix_fmt yuv420p -vf "scale=iw*sar:ih, scale='if(gt(iw,ih),min(1920,iw),-1)':'if(gt(iw,ih),-1,min(1080,ih))'" -x264opts bframes=3:cabac=1 -movflags faststart -c:a copy -y "%%~na".chrome.mkv
- )
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement