Hi there , I need to adding intro(which created in After effects, and encoded to mp4 format) to each video from list of 100+ videos(which also mp4 format)
I try it with the concat command of FFMPEG, but I always have problem with "Non-monotonous DTS errors" , I understand that maybe I should re-encode the files ,I try to re-encode by specifing same bit-rate sample-rate etc for the intro and the file but still having the same problem.I try different commands but nothing works fine , so I don't know what to do.
1. Could you please give me a command to re-encode both of them to mp4 and will work fine?
2. Is there any option to re-encode only one file, according to the other one settings? which command should I use?
files infos(for example):
file 1-
-----------
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\tests\vid\intro.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2016-05-16 07:38:50
Duration: 00:00:11.05, start: 0.000000, bitrate: 9247 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 848x480, 8941 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2016-05-16 07:38:50
handler_name : Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2016-05-16 07:38:50
handler_name : Alias Data Handler
file 2-
------------
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\tests\vid\vid.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.31.100
Duration: 00:05:37.97, start: 0.000000, bitrate: 2116 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 2052 kb/s, 29.97 fps, 29.97 tbr, 16k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 56 kb/s (default)
Metadata:
handler_name : SoundHandler
+ Reply to Thread
Results 1 to 7 of 7
-
-
-
File 1 appears to be Main Profile AVC with LC-AAC, file 2 instead Baseline AVC with HE-AAC. Furthermore, they have different resolutions (848x480 / 1280x720). Simply concatenating both will confuse players at the joint. At least one of them will have to be recoded to the attributes of the other.
-
-
AFAIK, no, you have to manually discover the attributes of one file and set up your video and audio encoders accordingly.
Why do you "need" an intro for so many different formats, anyway? Just for bragging ("I have made fire!") with ... let's say, "re-releases"?
Similar Threads
-
Batch script for removing/adding mkv covers
By piratikxd in forum ProgrammingReplies: 1Last Post: 6th Jun 2017, 08:47 -
Adding intro in to an MKV with MKV toolnix
By Nozem013 in forum EditingReplies: 5Last Post: 26th Sep 2015, 14:44 -
Adding intro/outro, hard coded subtitles, deinterlace, etc
By muffinman123 in forum EditingReplies: 64Last Post: 15th Aug 2014, 19:18 -
batch adding logo without reencoding the whole frame area
By dudinka in forum EditingReplies: 5Last Post: 5th Jun 2013, 16:15 -
Batch Ripper Help Needed
By RBCC in forum DVD RippingReplies: 1Last Post: 31st May 2013, 02:25