[FFmpeg-trac] #11541(avfilter:new): Better warning for silently skipped color primaries meddling?

FFmpeg trac at avcodec.org
Tue Apr 8 10:00:25 EEST 2025


#11541: Better warning for silently skipped color primaries meddling?
-------------------------------------+-------------------------------------
             Reporter:  fmnijk       |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  color_primaries                    |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Comment (by fmnijk):

 Here's what I found after analyzing the debug logs with both libx264 and
 av1_nvenc encoders using BT.2020:

 1. **libx264 Encoder (Works Correctly)**:
    - The scale filter selects `yuv444p10le` pixel format: `picking
 yuv444p10le out of 15 ref:gbrapf16le alpha:1`
    - Properly applies BT.2020 color space: `yuv444p10le(tv,
 bt2020nc/unknown/linear, progressive)`
    - Output maintains correct color space: `color_space: "bt2020nc"`

 2. **av1_nvenc Encoder (Problem)**:
    - The scale filter selects `rgba` pixel format: `picking rgba out of 17
 ref:gbrapf16le alpha:1`
    - No color space applied: `rgba(pc, gbr/unknown/linear, progressive)`
    - Final output has incorrect color space: `color_space: "bt470bg"`
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11541#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list