Skip to content

Instantly share code, notes, and snippets.

@emilyhorsman
Last active September 16, 2015 22:52
Show Gist options
  • Save emilyhorsman/70ccb878c67574bf3c67 to your computer and use it in GitHub Desktop.
Save emilyhorsman/70ccb878c67574bf3c67 to your computer and use it in GitHub Desktop.
foobar
$ 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
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