VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. hi,

    i have a video file whose extension is MP4.
    The video codec is H264
    The audio codec is MP2


    i wish to rencode the audio part ONLY without touching/recoding the video part.

    how can i do that ?
    i am familliar with MKVtoolNix but it only works on .MKV file where you can add/extract audio track how we went.

    is there any MP4toolNix alike software to do that ?

    thanks for help or advice

    Best Regards

    Mike
    Quote Quote  
  2. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    XmediaRecode. Set Video= copy and Audio= re-encode.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  3. Originally Posted by racer-x View Post
    XmediaRecode. Set Video= copy and Audio= re-encode.
    thank, i will give it a try !
    Quote Quote  
  4. Member
    Join Date
    Mar 2011
    Location
    Nova Scotia, Canada
    Search Comp PM
    Avidemux will work too. Set video to copy and audio to whatever.
    Quote Quote  
  5. And yet another options: MediaCoder. Besides doing a Copy for the video part you can disable it altogether just making an audio track.
    Quote Quote  
  6. Member
    Join Date
    Aug 2015
    Location
    South Africa
    Search PM
    mp4box. It's a little more complicated because there is no UI, it's a cmd tool.

    Here's an e.g. on how to extract an audio track from .mp4
    But first you need to know the index of the track if you want to extract it.
    In mp4, index starts from 1 but in mkv it starts at 0 (Just a by the way).
    Also you need to know the codec to know it's extension, Download MediaInfo, it's awesome.

    mp4box infile -raw trackid:output="outfile.*"

    As for encoding, search for audiocoder. I used it in the past, I'm not sure of the programs current state though.

    To add back to mp4 file (I recommend you create a duplicate cause this is permanent, in case you make a mistake):
    mp4box file -rem trackid -add "file":name=""

    Good luck !!
    Last edited by Shaylen; 23rd Feb 2016 at 06:13.
    Quote Quote  



Similar Threads

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