I think those works, I see small difference between filter on and off Main line from this website https://digitensions.home.blog/2025/11/27/rescaling-video-with-ffmpeg/#Resca... but two lines that actually worked for me ffmpeg -i /dev/shm/icc-profile.mp4 -c:v v210 -color_primaries smpte431 -colorspace bt2020nc -color_trc bt2020_10bit -color_range tv -c:a copy -map 0 /dev/shm/out_file.mov ffmpeg -i /dev/shm/out_file.mov -c:v v210 -vf zscale=r=limited:m=2020_ncl:t=2020_10:p=smpte431:c=topleft,format=yuv422p10,scale=1920:-1:flags=lanczos -color_primaries smpte431 -colorspace bt2020nc -color_trc bt2020_10bit -color_range tv -c:a copy -map 0 /dev/shm/1out_file.mov otherwise I got code 3074: no path between colorspaces Error while filtering: Generic error in an external library Failed to inject frame into filter network: Generic error in an external library Error while processing the decoded data for stream #0:0 Conversion failed! icc-profile.mp4 file from https://vectronic.io/posts/ffmpeg-now-supports-icc-profiles-in-mp4/ but not sure if you can embed random profile this way, example was more about remuxing It seems iccdetect filter does not apply icc transformations, in commit it says other filters should do this job but no such filter exist in ffmpeg repo!
participants (1)
-
Andrew Randrianasulu