[FFmpeg-trac] #6492(undetermined:new): Intel QSV: "No device available for encoder" message is given

FFmpeg trac at avcodec.org
Tue Jun 27 01:28:28 EEST 2017


#6492: Intel QSV: "No device available for encoder" message is given
-------------------------------------+-------------------------------------
             Reporter:  alexpigment  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  qsv, quick   |               Resolution:
  sync, intel, h264_qsv              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by jkqxz):

 The warning is reflecting that ffmpeg isn't supplying an external device
 to libavcodec and therefore doesn't really know whether it will use
 hardware or not.  Depending on your setup, it may or may not find a device
 and use it by default.

 Supplying a device explicitly will always remove the warning.

 If your default setup is right (the case where it would probably have used
 hardware anyway), then you can just do:
 {{{
 -init_hw_device qsv:hw
 }}}
 or
 {{{
 -init_hw_device qsv:sw
 }}}
 (Try those and compare the speed to find out whether your original command
 used hardware or not.)

 In a trickier case you might want something like:
 {{{
 -init_hw_device vaapi:/dev/dri/renderD129 -init_hw_device qsv at vaapi0
 }}}
 in order to pick the right subdevice (this sort of case never worked by
 default).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6492#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list