Opened 21 months ago
Last modified 20 months ago
#10377 new defect
Intel QSV is broken in FFmpeg 6.0
Reported by: | MineCommander | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | 6.0 | Keywords: | qsv h264_qsv |
Cc: | MineCommander | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
Any QSV encoder/decoder cannot be used in FFmpeg 6.0, which is available in FFmpeg 5.1.2. I have tried reinstall driver, reset BIOS, switch video output GPU, etc., but the issue eventually seems to be on FFmpeg itself. Evidences exist that, for an instance, Shotcut, a video editor using FFmpeg as rendering core, is no longer able to export video using QSV hardware acceleration after updating to FFmpeg 6.0, while OBS still wokrs fine using QuickSync encoder.
How to reproduce:
Anything using h264_qsv as vcodec will fail with "Error creating a MFX session: -9." Example:
ffmpeg -i input.mkv -vcodec h264_qsv output.mp4
This command works fine on FFmpeg 5.1.2, however. Full log using both versions are attached.
System Info:
- OS: Windows 10 Pro 22H2 19045.2965
- CPU: Intel Core i3-4170
- GPUs: Nvidia GT 1030 (Primary, monitor connected), Intel HD Graphics 4400 (Secondary, only for video processing), both are enabled and well-drived
- Intel Driver Version: 20.19.15.5171
Attachments (2)
Change History (5)
by , 21 months ago
Attachment: | ffmpeg_6.0.log added |
---|
by , 21 months ago
Attachment: | ffmpeg_5.1.2.log added |
---|
comment:1 by , 21 months ago
Description: | modified (diff) |
---|
comment:2 by , 21 months ago
comment:3 by , 20 months ago
Hi
It is not broken but your cpu is not supported by ffmpeg 6.0
The latest version of ffmpeg uses oneVPL (libvpl) not Media SDK (libmfx) like in version 5.1.2.
These are APIs from intel used by ffmpeg to access hardware-accelerated video decode, encode and filtering on Intel® Gen graphics hardware platforms
the following link contains which cpus are supported by oneVPL and Media SDK
https://github.com/oneapi-src/oneVPL
You have to rebuild ffmpeg 6.0 again with option --enable-libmfx and not with --enable-libvpl in order to use it with Intel Core i3-4170
We only support git-master.