[FFmpeg-devel] Need help with threading issue (possible deadlock?)
Ronald S. Bultje
rsbultje at gmail.com
Mon Jul 13 13:57:24 CEST 2015
On Mon, Jul 13, 2015 at 7:15 AM, Donny Yang <work at kota.moe> wrote:
> On 13 July 2015 at 20:50, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> > Hi,
> > On Mon, Jul 13, 2015 at 4:26 AM, Donny Yang <work at kota.moe> wrote:
> > > Hello
> > >
> > > I'm trying to fix ffmpeg's APNG decoding for images with the PREVIOUS
> > > dispose op while trying to keep it multithreaded, but it seems to
> > deadlock
> > > whenever I use more that one thread.
> > How do I reproduce? ffmpeg -threads 2 -i test.apng -f null - works for
> > So does ffplay -threads 2 test.apng
> It hangs for me when I run: ffmpeg -threads 2 -i test.apng test_%02d.png
> Additionally, ffmpeg -threads 2 -i test.apng -f null - also hangs.
> Maybe it's due to system differences?
Can you run it in gdb and - when it hangs - press ctrl-c and run "thread
apply all bt"? We can also do some more interactive debugging on IRC.
More information about the ffmpeg-devel