[Libav-user] any way to interrupt avcodec_decode_video2 ?
Don Moir
donmoir at comcast.net
Wed Jan 1 17:14:36 CET 2014
----- Original Message -----
From: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
To: <libav-user at ffmpeg.org>
Sent: Wednesday, January 01, 2014 10:53 AM
Subject: Re: [Libav-user]any way to interrupt avcodec_decode_video2 ?
> Don Moir <donmoir at ...> writes:
>
>> A simple seek to zero is quick, but if I have to wait on
>> avcodec_decode_video2 to return, then its slower and can
>> be quite slow.
>
> Yes, this is exactly what CODEC_FLAG2_SHOW_ALL is for.
>
> Carl Eugen
CODEC_FLAG2_SHOW_ALL ///< Show all frames before the first keyframe
So show garbage? What does that have to do with how fast avcodec_decode_video2 returns?
It's not about getting a finished frame.
More information about the Libav-user
mailing list