Raw .h264 vid and .aac rejoining advice

Discussion in 'Digital Video' started by speakerwizard, Dec 19, 2007.

  1. speakerwizard macrumors 68000

    speakerwizard

    Joined:
    Aug 8, 2006
    Location:
    London
    #1
    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
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    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?
     
  3. speakerwizard thread starter macrumors 68000

    speakerwizard

    Joined:
    Aug 8, 2006
    Location:
    London
    #3
    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
     
  4. stomer macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #4
    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
     
  5. speakerwizard thread starter macrumors 68000

    speakerwizard

    Joined:
    Aug 8, 2006
    Location:
    London
    #5
    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?
     
  6. stomer macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #6
    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
    
     
  7. kintaro81 macrumors newbie

    kintaro81

    Joined:
    Oct 10, 2007
    #7
    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!
     

Share This Page