VideoHelp Forum
+ 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  
Visit our sponsor! Try DVDFab and backup Blu-rays!