Skip to content
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

[Feature]: support MFX_EXTBUFF_MASTERING_DISPLAY_COLOUR_VOLUME and MFX_EXTBUFF_CONTENT_LIGHT_LEVEL_INFO in AV1 decode and encode #283

Open
xhaihao opened this issue Apr 26, 2023 · 5 comments
Assignees
Labels
Feature Request Request a feature or enhancement VP Video Processing

Comments

@xhaihao
Copy link
Contributor

xhaihao commented Apr 26, 2023

What Feature?

User may use MFX_EXTBUFF_MASTERING_DISPLAY_COLOUR_VOLUME and MFX_EXTBUFF_CONTENT_LIGHT_LEVEL_INFO to fetch / pass HDR parameters from / to oneVPL for hevc, we expect they can work for av1 too.

What's the usage scenario would be benifited?

Transcode for media delivery, Playback

What impacted?

No response

Do you want to contribute a patch to develop this feature?

None

@xhaihao xhaihao added the Feature Request Request a feature or enhancement label Apr 26, 2023
@Sherry-Lin Sherry-Lin assigned FurongZhang and unassigned yefeizhou Apr 26, 2023
@Sherry-Lin Sherry-Lin added the VP Video Processing label Apr 26, 2023
@intel-mediadev
Copy link
Contributor

Auto Created VSMGWL-64006 for further analysis.

@xhaihao
Copy link
Contributor Author

xhaihao commented Aug 15, 2023

@FurongZhang The link provided by you is for encoding only, we can't fetch hdr metadata via MFX_EXTBUFF_MASTERING_DISPLAY_COLOUR_VOLUME and MFX_EXTBUFF_CONTENT_LIGHT_LEVEL_INFO for av1 decoding. This works for hevc decoding (see https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp)

@nyanmisaka
Copy link

@FurongZhang The link provided by you is for encoding only, we can't fetch hdr metadata via MFX_EXTBUFF_MASTERING_DISPLAY_COLOUR_VOLUME and MFX_EXTBUFF_CONTENT_LIGHT_LEVEL_INFO for av1 decoding. This works for hevc decoding (see https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp)

The recent commit 0d0ba3c should have fix it. Then this PR for ffmpeg can continue.

@FurongZhang
Copy link
Contributor

@nyanmisaka , thank you for the information. I knew that.

@FurongZhang FurongZhang added Question/Discussion Issue: raise a question or start a discussion and removed Question/Discussion Issue: raise a question or start a discussion labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request a feature or enhancement VP Video Processing
Projects
None yet
Development

No branches or pull requests

6 participants