[Libav-user] bug report: avcodec_decode_video2 & pthreads
Ben Mesander
ben at cardinalpeak.com
Mon Oct 13 20:33:39 CEST 2014
Also I should note the multithreaded decode of h.264 never fails. I have
only seen it for png files on "some" machines.
Regards,
Ben
On Oct 13, 2014 11:10 AM, "wm4" <nfxjfg at googlemail.com> wrote:
> On Mon, 13 Oct 2014 17:02:09 +0000 (UTC)
> Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>
> > Ben Mesander <ben at ...> writes:
> >
> > > If the underlying ffmpeg library is compiled withe
> > > --disable-pthreads the code always works correctly. If
> > > that is not the case, sometimes avcodec_decode_video2()
> > > returns the number of bytes in the PNG, but does not
> > > set the frame complete flag to true.
> >
> > The decoder (luckily!) supports multi-threading. If you
> > don't like it (you just have to call avcodec_decode_video2()
> > iirc), just set the thread count to 1 before opening the
> > decoder.
>
> Well, duh, he's reporting a bug with it, not that he doesn't like it.
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141013/3925d584/attachment.html>
More information about the Libav-user
mailing list