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

FFmpeg trac at avcodec.org
Wed Apr 28 04:46:08 EEST 2021


#8995: overlay_qsv fails with "Inputs with different underlying QSV devices are
forbidden"
-------------------------------------+-------------------------------------
             Reporter:  sebseb7      |                    Owner:  (none)
                 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 wenbin,chen):

 there is another option to make cmd work:

 {{{
 ffmpeg -init_hw_device qsv -hwaccel_output_format nv12 -c:v h264_qsv -i
 in.mp4 -loop 1 -r 30 -i overlay.png -filter_complex
 '[0:v]hwupload=extra_hw_frames=64[temp];[1:v]hwupload=extra_hw_frames=64,format=qsv[ov];[temp][ov]overlay_qsv,format=nv12'
 -c:v h264_qsv -y out.mp4
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8995#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list