Created
June 12, 2014 02:03
-
-
Save chrisknepper/e26ea1185821f3c122b7 to your computer and use it in GitHub Desktop.
Simple WebM Conversion with FFmpeg
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
#Converts a file named "input.mkv" to a webm file named "output.webm" | |
#The file will be a 20-second clip of "input.mkv," beginning at 201 seconds (3 minutes and 21 seconds) | |
#ffmpeg must be in your $PATH or you must be in the same directory as it | |
#On Windows, add ".exe" to "ffmpeg" | |
ffmpeg -ss 201 -t 20 -i input.mkv -qmin 10 -qmax 42 -f webm -threads 4 -vcodec libvpx -acodec libvorbis output.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment