How to easily replace (faulty/wrong) audio in an video file without re-encoding the whole video? Using “copy” codec for video and -map option to use new audio:
1 2 3 4 |
avconv -i VIDEOwithAUDIO.mp4 -i AUDIO.wav \ -c:v copy -map 0:0 -map 1:0 \ -c:a libvo_aacenc -b:a 320k -ar 48000 -async 48000 \ VIDEOwithNEWaudio.mp4 |