Created
April 6, 2011 22:38
-
-
Save elecnix/906694 to your computer and use it in GitHub Desktop.
Convert video to 720p HD
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
#!/bin/bash | |
# | |
# Scales down (or up) a video to 720p, re-encoding it as MPEG4. | |
# | |
# Useful as a Nautilus Script in Gnome. | |
# | |
# https://help.ubuntu.com/community/AndroidVideoEncoding#Expert mode: Using ffmpeg (command line) | |
ffmpeg -strict experimental -i "$1" -s 1280x720 -vcodec mpeg4 -b 3000k -acodec aac -ac 1 -ar 16000 -r 13 -ab 64000 "$1.shrinked.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment