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

FFmpeg trac at avcodec.org
Thu Nov 3 19:17:28 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):

 > I am still surprised that this problem does not hit vlc users.

 VLC developers have experienced the problem, I talked about it at the VLC
 dev conference.
 I think some fixes were made, but I am not sure it fixed everything (I
 assume you are using latest git to test?).

 > mplayer -vc ffh264vdpau -lavdopts threads=8 also works fine.

 VDPAU uses a separate codec that ignores threads from the start. The
 problem is disabling threading once the PIX_FMT is selected.
 In addition I expect it is only an issue with frame multithreading,
 otherwise you might be able to test with mplayer XvMC...

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

More information about the FFmpeg-trac mailing list