Last active
December 29, 2015 06:19
-
-
Save lovato/7628523 to your computer and use it in GitHub Desktop.
Script used to convert any video to a AVC AAC Roku compatible format.
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
echo Video4Roku Converter 1.0 by @maglovato | |
echo -------------------------------------- | |
filename=$(basename "$1") | |
extension="${filename##*.}" | |
filename="${filename%.*}" | |
#avconv -i "$1" -c:v libx264 -c:a libvo_aacenc "/tmp/$filename.mp4" | |
avconv -i "$1" -c:v libx264 -c:a aac -strict experimental "/tmp/$filename.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment