[FFmpeg-trac] #7030(avcodec:open): qsv in ffmpeg

FFmpeg trac at avcodec.org
Tue Sep 3 04:26:23 EEST 2019

#7030: qsv in ffmpeg
             Reporter:  palich2000   |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  qsv          |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Changes (by fulinjie):

 * cc: linjie.fu@… (added)


 Double confirmed that it works on windows and this issue occurs on linux
 only in ffmpeg qsv decode, and could be reproducde with any

 And this issue could be split into two parts:
 1. which part introduces this regression?
 2. why it works on windows but fails on linux?

 This error may be relevant with FactoryCORE::CreateCORE and
 On Linux, the created CORE is used in
 MFXVideoDECODE_Init/MFX_Utility::CheckVideoParam without calling

 However, Application shall call SetHandle on Linux, but it wasn't called
 in Linux pipeline currently after FactoryCORE::CreateCORE was called.(in
 MFXInit() inside ff_qsv_process_data)

 2.And the reason it works for windows may be:
 "On the past we intentionally didn't implement initialization of vaDisplay
 inside MSDK library on Linux because on Linux there were many back-
 ends(X11, Wayland, headless drm, etc) and that time we didn't want to
 bring this logic inside MediaSDK."


Ticket URL: <https://trac.ffmpeg.org/ticket/7030#comment:22>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list