Created
October 6, 2023 15:50
-
-
Save tech-andgar/6cdff6fa72e951e54932babc9a044e18 to your computer and use it in GitHub Desktop.
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
ffmpeg \ | |
-i input_video.mov \ | |
-i spa.m4a -i eng.m4a \ | |
-i spa.srt -i eng.srt \ | |
-map 0:v -map 1:a -map 2:a -map 3:s -map 4:s \ | |
-c:v copy -c:a:0 aac -c:a:1 aac -c:s mov_text -c:a copy \ | |
-metadata:s:s:0 language=spa -metadata:s:s:1 language=eng \ | |
-metadata:s:a:0 language=spa -metadata:s:a:1 language=eng \ | |
-y output_video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment