#7953: Support smpte2084 transfer function for hevc_videotoolbox and
h264_videotoolbox
----------------------------------+---------------------------------------
Reporter: Nomis101 | Type: enhancement
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Trying to encode 4k HDR videos in HandBrake with videotoolbox x264 or
x265, I'm seeing the following message:
[hevc_videotoolbox @ 0x7f9707b07000] Transfer function smpte2084 is not
supported.
OR
[h264_videotoolbox @ 0x7f9709149600] Transfer function smpte2084 is not
supported.
This is triggered from FFmpeg here
https://github.com/FFmpeg/FFmpeg/blob/98478c05edb674ec429c298fbe593bda493ba60f/libavcodec/videotoolboxenc.c#L931
It would be nice to add the transfer function smpte2084 to
videotoolboxenc.c, which has the constant name
kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ
https://developer.apple.com/documentation/corevideo/cvimagebuffer/image_buffer_transfer_function_constants?language=objc
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7953>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".