[FFmpeg-trac] #11309(undetermined:new): ffmpeg 7.1 fails to write color_primaries and color_trc
FFmpeg
trac at avcodec.org
Tue Nov 19 22:05:47 EET 2024
#11309: ffmpeg 7.1 fails to write color_primaries and color_trc
-------------------------------------+-------------------------------------
Reporter: wywh | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: 7.1 | Resolution:
Keywords: | Blocked By:
color_primaries color_trc |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by jeeb):
In general please test with the latest master build from f.ex. Btbn's
publicly automated builds (although I don't think he has macOS builds @
https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest ). In this case
I tested with current master.
This seems to be a general issue regarding when/where these global options
get applied, as you can see that the output definition no longer has these
color values and if you test other encoders that have color value support
you will see those also not writing things out. A workaround for now is to
utilize the filter chain to set the required value overrides, as starting
with FFmpeg 4.4 the first frame from the filter chain gets automatically
utilized for color related configuration. Example: `-vf
setparams=colorspace=bt709:color_trc=bt709:color_primaries=bt709`. Help
for the filter can be listed with `ffmpeg -h filter=setparams`.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11309#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list