You can use ffmpeg either by installing or just by downloading.
Type these cmd in your terminal.
- install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- install ffmpeg
brew install ffmpeg
TODO: windows is not supported for gradle-screen-record
now.
https://ffmpeg.org/ Or: https://raw.githubusercontent.com/fashare2015/gradle-screen-record/master/ffmpeg
If you just download the ffmpeg instead of installing it, you must set the path of it. Add the path of ffmpeg this way:
Config in rootProject/gradle.properties:
FFMPEG_PATH=XXX
For example:
FFMPEG_PATH="./ffmpeg"