Cargo Features

[dependencies]
ffmpeg4 = { version = "0.4.0", default-features = false, features = ["static", "build", "build-license-gpl", "build-license-nonfree", "build-license-version3", "build-pic", "build-zlib", "build-lib-gnutls", "build-lib-openssl", "build-lib-fontconfig", "build-lib-frei0r", "build-lib-ladspa", "build-lib-ass", "build-lib-freetype", "build-lib-freebidi", "build-lib-opencv", "build-lib-aacplus", "build-lib-celt", "build-lib-dcadec", "build-lib-faac", "build-lib-fdk-aac", "build-lib-gsm", "build-lib-ilbc", "build-lib-kvazaar", "build-lib-mp3lame", "build-lib-opencore-amrnb", "build-lib-opencore-amrwb", "build-lib-openh264", "build-lib-openjpeg", "build-lib-opus", "build-lib-schroedinger", "build-lib-shine", "build-lib-snappy", "build-lib-speex", "build-lib-stagefright-h264", "build-lib-theora", "build-lib-twolame", "build-lib-utvideo", "build-lib-vo-aacenc", "build-lib-vo-amrwbenc", "build-lib-vorbis", "build-lib-vpx", "build-lib-wavpack", "build-lib-webp", "build-lib-x264", "build-lib-x265", "build-lib-avs", "build-lib-xvid", "build-lib-smbclient", "build-lib-ssh", "codec", "device", "filter", "format", "resampling", "postprocessing", "software-resampling", "software-scaling", "image"] }
default = codec, device, filter, format, resampling, software-resampling, software-scaling

These default features are set whenever ffmpeg4 is added without default-features = false somewhere in the dependency tree.

static build?

Enables static of ffmpeg4-sys

build = static

Enables build of ffmpeg4-sys

build-license-gpl

licensing

Enables build-license-gpl of ffmpeg4-sys

build-license-nonfree

Enables build-license-nonfree of ffmpeg4-sys

build-license-version3

Enables build-license-version3 of ffmpeg4-sys

build-pic

misc

Enables build-pic of ffmpeg4-sys

build-zlib

Enables build-zlib of ffmpeg4-sys

build-lib-gnutls

ssl

Enables build-lib-gnutls of ffmpeg4-sys

build-lib-openssl

Enables build-lib-openssl of ffmpeg4-sys

build-lib-fontconfig

filters

Enables build-lib-fontconfig of ffmpeg4-sys

build-lib-frei0r

Enables build-lib-frei0r of ffmpeg4-sys

build-lib-ladspa

Enables build-lib-ladspa of ffmpeg4-sys

build-lib-ass

Enables build-lib-ass of ffmpeg4-sys

build-lib-freetype

Enables build-lib-freetype of ffmpeg4-sys

build-lib-freebidi

Enables build-lib-freebidi of ffmpeg4-sys

build-lib-opencv

Enables build-lib-opencv of ffmpeg4-sys

build-lib-aacplus

encoders/decoders

Enables build-lib-aacplus of ffmpeg4-sys

build-lib-celt

Enables build-lib-celt of ffmpeg4-sys

build-lib-dcadec

Enables build-lib-dcadec of ffmpeg4-sys

build-lib-faac

Enables build-lib-faac of ffmpeg4-sys

build-lib-fdk-aac

Enables build-lib-fdk-aac of ffmpeg4-sys

build-lib-gsm

Enables build-lib-gsm of ffmpeg4-sys

build-lib-ilbc

Enables build-lib-ilbc of ffmpeg4-sys

build-lib-kvazaar

Enables build-lib-kvazaar of ffmpeg4-sys

build-lib-mp3lame

Enables build-lib-mp3lame of ffmpeg4-sys

build-lib-opencore-amrnb

Enables build-lib-opencore-amrnb of ffmpeg4-sys

build-lib-opencore-amrwb

Enables build-lib-opencore-amrwb of ffmpeg4-sys

build-lib-openh264

Enables build-lib-openh264 of ffmpeg4-sys

build-lib-openjpeg

Enables build-lib-openjpeg of ffmpeg4-sys

build-lib-opus

Enables build-lib-opus of ffmpeg4-sys

build-lib-schroedinger

Enables build-lib-schroedinger of ffmpeg4-sys

build-lib-shine

Enables build-lib-shine of ffmpeg4-sys

build-lib-snappy

Enables build-lib-snappy of ffmpeg4-sys

build-lib-speex

Enables build-lib-speex of ffmpeg4-sys

build-lib-stagefright-h264

Enables build-lib-stagefright-h264 of ffmpeg4-sys

build-lib-theora

Enables build-lib-theora of ffmpeg4-sys

build-lib-twolame

Enables build-lib-twolame of ffmpeg4-sys

build-lib-utvideo

Enables build-lib-utvideo of ffmpeg4-sys

build-lib-vo-aacenc

Enables build-lib-vo-aacenc of ffmpeg4-sys

build-lib-vo-amrwbenc

Enables build-lib-vo-amrwbenc of ffmpeg4-sys

build-lib-vorbis

Enables build-lib-vorbis of ffmpeg4-sys

build-lib-vpx

Enables build-lib-vpx of ffmpeg4-sys

build-lib-wavpack

Enables build-lib-wavpack of ffmpeg4-sys

build-lib-webp

Enables build-lib-webp of ffmpeg4-sys

build-lib-x264

Enables build-lib-x264 of ffmpeg4-sys

build-lib-x265

Enables build-lib-x265 of ffmpeg4-sys

build-lib-avs

Enables build-lib-avs of ffmpeg4-sys

build-lib-xvid

Enables build-lib-xvid of ffmpeg4-sys

build-lib-smbclient

protocols

Enables build-lib-smbclient of ffmpeg4-sys

build-lib-ssh

Enables build-lib-ssh of ffmpeg4-sys

codec default format software-scaling

components

Enables avcodec of ffmpeg4-sys

Affects ffmpeg4::codec

device default = format

Enables avdevice of ffmpeg4-sys

Affects ffmpeg4::device

filter default

Enables avfilter of ffmpeg4-sys

Affects ffmpeg4::filter

format default device = codec

Enables avformat of ffmpeg4-sys

Affects ffmpeg4::format

resampling default

Enables avresample of ffmpeg4-sys

postprocessing

Enables postproc of ffmpeg4-sys

software-resampling default

Enables swresample of ffmpeg4-sys

Affects software::resampling, software::resampler

software-scaling default = codec

Enables swscale of ffmpeg4-sys

Affects software::scaling, software::scaler, software::converter

Features from optional dependencies

image implicit feature

Enables image ^0.22

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.