rffmpeg 8.0.0

Safe FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate)
Documentation

rffmpeg

crates.io docs.rs build

currently supports ffmpeg 6.1 - 8.0

Documentation:

Installation

As a general note take a look on the build.yml for a better reference on how to build the library.

Windows

  1. download the version you want from ffmpeg-builds (only shared builds are supported)
  2. extract and set FFMPEG_DIR FFMPEG_INCLUDE_DIR and FFMPEG_LIB_DIR environment variables to the extracted directory

Linux

  1. download the version you want from ffmpeg-builds (only shared builds are supported)
  2. add these paths (change to fit your needs) to env
export FFMPEG_DIR=/home/dev/Downloads/ffmpeg
export FFMPEG_PATH=/home/dev/Downloads/ffmpeg/bin
export FFMPEG_INCLUDE_DIR=/home/dev/Downloads/ffmpeg/include
export FFMPEG_LIB_DIR=/home/dev/Downloads/ffmpeg/lib
export LD_LIBRARY_PATH=${FFMPEG_LIB_DIR}:${LD_LIBRARY_PATH}

MacOS

  1. run brew install ffmpeg pkg-config
  2. good to go