Created
November 22, 2015 21:27
-
-
Save williamcanin/54638a84b2fd1b6b508c to your computer and use it in GitHub Desktop.
Script shell (Linux) convert video. Dependencies: Mencoder.
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 | |
# Video | |
INPUT="input.mkv" | |
OUTPUT="output.mp4" | |
# Codecs | |
VIDEO="x264" | |
AUDIO="mp3lame" | |
# Start | |
mencoder $INPUT -o $OUTPUT -ovc $VIDEO -oac $AUDIO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment