[Libav-user] Frames are not visually lining up between my code and ffmpeg.exe
pkoshevoy at gmail.com
Wed Jun 27 05:26:20 CEST 2012
On 06/26/2012 01:11 PM, Simon Daniels wrote:
> Hi Michael -- after reading into things a bit more, I agree that it's risky
> what I'm doing. However, I only need about 3 frames per second so maybe
> waiting for a key frame isn't the end of the world...
> Is there a safer way? The decoding is extremely expensive so I only want to do
> it when I absolutely need to.
You can avoid decoding some frames by setting AVStream.codec->skip_frame flag.
More information about the Libav-user