Page 1 of 1

Splitting a mp4 into 2 tracks on OS X 10.3.5

Posted: 25 Sep 2004 09:10
by stevendoyle
Hi!
I have a mp4 file which contains two video tracks. It plays back ok on a peecee with the envivo plugin (it was created by envivo). I can get it to play on VLC on my 10.3.5 G5, though I get a 'computer too slow' message. What i want to do is split the 2 tracks into separate files with the VLC command line. When I use this command :

./VLC --intf=rc /Users/steven/Documents/SAPIntroduction.MP4 --sout '#standard{access=file,url=/Users/steven/Desktop/test.mp4,mux=mp4}'

it works okish. I get a frame of video track one, then all of track 2(inc audio) which is now playable by Quicktime, but i've lost all the data from the other track. Is there away of splitting them into 2 tracks from the command line?

Cheers,

Steve

Posted: 26 Sep 2004 12:41
by Teetrinker
Try it with MP4Box ( http://gpac.sourceforge.net/ )
I am not sure if you can compile MP4Box on Mac OS X - but give it a try.

MP4Box -info yourfile.mp4

then:
MP4Box -single TrackID yourfile.mp4
MP4Box -single TrackID yourfile.mp4

MP4Box -merge audio.mp4 video1.mp4 out.mp4

Do the same with the second video track.