Created
February 16, 2020 04:49
-
-
Save jsteenb2/a8a8d79916629475c94d5442fd706a5a to your computer and use it in GitHub Desktop.
shell script to run ffmpeg on screencast vids macos
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
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