[FFmpeg-user] ffmpeg h.264 long gop encoding and interlaced encoding

Albert Scholtalbers compuvision.sr at gmail.com
Fri Feb 22 20:18:08 CET 2013


>How can i maintain the same GOP settings codification for both progressive
and interlaced video files?
>And how can i change the "scan type" into interlaced?
>How can i change the "scan order" (Bottom Field First - Top Field First)
fot interlaced encoding?

Don't know about the GOP, I know mp4 don't know traditional Interlaced,
they use MBAFF.
To get MBAFF and TFF use following  (-flags +ildct+ilme) and (tff=1)
"F:\ffmpeg.exe" -i "f:\sample.mpg" -vcodec libx264 -threads 0 -b 1500000 -r
29.97 -flags +ildct+ilme -x264opts tff=1 -ab 128000 "F:\video.mp4"

Good luck.


More information about the ffmpeg-user mailing list