[FFmpeg-trac] #7120(avcodec:new): Intel QSV: "QSV requires a fixed frame pool size" message is given on encoder initialization failure
FFmpeg
trac at avcodec.org
Tue Apr 3 12:24:11 EEST 2018
#7120: Intel QSV: "QSV requires a fixed frame pool size" message is given on
encoder initialization failure
-------------------------------------+-------------------------------------
Reporter: Brainiarc7 | Type: defect
Status: new | Priority: normal
Component: avcodec | Version:
Keywords: qsv | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Summary of the bug:
Initializing the h264_qsv encoder halts with the error above.
'''How to reproduce:'''
Using a sample from the Jellyfish UHD clip collection, I ran FFmpeg as
shown:
{{{
ffmpeg -stream_loop -1 -loglevel debug -threads 4 -init_hw_device
qsv=qsv:MFX_IMPL_hw_any -hwaccel qsv -filter_hw_device qsv -i
~/samples/jellyfish-40-mbps-hd-h264.mkv -vf
'format=nv12,hwupload,scale_qsv=1920:1080' -b:v 1000k -c:v h264_qsv -rdo 1
-pic_timing_sei 1 -recovery_point_sei 1 -profile:v high -aud 1 -f matroska
-y ~/test_output/hammer.mkv
}}}
'''Output:'''
'''Platform information:'''
1. FFmpeg version:
{{{
ffmpeg -version
ffmpeg version N-90590-g197a4e8fee Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration: --pkg-config-flags=--static --prefix=/home/bob/bin
--bindir=/home/bob/bin --extra-cflags=-I/home/bob/bin/include --extra-
ldflags=-L/home/bob/bin/lib --extra-cflags=-I/opt/intel/mediasdk/include
--extra-ldflags=-L/opt/intel/mediasdk/lib --extra-
ldflags=-L/opt/intel/mediasdk/plugins --enable-libmfx --enable-vaapi
--disable-debug --enable-libvorbis --enable-libvpx --enable-libdrm
--enable-gpl --cpu=native --enable-libfdk-aac --enable-libx264 --enable-
libx265 --extra-libs=-lpthread --enable-nonfree
libavutil 56. 12.100 / 56. 12.100
libavcodec 58. 17.100 / 58. 17.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 14.100 / 7. 14.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
}}}
2. FFmpeg build configuration:
{{{
configuration:
--pkg-config-flags=--static
--prefix=/home/bob/bin
--bindir=/home/bob/bin
--extra-cflags=-I/home/bob/bin/include
--extra-ldflags=-L/home/bob/bin/lib
--extra-cflags=-I/opt/intel/mediasdk/include
--extra-ldflags=-L/opt/intel/mediasdk/lib
--extra-ldflags=-L/opt/intel/mediasdk/plugins
--enable-libmfx
--enable-vaapi
--disable-debug
--enable-libvorbis
--enable-libvpx
--enable-libdrm
--enable-gpl
--cpu=native
--enable-libfdk-aac
--enable-libx264
--enable-libx265
--extra-libs=-lpthread
--enable-nonfree
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7120>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list