[FFmpeg-trac] #8995(undetermined:new): overlay_qsv fails with "Inputs with different underlying QSV devices are forbidden"

FFmpeg trac at avcodec.org
Wed Feb 3 04:52:54 EET 2021


#8995: overlay_qsv fails with "Inputs with different underlying QSV devices are
forbidden"
-------------------------------------+-------------------------------------
             Reporter:  sebseb7      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  qsv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by wenbinCHEN):

 you can try the following cmdline.

 {{{
 ffmpeg -hwaccel qsv -c:v h264_qsv -i in.mp4 -loop 1 -r 30 -hwaccel qsv
 -c:v mjpg_qsv -i overlay.jpg -filter_complex
 '[0:v][1:v]overlay_qsv,format=nv12' -c:v h264_qsv -y out.mp4
 }}}

 notice that you need to use mjpeg_qsv to transfer overlay.png to
 overlay.jpg first.

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


More information about the FFmpeg-trac mailing list