Created
January 16, 2016 15:28
-
-
Save NaanProphet/6ab663a118f9a7afb2ec to your computer and use it in GitHub Desktop.
YouTube mkvWrapper
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
#!/bin/bash | |
# mkvWrapper.sh | |
# helpful for rewrapping valid MOV exports from Compressor 4 into MKVs that can be batched to YouTube for faster processing | |
# USAGE | |
# sh mkvWrapper.sh "Compressor Export-MPEG4_HighQ to YT.mov" | |
# OUTPUT | |
# Compressor Export-MPEG4_HighQ to YT.mkv | |
filename="${1##*/}" | |
ffmpeg -sub_charenc MAC -i "${1}" -acodec copy -vcodec copy "${filename}.mkv" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment