[FFmpeg-user] Requesting colormatrix advice

markfilipak.imdb at gmail.com markfilipak.imdb at gmail.com
Tue Nov 7 16:08:43 EET 2023


On 11/7/23 08:39, Paul B Mahol wrote:
> On Tue, Nov 7, 2023 at 2:22 PM <markfilipak.imdb at gmail.com> wrote:
> 
>> On 11/7/23 06:55, Phil Rhodes via ffmpeg-user wrote:
>>>    On Tuesday, 7 November 2023 at 11:48:24 GMT, <
>> markfilipak.imdb at gmail.com> wrote:
>>>
>>>>    I think it sets the color tags on the _input_
>>> I'm not so sure ...
>>
>> I tried it. The saturation was still there.
>>
>> What exactly you tried?

set ARGS=-map 0:v -map 0:a:1 -map 0:a:0 -vf 
setparams=range=tv:color_primaries=smpte170m:color_trc=smpte170m:colorspace=smpte170m,separatefields,setdar=16/9 
-c:v libx265 -x265-params crf=18 -c:a copy
ffmpeg -ss 10:37.846 -to 11:09.335 -i "%SOURCE%" %ARGS% "%TARGET%"

It seems to me that if 'setparams' is marking tags in the SOURCE instead of the encoder, it would 
not be in '-vf' and would not require transcoding. It would be a '-bsf:v'. So, I don't know what 
'setparams' does. Apparently nothing.



More information about the ffmpeg-user mailing list