[FFmpeg-user] converting 1080 to 720 mpeg2

Ian Evans dheianevans at gmail.com
Wed Feb 29 03:51:32 CET 2012


On Tue, Feb 28, 2012 at 7:21 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> For your use-case, you should specify a constant quantizer (not bitrate)
> so you nearly don't loose any quality, try -qscale 2.
>
> I suspect your plan has to fail if you don't add -r 30000/1001.
>
> Depending on the content of your recording, you absolutely need a
> de-interlacer (yadif) for this whole task.

Okay adding that to the mix I tried this command line:

ffmpeg -i 1662_20120226204000.mpg -t 00:10:00.000 -f mpegts -vcodec
mpeg2video -qscale 2  -r 30000/1001 -vf 'yadif=1:-1,scale=1280:720'
-an video-01.mpeg.ts

It looks great! Is that the proper yadif line to deinterlace it? Gotta
figure out how to get the audio track(s) over as well.

Thanks.


More information about the ffmpeg-user mailing list