Skip to content

Instantly share code, notes, and snippets.

@lovato
Last active December 29, 2015 06:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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.
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