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

Simon Daniels simondaniels23 at gmail.com
Tue Jun 26 21:22:50 CEST 2012


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/53795d10/attachment.html>


More information about the Libav-user mailing list