[FFmpeg-devel] Fwd: GSoC: APNG

Michael Niedermayer michaelni at gmx.at
Sun Mar 29 17:16:32 CEST 2015


On Sun, Mar 29, 2015 at 04:30:27AM +0000, Donny Yang wrote:
> On 29 March 2015 at 03:15, Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > you can try AVCodecContext->frame_number, if that doesnt work
> > you need to keep track of if you already had received a frame
> >
> I've tried both, but it turns out that AVCodecContext->frame_number seems
> to be thread-specific. That is, it starts with 0 for each thread rather
> than the actual frame number.
> One possible option is to disable threading support though...

APNG isnt intra only so threading will not be so easy once there is
non intra support in the encoder

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150329/4463aafb/attachment.asc>


More information about the ffmpeg-devel mailing list