$ ffmpeg -i source.mp4 -vf fps=fps=15,scale=480:-1 -b:v 450k -b:a 50k out.mp4
-vf scale
: https://ffmpeg.org/ffmpeg-filters.html#scale
# | |
# ghq-fzf.zsh | |
# | |
# ABOUT: | |
# `cd` to `ghq` repositories directory on `zsh` | |
# You can launch this function with `Ctrl-g` | |
# | |
# INSTALLATION: | |
# Requires `zsh` and `fzf` | |
# Download this file then, append `source path/to/fzf-ghq.zsh` to your `~/.zshrc` |
$ ffmpeg -i source.mp4 -vf fps=fps=15,scale=480:-1 -b:v 450k -b:a 50k out.mp4
-vf scale
: https://ffmpeg.org/ffmpeg-filters.html#scalerequire 'fileutils' | |
class Jekyll < Thor | |
include FileUtils | |
method_options :format => :optional | |
def draft(name) | |
format = options[:format] || "markdown" | |
slug = name.downcase.gsub(/ +/,'-').gsub(/[^-\w]/,'').sub(/-+$/,'') | |
filename = slug + ".#{format}" |