Interesting. There was a difference of 30 between the frames that ffmpeg.exe output and the result of ->nb_frames.<div><br></div><div>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)</div>
<div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 12:15 PM, Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Simon Daniels <simondaniels23@...> writes:<br>
<br>
> frame=    1 fps=0.1 q=6.4 Lq=24.8 size=       0kB time=00:00:00.03<br>
> bitrate=   0.0kbits/s dup=30 drop=0<br>
<br>
</div>I do not completely understand the output (may be a Windows problem),<br>
but I suspect if you get "dup=30" away, you should be "lined up".<br>
Try -vsync 0 or add -r 25 (or similar) as an output option.<br>
<span class="HOEnZb"><font color="#888888"><br>
Carl Eugen<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>