#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
_______________________________________________ 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".