Log in

View Full Version : concatenating go pro mp4s


a1s2d3f4
18th May 2012, 22:07
Hey, there,
I recorded a bunch of long videos with Go Pro. It splits them at roughly 4GB. So, every 34 minutes or so it creates a new file.

I want to put them together into a single long file.

Have been having no luck with
*avidemux 2.5.6; it adds garbage at the split points
*mp4box that comes with the latest Yamb 2.1.0; it seems to write out the file fine until it gets to the very end at which point it throws an unhandled exception, and even though I can see the 13GB "temp output file" in the explorer window, it's already slated for deletion, or something.

I probably should discuss the mp4box problem on the yamb 2.0 thread, but it seems no one is monitoring it anymore.

But this post is to do with any suggestion that works that concatenates Go Pro Mp4s without any glitches.

thanks


BTW, here is the copy of the Yamb.log


[16:20:26] : Yamb 2.1.0.0 beta 2 started !!!
[16:20:26] : OS type detection...Windows XP Professional x86 (version 5.1, Build 2600 : Service Pack 3)
[16:20:26] : MP4Box found... C:\programs-non-setup\Yamb2.0\Yamb\MP4Box.exe
[16:20:26] : Tagger found...C:\programs-non-setup\Yamb2.0\Yamb\MP4Box.exe
[16:20:26] : EAC3to found...c:\programs-non-setup\yamb2.0\yamb\eac3to\eac3to.exe
[16:20:51] : Tagging of...
[16:20:51] : Command Line used for Tagging : "C:\programs-non-setup\Yamb2.0\Yamb\MP4Box.exe" "" --overWrite
[16:20:51] : Tagging complete.
[16:20:51] : Total Time Elapsed...16 hours 20 min 51 secs
[16:21:24] : 20120517_1424-GOPR0042.MP4 loaded....
[16:21:24] : 20120517_1458-GO010042.MP4 loaded....
[16:21:24] : 20120517_1533-GO020042.MP4 loaded....
[16:21:24] : 20120517_1608-GO030042.MP4 loaded....
[16:21:35] : Creation of 20120517_1424-GOPR00422.mp4...
[16:21:35] : Command Line used for Creation : "C:\programs-non-setup\Yamb2.0\Yamb\MP4Box.exe" -keep-sys -force-cat -add "O:\20120517_1424-GOPR0042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1424-GOPR0042.MP4#2:name= GoPro AAC" -add "O:\20120517_1458-GO010042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1458-GO010042.MP4#2:name= GoPro AAC" -add "O:\20120517_1533-GO020042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1533-GO020042.MP4#2:name= GoPro AAC" -add "O:\20120517_1608-GO030042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1608-GO030042.MP4#2:name= GoPro AAC" "O:\20120517_1424-GOPR00422.mp4"
[16:21:35] : File saved in O:\
[16:21:37] : Importing ISO File...
[16:24:51] : Importing ISO File...
[16:25:25] : Importing ISO File...
[16:28:24] : Importing ISO File...
[16:29:44] : Importing ISO File...
[16:32:46] : Importing ISO File...
[16:34:04] : Importing ISO File...
[16:35:52] : Importing ISO File...
[16:48:22] : Concatenation complete.
[16:48:22] : Total Time Elapsed...26 min 46 secs
[16:48:34] : Yamb 2.1.0.0 beta 2 closed.

may24
18th May 2012, 22:46
Well did you try the latest mp4box build ? Not the one that gets shipped with Yamb !
Replace the old one with this -> link (http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/)

a1s2d3f4
18th May 2012, 22:52
Nope - will try - thanks.

a1s2d3f4
19th May 2012, 04:51
Ok, so after installing that GPAC thing from the link you gave I got the mp4box in it to process the command line above i.e.


"C:\program files\gpac\MP4Box.exe" -keep-sys -force-cat -add "O:\20120517_1424-GOPR0042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1424-GOPR0042.MP4#2:name= GoPro AAC" -add "O:\20120517_1458-GO010042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1458-GO010042.MP4#2:name= GoPro AAC" -add "O:\20120517_1533-GO020042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1533-GO020042.MP4#2:name= GoPro AAC" -add "O:\20120517_1608-GO030042.MP4#1:name= GoPro AVC:fps=29.970" -add "O:\20120517_1608-GO030042.MP4#2:name= GoPro AAC" "O:\output.mp4"


all the way to the end.

I get the 13GB file. But the way this thing does it, I don't get a 2 hour long usable file. It seems to create "8 different objects", according to Osmo4, which is to say, somehow all the video audio tracks are there, but not part of "the same track".
Any clues as to how I could fix my command line so that I get one seamless mp4?

tx

smok3
19th May 2012, 12:06
check http://forum.doom9.org/showthread.php?t=93240

a1s2d3f4
20th May 2012, 23:06
thanks: -add must be -cat. And I also decided to just do simply mp4box -cat <first mp4> -cat <second.mp4> etc.
Worked fine in my case.