Last active
August 30, 2018 16:21
-
-
Save KonradIT/b78ec1015b7950f24d91 to your computer and use it in GitHub Desktop.
SuperView
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 | |
function video() { | |
ffmpeg -i $1 -sameq -qscale 0.1 -vcodec copy -loglevel quiet -aspect 16:9 $2; | |
echo "DONE" | |
exit | |
} | |
function all() { | |
for vid in *.MP4 | |
do name=`echo $vid | cut -d'.' -f1`; | |
ffmpeg -i $vid -sameq -qscale 0.1 -vcodec copy -loglevel quiet -aspect 16:9 $name-superview.MP4; | |
done | |
echo "DONE" | |
exit | |
} | |
$@ | |
echo "convert 1440p or 960p videos from hero3 black to 1080p or 720p superview hero3+black videos" | |
echo "1440p is 1080p superview (HERO3 Black)" | |
echo "960p is 720p superview (HERO2, HERO3 Silver / White, HERO3+ Silver)" | |
echo "To use it, you run: superview video [input 1440p or 960p video] [output video]" | |
echo "Or run: superview all to convert all gopro videos into superview videos" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment