Created
August 20, 2020 14:27
-
-
Save waruqi/aeb4df8ae1a382f886f6d70e28d733fb to your computer and use it in GitHub Desktop.
Extract and merge audio/video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# extract audio | |
ffmpeg -i input.mov -f mp3 audio.mp3 | |
# merge audio | |
ffmpeg -i input.mov -i audio2.mp3 -c:v copy -c:a aac -strict experimental -map 0:v:0 -map 1:a:0 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment