View Full Version : Raw .h264 vid and .aac rejoining advice
speakerwizard
Dec 19, 2007, 03:03 PM
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
dejo
Dec 19, 2007, 03:25 PM
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?
speakerwizard
Dec 19, 2007, 03:48 PM
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
stomer
Dec 19, 2007, 07:19 PM
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
speakerwizard
Dec 19, 2007, 07:49 PM
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?
stomer
Dec 20, 2007, 03:18 AM
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:
cd ~/Downloads
chmod +x MP4Box
./MP4Box -add ~/Work/video.264 -add ~/Work/audio.aac newvideofile.mp4
kintaro81
Jan 9, 2008, 03:35 PM
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:
./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!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.