[FFmpeg-user] Duplicates frames when converting interlaced h264 to png frames and double length when converting interlaced .png to interlaced mp4

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 18 23:48:18 CET 2011

Lionel Trésaugues <lionel.tresaugues <at> gmail.com> writes:

> ffmpeg -i 00030.MTS -an -vcodec png -r 50 -flags +ilme+ildct+mv4+aic
> -top 1 -qscale 1 -s 1920x1080 -sameq 00030%05d.png

(Complete, uncut output missing.)
-an, -vcodec, -flags, -qscale (?) and -s should be unneeded, I am not sure about
-top (does it make a difference?), -r 50 should be responsible for the
duplicated frames (and removing it may fix your second problem).


> ffmpeg -threads 2 -i %05d.png -i audio.aac -qscale 1 -vcodec mpeg4
> -acodec copy -minrate 0 -b 50000k -mbd 2 -trellis 2 -cmp 2 -subcmp 2
> -g 300 -r 50 -flags +ilme+ildct+mv4+aic -top 1 -f mp4 00030.mp4

I don't think -qscale and -b (now -vb) make sense in the same command line...

> ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the
> Libav developers

This is known to be _very_ buggy and is therefore unsupported.

Carl Eugen

More information about the ffmpeg-user mailing list