Log in

View Full Version : YAMB merging multiple mp4 file videos


survivor_evil
14th December 2011, 13:40
Im trying to join 3 videos. All of them are encoded using the same settings for audio and video. I tried to merge them with YAMB but instead of getting a consecutive video I got an mp4 container with 3 different videos as tracks, same with the audio.

what am I doing wrong? is there other program able to do this without having to re encode the video? I dont want to lose more quality that I already lost encoding them the first time

sneaker_ger
14th December 2011, 14:26
You have to use use "Editing"->"Click to join supported files" in YAMB, not the "Creation" menu.

survivor_evil
15th December 2011, 02:13
You have to use use "Editing"->"Click to join supported files" in YAMB, not the "Creation" menu.

Yeah thats what i do but the result is like creating an mp4 file with multiple video tracks :confused:

sneaker_ger
15th December 2011, 02:54
Try demuxing, then joining the raw tracks. Also, post the log.

survivor_evil
15th December 2011, 09:55
Try demuxing, then joining the raw tracks. Also, post the log.

I did it like that and it didnt work...

Heres the log


[02:50:28] : Yamb 2.1.0.0 beta 2 started !!!
[02:50:28] : OS type detection...Windows Seven x86 (version 6.1, Build 7601 : Service Pack 1)
[02:50:28] : MP4Box found... C:\Users\Administrador\Desktop\yamb\mp4box\MP4Box.exe
[02:50:32] : Crysis 1 1_track1.h264 loaded....
[02:50:34] : crysis 1 2_track1.h264 loaded....
[02:50:36] : Creation of Crysis 1 1_track1.mp4...
[02:50:36] : Command Line used for Creation : "C:\Users\Administrador\Desktop\yamb\mp4box\MP4Box.exe" -force-cat -add "C:\Fraps\Movies\streams\Crysis 1 1_track1.h264:fps=30.000" -add "C:\Fraps\Movies\streams\crysis 1 2_track1.h264:fps=30.000" "C:\Fraps\Movies\streams\Crysis 1 1_track1.mp4"
[02:50:36] : File saved in C:\Fraps\Movies\streams\
[02:50:36] : Importing AVC Stream...
[02:50:37] : Importing AVC Stream...
[02:50:38] : File Writing...
[02:50:39] : Concatenation complete.
[02:50:39] : Total Time Elapsed...02 secs
[02:50:41] : Yamb 2.1.0.0 beta 2 closed.

sneaker_ger
15th December 2011, 13:28
Sometimes Yamb is beyond me...

Try either of the following:
mp4box -cat input1.mp4 -cat input2.mp4 output.mp4
mp4box -fps 30 -cat input1.h264 -cat input2.h264 output.mp4

Make sure to delete any existing "output.mp4" first, mp4box has the habit of not overwriting but instead adding to the existing file.