#audio #video

sys ffmpeg4-sys

FFI bindings to FFmpeg

5 releases (3 stable)

Uses old Rust 2015

4.3.0-pre.1 Mar 10, 2020
4.3.0-pre.0 Mar 1, 2020
4.2.2 Jan 2, 2020
4.2.1+1 Nov 11, 2019

#73 in Video

Download history 34/week @ 2021-04-06 89/week @ 2021-04-13 369/week @ 2021-04-20 64/week @ 2021-04-27 71/week @ 2021-05-04 66/week @ 2021-05-11 41/week @ 2021-05-18 125/week @ 2021-05-25 22/week @ 2021-06-01 20/week @ 2021-06-08 6/week @ 2021-06-15 16/week @ 2021-06-22 77/week @ 2021-06-29 33/week @ 2021-07-06 20/week @ 2021-07-13 39/week @ 2021-07-20

321 downloads per month
Used in ffmpeg4

WTFPL license

50MB
1M SLoC

C 1M SLoC // 0.1% comments Assembly 57K SLoC // 0.1% comments GNU Style Assembly 43K SLoC // 0.1% comments C++ 2K SLoC // 0.1% comments Objective-C 1.5K SLoC // 0.1% comments Rust 1.5K SLoC // 0.0% comments Shell 801 SLoC // 0.1% comments Perl 792 SLoC // 0.2% comments Python 380 SLoC // 0.2% comments Coq 59 SLoC Ruby 51 SLoC

= Rust ffmpeg4 bindings

[link=https://travis-ci.org/bacek/rust-ffmpeg4-sys] image::https://travis-ci.org/bacek/rust-ffmpeg4-sys.svg?branch=master[TravisCi] [link=https://docs.rs/ffmpeg4-sys] image::https://docs.rs/ffmpeg4-sys/badge.svg[Docs.rs]

== Original code

This repo is originally forked from the excellent work of meh. link:https://github.com/meh/rust-ffmpeg-sys[]

== Supported versions

Version of this crate corresponds version of ffmpeg it build with. Currently it is 4.2.2.

== Building

To build with locally installed ffmpeg libraries you'll need a working pkg-config. I use it on Debian Buster without any problems.

To build with bundled ffmpeg sources when system installed ffmpeg is not available, you'll need yasm installed.

Dependencies