[FFmpeg-trac] #7006(undetermined:new): Intel QSV: "QSV requires a fixed frame pool size" message is given

FFmpeg trac at avcodec.org
Tue Feb 6 04:37:41 EET 2018

#7006: Intel QSV: "QSV requires a fixed frame pool size" message is given
             Reporter:  JasonZhang   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  qsv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:
  When I use ffmpeg with h264_qsv encoder,it will result in a message that
 says"QSV requires a fixed frame pool size"

 [Parsed_overlay_qsv_2 @ 0x53e2080] Input[0] is of qsv.
 [auto_scaler_0 @ 0x53e5ac0] w:500 h:200 fmt:rgba sar:1/1 -> w:500 h:200
 fmt:nv12 sar:1/1 flags:0x4
 [hwupload @ 0x3f76440] Surface format is nv12.
 [AVHWFramesContext @ 0x4b31940] QSV requires a fixed frame pool size
 [AVHWFramesContext @ 0x4b31940] Error creating an internal frame pool
 [Parsed_hwupload_1 @ 0x53e1d00] Failed to configure output pad on
 [AVIOContext @ 0x3f7e8c0] Statistics: 42915 bytes read, 0 seeks
 Error reinitializing filters!
 Failed to inject frame into filter network: Invalid argument
 Error while processing the decoded data for stream #0:0
 [AVIOContext @ 0x3edd280] Statistics: 0 seeks, 0 writeouts
 [libfdk_aac @ 0x3f78c80] 2 frames left in the queue on closing
 [AVIOContext @ 0x3edab40] Statistics: 65536 bytes read, 0 seeks
 Conversion failed!

 How to reproduce:
 ./ffmpeg -hwaccel qsv -vcodec h264_qsv  -i "high_1280_720_120s.flv"  -vf
 "movie=test.png,hwupload [watermark]; [vf0][watermark]
 overlay_qsv=x=30:y=30[vf1]" -acodec  libfdk_aac  -ar 44100 out.mp4
 ffmpeg version N-89879-gf0320af(n3.5-dev)
 built on linux

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

More information about the FFmpeg-trac mailing list