Cargo Features

[dependencies]
ffmpeg-next-rk = { version = "7.0.0", default-features = false, features = ["ffmpeg43", "ffmpeg4", "static", "non-exhaustive-enums", "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-vmaf", "build-lib-aacplus", "build-lib-celt", "build-lib-dav1d", "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", "rpi", "image"] }
default = codec, device, filter, format, software-resampling, software-scaling

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

ffmpeg43

ffmpeg<xy> are obsolete features kept for backward compatibility purposes and don't do anything anymore (equivalents are automatically specified through compile-time detection in ffmpeg-sys-next). Deprecation plan: all these features will be removed come 5.0.

ffmpeg42 ffmpeg41 ffmpeg4
static build?

Enables static of ffmpeg-sys-next-rk

non-exhaustive-enums

Enables non-exhaustive-enums of ffmpeg-sys-next-rk

ffmpeg-sys-next-rk:

mark enums in generated bindings as #[non_exhaustive]

build = static

Enables ffmpeg-sys-next-rk

build-license-gpl

licensing

Enables build-license-gpl of ffmpeg-sys-next-rk

build-license-nonfree

Enables build-license-nonfree of ffmpeg-sys-next-rk

build-license-version3

Enables build-license-version3 of ffmpeg-sys-next-rk

build-pic

misc

Enables build-pic of ffmpeg-sys-next-rk

build-zlib

Enables build-zlib of ffmpeg-sys-next-rk

build-lib-gnutls

ssl

Enables build-lib-gnutls of ffmpeg-sys-next-rk

build-lib-openssl

Enables build-lib-openssl of ffmpeg-sys-next-rk

build-lib-fontconfig

filters

Enables build-lib-fontconfig of ffmpeg-sys-next-rk

build-lib-frei0r

Enables build-lib-frei0r of ffmpeg-sys-next-rk

build-lib-ladspa

Enables build-lib-ladspa of ffmpeg-sys-next-rk

build-lib-ass

Enables build-lib-ass of ffmpeg-sys-next-rk

build-lib-freetype

Enables build-lib-freetype of ffmpeg-sys-next-rk

build-lib-freebidi

Enables build-lib-freebidi of ffmpeg-sys-next-rk

build-lib-opencv

Enables build-lib-opencv of ffmpeg-sys-next-rk

build-lib-vmaf

Enables build-lib-vmaf of ffmpeg-sys-next-rk

build-lib-aacplus

encoders/decoders

Enables build-lib-aacplus of ffmpeg-sys-next-rk

build-lib-celt

Enables build-lib-celt of ffmpeg-sys-next-rk

build-lib-dav1d

Enables build-lib-dav1d of ffmpeg-sys-next-rk

build-lib-dcadec

Enables build-lib-dcadec of ffmpeg-sys-next-rk

build-lib-faac

Enables build-lib-faac of ffmpeg-sys-next-rk

build-lib-fdk-aac

Enables build-lib-fdk-aac of ffmpeg-sys-next-rk

build-lib-gsm

Enables build-lib-gsm of ffmpeg-sys-next-rk

build-lib-ilbc

Enables build-lib-ilbc of ffmpeg-sys-next-rk

build-lib-kvazaar

Enables build-lib-kvazaar of ffmpeg-sys-next-rk

build-lib-mp3lame

Enables build-lib-mp3lame of ffmpeg-sys-next-rk

build-lib-opencore-amrnb

Enables build-lib-opencore-amrnb of ffmpeg-sys-next-rk

build-lib-opencore-amrwb

Enables build-lib-opencore-amrwb of ffmpeg-sys-next-rk

build-lib-openh264

Enables build-lib-openh264 of ffmpeg-sys-next-rk

build-lib-openjpeg

Enables build-lib-openjpeg of ffmpeg-sys-next-rk

build-lib-opus

Enables build-lib-opus of ffmpeg-sys-next-rk

build-lib-schroedinger

Enables build-lib-schroedinger of ffmpeg-sys-next-rk

build-lib-shine

Enables build-lib-shine of ffmpeg-sys-next-rk

build-lib-snappy

Enables build-lib-snappy of ffmpeg-sys-next-rk

build-lib-speex

Enables build-lib-speex of ffmpeg-sys-next-rk

build-lib-stagefright-h264

Enables build-lib-stagefright-h264 of ffmpeg-sys-next-rk

build-lib-theora

Enables build-lib-theora of ffmpeg-sys-next-rk

build-lib-twolame

Enables build-lib-twolame of ffmpeg-sys-next-rk

build-lib-utvideo

Enables build-lib-utvideo of ffmpeg-sys-next-rk

build-lib-vo-aacenc

Enables build-lib-vo-aacenc of ffmpeg-sys-next-rk

build-lib-vo-amrwbenc

Enables build-lib-vo-amrwbenc of ffmpeg-sys-next-rk

build-lib-vorbis

Enables build-lib-vorbis of ffmpeg-sys-next-rk

build-lib-vpx

Enables build-lib-vpx of ffmpeg-sys-next-rk

build-lib-wavpack

Enables build-lib-wavpack of ffmpeg-sys-next-rk

build-lib-webp

Enables build-lib-webp of ffmpeg-sys-next-rk

build-lib-x264

Enables build-lib-x264 of ffmpeg-sys-next-rk

build-lib-x265

Enables build-lib-x265 of ffmpeg-sys-next-rk

build-lib-avs

Enables build-lib-avs of ffmpeg-sys-next-rk

build-lib-xvid

Enables build-lib-xvid of ffmpeg-sys-next-rk

build-lib-smbclient

protocols

Enables build-lib-smbclient of ffmpeg-sys-next-rk

build-lib-ssh

Enables build-lib-ssh of ffmpeg-sys-next-rk

codec default format software-scaling

components

Enables avcodec of ffmpeg-sys-next-rk

Affects ffmpeg-next-rk::codec

device default = format

Enables avdevice of ffmpeg-sys-next-rk

Affects ffmpeg-next-rk::device

filter default

Enables avfilter of ffmpeg-sys-next-rk

Affects ffmpeg-next-rk::filter

format default device = codec

Enables avformat of ffmpeg-sys-next-rk

Affects ffmpeg-next-rk::format

resampling

Enables avresample of ffmpeg-sys-next-rk

postprocessing

Enables postproc of ffmpeg-sys-next-rk

software-resampling default

Enables swresample of ffmpeg-sys-next-rk

Affects software::resampling, software::resampler

software-scaling default = codec

Enables swscale of ffmpeg-sys-next-rk

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

rpi

platforms

Features from optional dependencies

image implicit feature

Enables image

image:

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