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

Lionel Trésaugues lionel.tresaugues at gmail.com
Mon Nov 21 23:20:08 CET 2011


On 11/18/2011 11:48 PM, Carl Eugen Hoyos wrote:
> 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).
>
> [...]

This problem came from a confusion in the format used by my camcorder. 
Actually, replacing -r 50 by -r 25 solved the problem. No more duplicates.
>> 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...
For this step, replacing -r 50 by -r 25 solved the problem too.
>> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Thank you for your advice, I have now update to version 
0.8.6-4:0.8.6-0ubuntu1~jon1.

Regards

/lionel


More information about the ffmpeg-user mailing list