You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup FFmpeg
v2
Setup FFmpeg in GitHub Actions to use ffmpeg
and ffprobe
. The action will download, cache and
add to PATH
a recent FFmpeg build for the current os.
To use ffmpeg
and ffprobe
, run the action before them.
steps:
- uses: actions/checkout@v2
- uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
- run: ffmpeg -i input.avi output.mkv
This action also sets a few outputs:
path
: Path to the install directoryffmpeg-path
: Path to the ffmpeg executableffprobe-path
: Path to the ffprobe executable
The action uses a recent FFmpeg build provided by the following sources:
- Linux Builds - https://johnvansickle.com/ffmpeg/
- Windows Builds - https://www.gyan.dev/ffmpeg/builds/
- MacOS Builds - https://evermeet.cx/ffmpeg/
Note: This action only supports x64 operating systems.