19
loading...
This website collects cookies to deliver better user experience
Homebrew
- a package manager for MacOS (makes life a lot easier)ffmpeg
- a CLI tool which allows video format conversion, compression etc.Homebrew
by running this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ffmpeg
by running this:
brew install ffmpeg
Cmd
+ Shift
+ 5
. I won't explain further, the tool is quite intuitive, fiddle around with it and you'll get familiar with it quite fast.ffmpeg -i {recording-video} -vcodec libx264 -crf 24 {output-video}
ffmpeg -i a.mov -vcodec libx264 -crf 24 b.mov
)ffmpeg
mean, keep on reading.ffmpeg | -i {recording-video} | -vcodec libx264 | -crf 24 | {output-video}
ffmpeg
is the name of the CLI tool-i
is an option which takes the name of the input video (the video which we want to work on)-vcodec
is an option which takes the video codec's name (in our case it's libx264
)-crf
is an option which determines the constant rate factor (I know it's wrong, but I remember this as compression ratio factor, which makes it easier for me to remember that higher values mean higher compression and lower video quality/size)ffmpeg
for you as well, which is a powerful CLI tool. You can learn more about ffmpeg
here.19