#11107: Enhancement Request: Improve VAAPI Color Type Detection for HDR Content
-------------------------------------+-------------------------------------
             Reporter:  Peyton Lee   |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  important
            Component:  avfilter     |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 **Summary:**
 I am encountering an issue where HDR content is being incorrectly detected
 as BT.709 color type when using VAAPI filter (scale_vaapi). I believe that
 the color type detection for VAAPI needs to be enhanced to properly handle
 HDR content.


 **Description:**
 While trying to play an HDR video using FFmpeg with VAAPI, the color type
 is mistakenly identified as BT.709 instead of the correct HDR color type
 (e.g., BT.2020).

 Specifically, in my test video:
 - Color Primaries = 9 (BT.2020)
 - Color Transfer = 16 (SMPTE2084)
 - Color Space = 1 (BT.709)

 In the function `vaapi_vpp_fill_colour_standard`, the best format is
 determined as BT.709. I believe the logic in this function should be
 enhanced to better handle such cases.

 **Suggested Enhancement:**
 Enhance the color type detection logic in the VAAPI module to correctly
 identify HDR color types. For example, additional checks of the transfer
 function (SMPTE2084 is often used in HDR content) to ensure accurate color
 type recognition for HDR content, especially in the
 `vaapi_vpp_fill_colour_standard` function.

 Thank you for considering this request.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11107>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to