Open github-wangyong opened 2 years ago
https://ark.intel.com/content/www/us/en/ark/products/212328/intel-celeron-processor-n5105-4m-cache-up-to-2-90-ghz.html - that's Jasperlake GPU.
You are trying to run in low power mode (-low_power 1) which requires HUC FW to be loaded and authenticated which I believe won't be the default case for the vanilla kernel for Jasperlake platform. HUC is loaded by default only starting from DG1 (even TGL won't load HUC by default).
You have 2 options:
-low_power 1
option or explicitly set it to 0:
./ffmpeg -v debug -vcodec h264_qsv -i chimei_1280x720_168sec.mp4 -c:v h264_qsv -low_power 0 out.mp4
i915.enable_guc=2
. You can either adjust grub or do the following. Either way, don't forget to reboot:
echo "options i915 enable_guc=2" >> /etc/modprobe.d/i915.conf
@dvrogozh, Thank you very much! Solve it by using ubuntu 22.04. Thank you very much!
@dvrogozh, Thank you very much! Solve it by using ubuntu 22.04. Thank you very much!
I got same error, but i can not pass by this issue. Can you give me some help?
@SaltFish001 : I listed available options in https://github.com/Intel-Media-SDK/MediaSDK/issues/2970#issuecomment-1205561199. Please, clarify which one you are trying to follow, on which CPU/GPU and what does not work?
@SaltFish001 : I listed available options in #2970 (comment). Please, clarify which one you are trying to follow, on which CPU/GPU and what does not work?
I've tried all the options。I still get thih s error。use N5105, build with ubuntu 22.04.1&ffmpeg5.0
(1) Question: I could not transcode (decode + encode) a h264 mp4 file at encode stage by using "-c:v h264_qsv". my transcode command: "./ffmpeg -v debug -vcodec h264_qsv -i chimei_1280x720_168sec.mp4 -c:v h264_qsv -low_power 1 out.mp4" it will report "Selected ratecontrol mode is unsupported"
(2) Preconditions: (2.1) os: ubuntu 20.04 64bits linux;
(3) ffmpeg (official 4.4 ver: "ffmpeg-4.4.tar.xz"): (3.1) ffmpeg compilation command: "./configure --prefix=/path/bin_ffmpeg --enable-static --disable-shared --enable-libdrm --enable-libx264 --enable-libmfx --enable-encoder=h264_qsv --enable-decoder=h264_qsv --enable-ffmpeg --enable-ffprobe --enable-ffplay --enable-sdl2 --enable-nonfree" (3.2) pkg-config: export PKG_CONFIG_PATH=/correct/corresponding/path/lib/pkgconfig/:$PKG_CONFIG_PATH (3.3) ld config path: export LD_LIBRARY_PATH=/correct/corresponding/path/lib/:$LD_LIBRARY_PATH (3.4) "ldd ./ffmpeg", "ldd ./ffprobe", "ldd ./ffplay" ok, "./ffplay in.mp4" (h264 + mp4) ok;
(4) issue: how to solve "Selected ratecontrol mode is unsupported"?