VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jun 2009
    Location
    South Africa
    Search Comp PM
    I'm converting an mkv file with h264 video and aac audio to a xvid .mp4 file to play back on my media drive, but i've run into a problem with mp4box.

    My Steps are as follows.

    1. Demux MKV using mkvextract
    2. Convert Audio AAC-WAV-MP3 Using FAAD & Lame
    3. Convert Video to Raw XVId Stream using ffmpeg/mencode
    4. Mux the Raw xvid video stram and mp3 audio to an mp4 container using MP4Box

    the problem I'm encountering is that mp4box just keeps building the temp iso file until the file size reaches the max file size for the os, for example my video file and audio file combined are 4.5gb, mp4box keeps building the mp4 file until it reaches more than 16gb.

    If I specify a length for the import using the %n flag in the input file name mp4box works but this causes the audio to drop out after the first few seconds.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Tried latest mp4box 0.4.6 beta/dev also?

    And you could also try mux using ffmpeg(ffmpeg -i videofile -i audiofile -vcodec copy -acodec copy new.mp4) or mp4muxer.
    Quote Quote  
  3. Member
    Join Date
    Jun 2009
    Location
    South Africa
    Search Comp PM
    I've tried a few different builds of mp4box, but not the beta yet, I'll try that.

    ffmpeg seems a little buggy when muxing to mp4 especially when there are b-frames in the video stream, but I can get past that by specifying 0 bframes when transcoding to xvid.

    I'll try mp4creator / mp4muxer
    Quote Quote  
  4. Member
    Join Date
    Jun 2009
    Location
    South Africa
    Search Comp PM
    Just a quick update, ffmpeg seems to work fine, I still need to test the mp4 file on my ,media player but it works fine in vlc.

    The beta of mp4box still continues to build a huge file regardless of the size of the input.

    mp4muxer does not seem to support mp3 sound properly and creates a non standard mp4 file that even vlc does not open.

    seems Im stuck using ffmpeg for muxing, which means I can not include chapters etc....
    Quote Quote  
  5. Member
    Join Date
    Jun 2009
    Location
    South Africa
    Search Comp PM
    Just an update to this, It seems to be a bug in mp4box when trying to mux raw xvid streams, when I use mpeg4 as the raw stream it works perfectly.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!