Skip to content

Instantly share code, notes, and snippets.

@jsteenb2
Created February 16, 2020 04:49
Show Gist options
  • Save jsteenb2/a8a8d79916629475c94d5442fd706a5a to your computer and use it in GitHub Desktop.
Save jsteenb2/a8a8d79916629475c94d5442fd706a5a to your computer and use it in GitHub Desktop.
shell script to run ffmpeg on screencast vids macos
shrink () {
FILE=$(basename -- "$1")
local mp4="${FILE%%.*}.mp4"
docker run -v $HOME/Desktop:/import jrottenberg/ffmpeg:3.3-alpine -i /import/$FILE /import/mp4ed/$mp4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment