[FFmpeg-trac] #7808(undetermined:new): overlay_qsv fails to create qsvvpp

FFmpeg trac at avcodec.org
Sat Mar 23 18:51:50 EET 2019

#7808: overlay_qsv  fails to create qsvvpp
             Reporter:  robijn        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.1
             Keywords:  overlay_qsv   |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
 "C:\Program Files\ffmpeg-4.1.1-win64-static\bin\ffmpeg.exe" -hwaccel qsv
 -init_hw_device qsv=hw -filter_hw_device hw -i "video1.ts" -i
 "watermark.png" -filter_complex "[0:v] format=nv12,
 hwupload=extra_hw_frames=80 [video]; [1:v] format=nv12,
 hwupload=extra_hw_frames=80 [watermark]; [video][watermark] overlay_qsv"
 -c:v h264_qsv -c:a aac  test.mp4

 results in:
 Stream mapping:
   Stream #0:0 (h264) -> format (graph 0)
   Stream #1:0 (png) -> format (graph 0)
   overlay_qsv (graph 0) -> Stream #0:0 (h264_qsv)
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [Parsed_overlay_qsv_4 @ 00000000061aa380] Failed to create a qsvvpp, ret =
 [Parsed_overlay_qsv_4 @ 00000000061aa380] Failed to configure output pad
 on Parsed_overlay_qsv_4
 Error reinitializing filters!
 Failed to inject frame into filter network: Error number -15 occurred
 Error while processing the decoded data for stream #1:0
 [aac @ 00000000063abb80] Qavg: 324.098
 [aac @ 00000000063abb80] 2 frames left in the queue on closing
 Conversion failed!

 4.1.1 Zeranoe build
 Windows 10 64-bit, i7-4770. I do manage do encode with QSV on this

 I have no idea what a qsvvpp is, or how I can make sure it can create an
 In general I have to say all hw accel stuff is rather complicated. Every
 codec does things differently, and ffmpeg cannot automatically arrange the
 hardware upload/download for the user.

Ticket URL: <https://trac.ffmpeg.org/ticket/7808>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list