IH cats
I wonder can I re-encode a MP4 changing the colormatrix fron 601 to 709 in vcodec copy? No? however is there a way to tell to ffmpeg that, in case of transcoding, that it have to change only the colormatrix and preserve all the video part as is?
thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
1. You can change the colormatrix flag but not content using a special ffmpeg build without re-encoding. But it is a bit buggy and not developed anymore.
https://forum.doom9.org/showthread.php?t=152419
2.
ffmpeg -i "input" -vf scale=in_color_matrix=bt601:out_color_matrix=bt709 -colorspace bt709 -c:v libx264 -crf 18 -preset medium -c:a copy "output.mp4"
See:
https://ffmpeg.org/ffmpeg-filters.html#scale
https://ffmpeg.org/ffmpeg-filters.html#colormatrix
https://trac.ffmpeg.org/wiki/colorspace
http://video.stackexchange.com/questions/16840/ffmpeg-explicitly-tag-h-264-as-bt-601-r...ng-unspecifiedLast edited by sneaker; 10th Mar 2017 at 04:16.
Similar Threads
-
FFMPEG: how to encode audio for a target duration?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 3rd Apr 2016, 00:08 -
Problem Changing Framerate with ffmpeg
By arshadsheikh.in in forum Newbie / General discussionsReplies: 1Last Post: 17th Jan 2014, 04:00 -
Is there a way to encode in Matrox M701 with FFMPEG?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 19th Nov 2013, 08:51 -
set FFMPEG so it encode all but without the first 10 frames
By marcorocchini in forum Newbie / General discussionsReplies: 33Last Post: 26th Oct 2013, 20:08 -
[PART.SOLVED] Changing the pixel aspect ratio + cropping without re-encode
By falco2000 in forum Video ConversionReplies: 14Last Post: 26th Mar 2013, 10:51