2015-05-07 04:28:34 +02:00
|
|
|
[package]
|
2018-09-19 19:45:03 -04:00
|
|
|
name = "ffmpeg-next"
|
2022-02-17 17:53:33 +01:00
|
|
|
version = "5.0.2"
|
2015-12-03 18:10:46 +01:00
|
|
|
build = "build.rs"
|
2015-05-29 19:30:57 +02:00
|
|
|
|
2018-09-19 19:45:03 -04:00
|
|
|
authors = ["meh. <meh@schizofreni.co>", "Zhiming Wang <i@zhimingwang.org>"]
|
2015-05-07 04:28:34 +02:00
|
|
|
license = "WTFPL"
|
|
|
|
|
2018-09-19 19:57:23 -04:00
|
|
|
description = "Safe FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate)"
|
2018-09-19 19:45:03 -04:00
|
|
|
documentation = "https://docs.rs/ffmpeg-next"
|
2018-09-19 19:57:23 -04:00
|
|
|
homepage = "https://github.com/zmwangx/rust-ffmpeg#readme"
|
|
|
|
repository = "https://github.com/zmwangx/rust-ffmpeg"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["ffmpeg", "multimedia", "video", "audio"]
|
|
|
|
categories = ["multimedia"]
|
2015-05-29 19:30:57 +02:00
|
|
|
|
2015-05-15 21:28:03 +02:00
|
|
|
[features]
|
2020-08-08 01:33:37 +08:00
|
|
|
default = ["codec", "device", "filter", "format", "software-resampling", "software-scaling"]
|
2018-09-19 17:09:59 -04:00
|
|
|
|
2020-08-02 11:44:13 +08:00
|
|
|
# ffmpeg<xy> are obsolete features kept for backward compatibility purposes and
|
|
|
|
# don't do anything anymore (equivalents are automatically specified through
|
2020-08-08 01:33:37 +08:00
|
|
|
# compile-time detection in ffmpeg-sys-next). Deprecation plan: all these
|
|
|
|
# features will be removed come 5.0.
|
2020-08-02 11:44:13 +08:00
|
|
|
ffmpeg43 = []
|
|
|
|
ffmpeg42 = []
|
|
|
|
ffmpeg41 = []
|
2018-09-19 17:09:59 -04:00
|
|
|
ffmpeg4 = []
|
2015-09-18 06:04:25 +02:00
|
|
|
|
2020-06-01 13:17:08 +08:00
|
|
|
static = ["ffmpeg-sys-next/static"]
|
|
|
|
build = ["static", "ffmpeg-sys-next/build"]
|
2015-09-18 06:04:25 +02:00
|
|
|
|
2015-09-19 14:44:56 +02:00
|
|
|
# licensing
|
2020-06-01 13:17:08 +08:00
|
|
|
build-license-gpl = ["ffmpeg-sys-next/build-license-gpl"]
|
|
|
|
build-license-nonfree = ["ffmpeg-sys-next/build-license-nonfree"]
|
|
|
|
build-license-version3 = ["ffmpeg-sys-next/build-license-version3"]
|
2015-05-15 21:28:03 +02:00
|
|
|
|
2016-04-15 18:35:35 +02:00
|
|
|
# misc
|
2020-06-01 13:17:08 +08:00
|
|
|
build-pic = ["ffmpeg-sys-next/build-pic"]
|
|
|
|
build-zlib = ["ffmpeg-sys-next/build-zlib"]
|
2016-04-15 18:35:35 +02:00
|
|
|
|
2015-09-19 14:44:56 +02:00
|
|
|
# ssl
|
2020-06-01 13:17:08 +08:00
|
|
|
build-lib-gnutls = ["ffmpeg-sys-next/build-lib-gnutls"]
|
|
|
|
build-lib-openssl = ["ffmpeg-sys-next/build-lib-openssl"]
|
2015-09-19 14:44:56 +02:00
|
|
|
|
|
|
|
# filters
|
2020-06-01 13:17:08 +08:00
|
|
|
build-lib-fontconfig = ["ffmpeg-sys-next/build-lib-fontconfig"]
|
|
|
|
build-lib-frei0r = ["ffmpeg-sys-next/build-lib-frei0r"]
|
|
|
|
build-lib-ladspa = ["ffmpeg-sys-next/build-lib-ladspa"]
|
|
|
|
build-lib-ass = ["ffmpeg-sys-next/build-lib-ass"]
|
|
|
|
build-lib-freetype = ["ffmpeg-sys-next/build-lib-freetype"]
|
|
|
|
build-lib-freebidi = ["ffmpeg-sys-next/build-lib-freebidi"]
|
|
|
|
build-lib-opencv = ["ffmpeg-sys-next/build-lib-opencv"]
|
2021-10-01 21:31:55 -04:00
|
|
|
build-lib-vmaf = ["ffmpeg-sys-next/build-lib-vmaf"]
|
2015-09-19 14:44:56 +02:00
|
|
|
|
|
|
|
# encoders/decoders
|
2020-06-01 13:17:08 +08:00
|
|
|
build-lib-aacplus = ["ffmpeg-sys-next/build-lib-aacplus"]
|
|
|
|
build-lib-celt = ["ffmpeg-sys-next/build-lib-celt"]
|
2021-10-01 21:31:55 -04:00
|
|
|
build-lib-dav1d = ["ffmpeg-sys-next/build-lib-dav1d"]
|
2020-06-01 13:17:08 +08:00
|
|
|
build-lib-dcadec = ["ffmpeg-sys-next/build-lib-dcadec"]
|
|
|
|
build-lib-faac = ["ffmpeg-sys-next/build-lib-faac"]
|
|
|
|
build-lib-fdk-aac = ["ffmpeg-sys-next/build-lib-fdk-aac"]
|
|
|
|
build-lib-gsm = ["ffmpeg-sys-next/build-lib-gsm"]
|
|
|
|
build-lib-ilbc = ["ffmpeg-sys-next/build-lib-ilbc"]
|
|
|
|
build-lib-kvazaar = ["ffmpeg-sys-next/build-lib-kvazaar"]
|
|
|
|
build-lib-mp3lame = ["ffmpeg-sys-next/build-lib-mp3lame"]
|
|
|
|
build-lib-opencore-amrnb = ["ffmpeg-sys-next/build-lib-opencore-amrnb"]
|
|
|
|
build-lib-opencore-amrwb = ["ffmpeg-sys-next/build-lib-opencore-amrwb"]
|
|
|
|
build-lib-openh264 = ["ffmpeg-sys-next/build-lib-openh264"]
|
|
|
|
build-lib-openjpeg = ["ffmpeg-sys-next/build-lib-openjpeg"]
|
|
|
|
build-lib-opus = ["ffmpeg-sys-next/build-lib-opus"]
|
|
|
|
build-lib-schroedinger = ["ffmpeg-sys-next/build-lib-schroedinger"]
|
|
|
|
build-lib-shine = ["ffmpeg-sys-next/build-lib-shine"]
|
|
|
|
build-lib-snappy = ["ffmpeg-sys-next/build-lib-snappy"]
|
|
|
|
build-lib-speex = ["ffmpeg-sys-next/build-lib-speex"]
|
|
|
|
build-lib-stagefright-h264 = ["ffmpeg-sys-next/build-lib-stagefright-h264"]
|
|
|
|
build-lib-theora = ["ffmpeg-sys-next/build-lib-theora"]
|
|
|
|
build-lib-twolame = ["ffmpeg-sys-next/build-lib-twolame"]
|
|
|
|
build-lib-utvideo = ["ffmpeg-sys-next/build-lib-utvideo"]
|
|
|
|
build-lib-vo-aacenc = ["ffmpeg-sys-next/build-lib-vo-aacenc"]
|
|
|
|
build-lib-vo-amrwbenc = ["ffmpeg-sys-next/build-lib-vo-amrwbenc"]
|
|
|
|
build-lib-vorbis = ["ffmpeg-sys-next/build-lib-vorbis"]
|
|
|
|
build-lib-vpx = ["ffmpeg-sys-next/build-lib-vpx"]
|
|
|
|
build-lib-wavpack = ["ffmpeg-sys-next/build-lib-wavpack"]
|
|
|
|
build-lib-webp = ["ffmpeg-sys-next/build-lib-webp"]
|
|
|
|
build-lib-x264 = ["ffmpeg-sys-next/build-lib-x264"]
|
|
|
|
build-lib-x265 = ["ffmpeg-sys-next/build-lib-x265"]
|
|
|
|
build-lib-avs = ["ffmpeg-sys-next/build-lib-avs"]
|
|
|
|
build-lib-xvid = ["ffmpeg-sys-next/build-lib-xvid"]
|
2015-09-19 14:44:56 +02:00
|
|
|
|
|
|
|
# protocols
|
2020-06-01 13:17:08 +08:00
|
|
|
build-lib-smbclient = ["ffmpeg-sys-next/build-lib-smbclient"]
|
|
|
|
build-lib-ssh = ["ffmpeg-sys-next/build-lib-ssh"]
|
2015-09-19 14:44:56 +02:00
|
|
|
|
|
|
|
# components
|
2020-06-01 13:17:08 +08:00
|
|
|
codec = ["ffmpeg-sys-next/avcodec"]
|
|
|
|
device = ["ffmpeg-sys-next/avdevice", "format"]
|
|
|
|
filter = ["ffmpeg-sys-next/avfilter"]
|
|
|
|
format = ["ffmpeg-sys-next/avformat", "codec"]
|
|
|
|
resampling = ["ffmpeg-sys-next/avresample"]
|
|
|
|
postprocessing = ["ffmpeg-sys-next/postproc"]
|
|
|
|
software-resampling = ["ffmpeg-sys-next/swresample"]
|
|
|
|
software-scaling = ["ffmpeg-sys-next/swscale", "codec"]
|
2015-05-15 21:28:03 +02:00
|
|
|
|
2020-07-23 21:54:00 +02:00
|
|
|
# platforms
|
|
|
|
rpi = []
|
|
|
|
|
2015-05-07 04:28:34 +02:00
|
|
|
[dependencies]
|
2015-11-05 14:38:31 +01:00
|
|
|
libc = "0.2"
|
2020-06-01 13:06:34 +08:00
|
|
|
bitflags = "1.2"
|
2015-05-15 21:28:03 +02:00
|
|
|
|
2015-08-03 18:52:30 +02:00
|
|
|
[dependencies.image]
|
2021-10-14 17:02:28 +03:00
|
|
|
version = "0.23"
|
2015-08-03 18:52:30 +02:00
|
|
|
optional = true
|
|
|
|
|
2020-06-01 13:17:08 +08:00
|
|
|
[dependencies.ffmpeg-sys-next]
|
2022-02-17 17:53:33 +01:00
|
|
|
version = "5.0.1"
|
2015-05-15 21:28:03 +02:00
|
|
|
default-features = false
|