Last active
September 16, 2015 22:52
-
-
Save emilyhorsman/70ccb878c67574bf3c67 to your computer and use it in GitHub Desktop.
foobar
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
$ ffmpeg -i video.mp4 -c:v libx264 -ss 00:00:00.000 -t 18 -r 15 -b:v 700K video2.mp4 | |
$ ffmpeg -i video.mp4 -c:v libvpx -filter:v scale=720:-1 -ss 00:00:00.000 -t 18 -crf 10 -b:v 700K -c:a libvorbis video.webm |
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
class Hash | |
def symbolize_keys | |
return self.inject({}) { |memo, (k, v)| memo[k.downcase.to_sym] = v; memo } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment