[FFmpeg-trac] #604(avcodec:new): Multithreaded ffmpeg decode with DXVA2 hangs

FFmpeg trac at avcodec.org
Wed Nov 2 19:41:52 CET 2011

#604: Multithreaded ffmpeg decode with DXVA2 hangs
             Reporter:  IMarshal    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by reimar):

 It is a bit unclear what exactly you consider the problem.
 Multithreaded decoding makes no sense to combine with hardware decode, so
 it is not supported.
 So the answer to you problem would be "just don't do that then".
 Now, I know that e.g. VideoLan has issues with this because they really
 want to decide on whether to use hardware decode or not after opening the
 This is supposed to work by the decoder automatically disabling threads
 when a hardware PIX_FMT is chosen.
 However that seems to be buggy, patches very much welcome. Since this kind
 of thing needs hardware _and_ an application other that FFmpeg to test it
 is rather a pain and the probability of any of the FFmpeg core developers
 fixing it on their own is a bit low I think.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/604#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list