rffmpeg

Crates.iorffmpeg
lib.rsrffmpeg
version8.0.0
created_at2025-06-12 11:01:00.638869+00
updated_at2025-11-12 19:01:35.839819+00
descriptionSafe FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate)
homepagehttps://github.com/nrbnlulu/rffmpeg#readme
repositoryhttps://github.com/nrbnlulu/rffmpeg
max_upload_size
id1709690
size558,118
ניר (nrbnlulu)

documentation

https://docs.rs/rffmpeg

README

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
Commit count: 603

cargo fmt