Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

speakerwizard

macrumors 68000
Original poster
Aug 8, 2006
1,655
0
London
Hi guys. I extracted the raw h264 video and aac from an mkv but im not sure how to put them into a new container, quicktime/ffmpeg/vlc wont even open the h264 raw, any advise? thanks
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3B48b Safari/419.3)

iMovie?
 
no, its a bit more complex than that, i dont think there is a gui way of doing it on a mac :( just avidemux2_qt4 which is pretty tricky to use
 
You need to find yourself a copy of MP4Box.

Once you done that, then you:

1. Open Terminal.app
2. MP4Box -add video.264 -add audio.aac mynewvideo.mp4
 
Hey stomer, thanks for the help, though my terminal knowledge is rather useless, i downloaded mp4box, ran it but after [process complete] could not type in that terminal window so opened anouther and only got back "-bash: mp4box: command not found"

what am i doing wrong here?
 
Hey stomer, thanks for the help, though my terminal knowledge is rather useless, i downloaded mp4box, ran it but after [process complete] could not type in that terminal window so opened anouther and only got back "-bash: mp4box: command not found"

what am i doing wrong here?

Lets say you downloaded MP4Box to your Downloads folder and that your raw video/audio are in a folder called Work, which is within your home directory.

Then you would do the following:

Code:
cd ~/Downloads
chmod +x MP4Box
./MP4Box -add ~/Work/video.264 -add ~/Work/audio.aac  newvideofile.mp4
 
I'm trying this too with a .h264 video and .m4a audio extracted from a MKV container. (in the MKV container audio was .ac3 but I encoded to AAC Stereo with Mpeg StreamClip for X360 compatibility)

When I launch:
Code:
./MP4Box -add video1.h264:fps=23.976 -add audio2.m4a video.mp4

then processor go to 100% but nothing happens. This only with big files! With samples (~50MB) MP4Box run smootly.

p.s. sorry for my english :p

p.p.s. ...on Windows's with MP4Box.exe the same procedure run without problem... SGRUNT!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.