Closed uartie closed 5 years ago
Prior to the regressing commit, encode would succeed as long as ffmpeg is patched with https://patchwork.ffmpeg.org/patch/10639/
oops, I pasted wrong ffmpeg-qsv output in description initially. Updated.
@uartie Thanks for reporting the issue. Need to verify whether it shared the same root cause with libva-utils conformance tests, and the fix is under reviewing. Could you share the test suits to me, so that I can verify before commit to reduce the back and forth overhead for regression reporting and fixing. Thanks.
I got below error when running the command:
Device creation failed: -12. Failed to set value 'qsv=qsv:hw' for option 'init_hw_device': Cannot allocate memory
Are you using upstream https://ffmpeg.org/download.html#get-sources?
FYI, my software stack is:
libva (master) heads/master-0-gf0dfe5e762e7 https://github.com/01org/libva
gmmlib (master) heads/master-0-g3e602a84dccd https://github.com/intel/gmmlib
intel-media-driver (master) heads/master-0-gf746bb2bc98b https://github.com/intel/media-driver
msdk (master) heads/master-0-g3cf63e9144b3 https://github.com/Intel-Media-SDK/MediaSDK
ffmpeg (master) heads/master-0-g18fce29d8f1b https://git.ffmpeg.org/ffmpeg
My ffmpeg configure flags are:
--disable-static --enable-shared --enable-libdrm --enable-vaapi --enable-libmfx \
--disable-amf --disable-audiotoolbox --disable-cuda --disable-cuda-sdk --disable-cuvid \
--disable-d3d11va --disable-dxva2 --disable-libnpp --disable-mmal --disable-nvdec \
--disable-nvenc --disable-omx --disable-omx-rpi --disable-rkmpp --disable-v4l2-m2m \
--disable-vdpau --disable-videotoolbox --enable-nonfree --enable-gpl
managed to repro this issue using CNL, found the same root cause with libva-utils conformance tests, will check in soon.
3c55dfe3061e49a3507d50cf60dafe12583b506c reverts the regressing commit. Please reference issue numbers (e.g. #373) in commit messages. GitHub will automatically create link between issue and commit and makes it easier to see when activity occurs for specific issue.
For ffmpeg-qsv, all [M]JPEG encode pipeline commands fail since: