Created
September 3, 2020 09:37
-
-
Save yudenzel/fb977a49cc9b500ec788393fd235cc61 to your computer and use it in GitHub Desktop.
Bash script to merge audio and video only files to one single file.
This file contains hidden or 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
#!/usr/bin/env bash | |
if [[ $# -eq 3 ]]; then | |
echo ffmpeg -i "${1}" -i "${2}" -c:a copy -c:v copy "${3}" | |
ffmpeg -i "${1}" -i "${2}" -c:a copy -c:v copy "${3}" | |
else | |
echo "unexpected number or arguments, 3 is expected."; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment