[FFmpeg-user] Hi, I want to ask a question about ffmpeg using dxva2 with multithreads

Roger Pack rogerdpack2 at gmail.com
Mon Jun 25 15:59:52 CEST 2012


> Yes, I have modify the code in my test project.Added load dxva2 and use
> dxva2 to decode h264.Rescently, I added a thread to use dxva2 decode h264.
> Primary thread do the encode work,and it just get the decoded frame,the
> decode work has given to dxva2 thread.Then they can work paiallely,and the
> speed is faster on my computer.

Maybe you can submit your patch sometime, so the rest of us can get a
speed boost as well :)

> But now I have a question.
> If I use this mode,sometimes,the ffmpeg.exe drop 1 frames
>
> Do you have any ideas where it gose wrong?

It only drops them with your multi thread patch, not otherwise?
Also maybe the VLC developers might have some insight...
-r


More information about the ffmpeg-user mailing list