I have several videos that are uncompressed raw and the original mp4 container they were presumably compressed in. I am able to re-encode them back into h264/mp4 files but was wondering if it was possible to use the container settings as the source?
I know it's lossy and going to lose quality no matter what but could I just use the mp4 container as the source encoder settings and let ffmpeg encode them exactly as the originals were?
+ Reply to Thread
Results 1 to 2 of 2
-
-
ffmpeg can't "read settings" from a source file. You can try to guess/deduct the settings from the source using MediaInfo and stream analyzing software and from there set the encoding parameters but it is a manual process. If you are lucky the source was encoded with x264 and still has x264's custom SEI with the settings.
mis2x264 could be of help but it's for x264cli, not ffmpeg so you still need to do manual work.
Similar Threads
-
Converting an MP4 H264 to an uncompressed AVI ?
By opaldanielle in forum Video ConversionReplies: 4Last Post: 11th Jan 2016, 21:52 -
Having issues batch converting raw .264 cctv files with FFMPEG-
By raidecker22 in forum Video ConversionReplies: 11Last Post: 22nd Aug 2015, 14:58 -
Need to batch (or queue) convert raw h264 file to mp4
By dukestravels07 in forum Newbie / General discussionsReplies: 10Last Post: 29th Mar 2015, 11:45 -
FFMPEG: how to get uncompressed audio in a MP4 file?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 15th Feb 2015, 09:37 -
Problem Muxing Raw h264 and Raw AC3
By Malonn in forum Video ConversionReplies: 14Last Post: 29th Jan 2015, 15:21