[Libav-user] Frames are not visually lining up between my code and ffmpeg.exe

Simon Daniels simondaniels23 at gmail.com
Tue Jun 26 21:57:24 CEST 2012


I've confirmed this does seem to be a regression.

https://dl.dropbox.com/u/28441949/0.8.3.results.zip
https://dl.dropbox.com/u/28441949/0.11.1.results.zip

I ran the same code with the same video on ffmpeg 0.8.3 and 0.11.1 and you
can see the thumbnails generated are not the same. #281 in 0.11.1 lines up
with #221 in 0.8.3.



On Tue, Jun 26, 2012 at 12:22 PM, Simon Daniels <simondaniels23 at gmail.com>wrote:

> Interesting. There was a difference of 30 between the frames that
> ffmpeg.exe output and the result of ->nb_frames.
>
> Sure enough, ffmpeg.exe with -vsync 0 output 480 frames instead of 510. So
> now how do I get my code's output to match ffmpeg.exe's output? (and
> hopefully skip frames in the process)
>
>
>
>
> On Tue, Jun 26, 2012 at 12:15 PM, Carl Eugen Hoyos <cehoyos at ag.or.at>wrote:
>
>> Simon Daniels <simondaniels23 at ...> writes:
>>
>> > frame=    1 fps=0.1 q=6.4 Lq=24.8 size=       0kB time=00:00:00.03
>> > bitrate=   0.0kbits/s dup=30 drop=0
>>
>> I do not completely understand the output (may be a Windows problem),
>> but I suspect if you get "dup=30" away, you should be "lined up".
>> Try -vsync 0 or add -r 25 (or similar) as an output option.
>>
>> Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120626/96118210/attachment.html>


More information about the Libav-user mailing list