-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: VA_RC_ICQ not available in VP9 encoder on DG2 #1742
Comments
Auto Created VSMGWL-70035 for further analysis. |
It seems VP9 missed to map VPL ICQ enum to vaapi ICQ at here... https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/_studio/mfx_lib/encode_hw/vp9/src/mfx_vp9_encode_hw_vaapi.cpp#L61 |
Any update on this? if we know what's needed to get ICQ mode working on VP9 (very important for my use case) any possibility this could be bumped to P1 as this same issue for AV1 was? VP9 has much broader compatibility vs AV1 for now, so I'd argue it's just as important. |
Hi @dsummer, here's the patch to fix the above issue in VPL RT intel/vpl-gpu-rt#317. But during my test, I also found some potential issues in media-driver or huc firmware. I can get the encoded bitstream but the quality factor does not actually take effect. Even if we got ICQ work for vp9, its quality will be another major concern. |
Hi @leyu-yao , thank you very much for preparing the fix. Could you lead me to the right place to report this issue so that maybe it will get fixed in the future. Considering switching to other Codecs:
|
As @danielsmakandra commented before me, VP9 support is the primary reason we've been evaluating Intel GPU as a possible transcoding platform, and what differentiates Intel GPU's from other options. AVC is more than 20 years old now, and HEVC is highly encumbered (see Broadcom v. Netflix). AV1 is clearly the future, but it will be years before a majority of the public has AV1 capable devices. VP9 is the way to go for online video that has to reach a large audience, and VP9 encode support is a standout feature that differentiates Intel GPUs from other hardware encode options. Not finishing the software when the hardware is done seems to me to be a big missed opportunity for Intel. I would strongly encourage folks @ Intel working on this to make ICQ support for VP9 P1.
|
Which component impacted?
Encode
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
--enable-libvpl
(versionN-112750-g6d60cc7baf
)sudo ffmpeg -v verbose -hwaccel qsv -hwaccel_output_format qsv -an -c:v h264_qsv -i ~/videos/V2023CW0079.mp4 -c:v vp9_qsv -global_quality 45 ~/output/V2023CW0079_icq.webm
I'm aware of #1597 and the corresponding patches but it only focused on AV1.
What's the usage scenario when you are seeing the problem?
Transcode for media delivery
What impacteded
We need to encode video to VP9 and want to use GPU encode to speed up the transcoding. But since file size/ bandwith is important we want the maximum quality for low file sizes. The ICQ Rate control mode should give us the best results but doesn't work.
We also can't use AV1 because the hardware decode support for AV1 is still not very broad.
Debug Information
vainfo -a
lists VA_RC_ICQ as available but it doesn't work with ffmpeg via vplThis is on an intel Arc A380 (DG2)
Do you want to contribute a patch to fix the issue?
None
The text was updated successfully, but these errors were encountered: