[FFmpeg-user] Converting numerous files to h264

Frank Häfemeier ffmpeg at frank.haefemeier.eu
Tue Nov 13 22:19:52 CET 2012

Am Dienstag, den 13.11.2012, 18:05 +1000 schrieb neoculture23:
> First of all, many thank to all who have been helping me. After reading the
> various pages I have had pointed to me, I have made my command line thus:
> ffmpeg -i "filename.ext" \
>     -vprofile high \
>     -preset veryslow \
>     -map 0 \
>     -threads 0 \
>     -c:a copy -c:s copy -c:d copy -c:t copy \
>     -c:v libx264 \
>     -crf 23 \
>     "filename.mkv"
> And I'm probably repeating myself with some of these parameters...
> I am now playing with the CRF value, and tried a few between 22-24. Here
> are the results in terms of sizes:
I am convert a lot of captured cable broadcasting tv shows and movies
(SD and HD). After a while of testing I use x264 and video quality
parameter "-preset slow -tune psnr -crf 18".
I got tips about it from here:


More information about the ffmpeg-user mailing list