VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Jul 2014
    Location
    Indonesia
    Search Comp PM
    Hello guys, I got a mp4 video with broken audio. So I asked my friend to give me a good audio. He sends me aac file.

    Now, how do I replace the broken audio in mp4 with the new one aac file?

    I have ffmpeg and can work with ffmpeg script.

    Thanks
    Quote Quote  
  2. Originally Posted by morsh View Post
    Hello guys, I got a mp4 video with broken audio. So I asked my friend to give me a good audio. He sends me aac file.

    Now, how do I replace the broken audio in mp4 with the new one aac file?

    I have ffmpeg and can work with ffmpeg script.

    Thanks

    Code:
    ffmpeg -i input.mp4 -i input.aac -map 0:0 -map 1:0 -c:v copy -c:a copy output.mp4
    Quote Quote  
  3. Member
    Join Date
    Jul 2014
    Location
    Indonesia
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Originally Posted by morsh View Post
    Hello guys, I got a mp4 video with broken audio. So I asked my friend to give me a good audio. He sends me aac file.

    Now, how do I replace the broken audio in mp4 with the new one aac file?

    I have ffmpeg and can work with ffmpeg script.

    Thanks

    Code:
    ffmpeg -i input.mp4 -i input.aac -map 0:0 -map 1:0 -c:v copy -c:a copy output.mp4
    Thank you
    Quote Quote