[FFmpeg-trac] #6132(avfilter:open): SMPTE 2084 support in colorspace filter

FFmpeg trac at avcodec.org
Mon Dec 11 06:18:41 EET 2023


#6132: SMPTE 2084 support in colorspace filter
-------------------------------------+------------------------------------
             Reporter:  sdot         |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Comment (by mjbrown):

 It seems the FFmpeg build in Handbrake
 [https://github.com/HandBrake/HandBrake/pull/2238/commits/527c189b5d4744cb37c866756c1bdfc021ca2946
 was patched in 2019 to allow smpte2084 input]. If this is a reasonable
 fix, could someone work on getting it ported back into mainline FFmpeg?

 FWIW, what I want to facilitate is converting UHD HDR content from Blu-
 Ray—i.e., {{{yuv420p10le(tv, bt2020nc/bt2020/smpte2084)}}}—to 8-bit 1080p
 for less-capable devices—i.e.,  {{{yuv420p(tv, bt709, progressive)}}}—via
 {{{-pix_fmt yuv420p -vf
 "colorspace=all=bt709:fast=0,scale=1920:-2:flags=lanczos"}}}. I realize a
 common workaround is to build with zlib and use the {{{zscale}}} filter,
 but I don't see any reason {{{colorspace}}} shouldn't also work.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/6132#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list