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

高伟 highgod0401 at gmail.com
Mon Jun 25 03:31:43 CEST 2012

Thank you very much for your reply.

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.

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?


Best regards.

2012/6/24 Paul B Mahol <onemda at gmail.com>

> On 6/24/12, Roger Pack <rogerdpack2 at gmail.com> wrote:
> >> I'm studying ffmpeg.I have added dxva2 to ffmpeg.exe,and it can work
> well
> >> in one thread using dxva2 to decode h264
> >
> > apparently ffmpeg "already has dxva"?
> > http://ffmpeg.org/trac/ffmpeg/ticket/604
> > also I found the docu:
> Read this instead:
> https://ffmpeg.org/trac/ffmpeg/ticket/604
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list