- Extract audio from movie:
ffmpeg -i test.MP4 -ac 2 -f wav test.wav
- Improve audio
- Replace the audio in the movie:
ffmpeg -i test.MP4 -i test-fixed.wav -acodec copy -vcodec copy -map 0:v:0 -map 1:a:0 test.mov
ffmpeg -i test.MP4 -ac 2 -f wav test.wav
ffmpeg -i test.MP4 -i test-fixed.wav -acodec copy -vcodec copy -map 0:v:0 -map 1:a:0 test.mov