1 | [package] |
2 | name = "ffmpeg-next" |
3 | version = "6.1.1" |
4 | build = "build.rs" |
5 | |
6 | authors = ["meh. <meh@schizofreni.co>" , "Zhiming Wang <i@zhimingwang.org>" ] |
7 | license = "WTFPL" |
8 | |
9 | description = "Safe FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate)" |
10 | documentation = "https://docs.rs/ffmpeg-next" |
11 | homepage = "https://github.com/zmwangx/rust-ffmpeg#readme" |
12 | repository = "https://github.com/zmwangx/rust-ffmpeg" |
13 | readme = "README.md" |
14 | keywords = ["ffmpeg" , "multimedia" , "video" , "audio" ] |
15 | categories = ["multimedia" ] |
16 | |
17 | [features] |
18 | default = ["codec" , "device" , "filter" , "format" , "software-resampling" , "software-scaling" ] |
19 | |
20 | # ffmpeg<xy> are obsolete features kept for backward compatibility purposes and |
21 | # don't do anything anymore (equivalents are automatically specified through |
22 | # compile-time detection in ffmpeg-sys-next). Deprecation plan: all these |
23 | # features will be removed come 5.0. |
24 | ffmpeg43 = [] |
25 | ffmpeg42 = [] |
26 | ffmpeg41 = [] |
27 | ffmpeg4 = [] |
28 | |
29 | static = ["ffmpeg-sys-next/static" ] |
30 | build = ["static" , "ffmpeg-sys-next/build" ] |
31 | |
32 | # licensing |
33 | build-license-gpl = ["ffmpeg-sys-next/build-license-gpl" ] |
34 | build-license-nonfree = ["ffmpeg-sys-next/build-license-nonfree" ] |
35 | build-license-version3 = ["ffmpeg-sys-next/build-license-version3" ] |
36 | |
37 | # misc |
38 | build-pic = ["ffmpeg-sys-next/build-pic" ] |
39 | build-zlib = ["ffmpeg-sys-next/build-zlib" ] |
40 | |
41 | # ssl |
42 | build-lib-gnutls = ["ffmpeg-sys-next/build-lib-gnutls" ] |
43 | build-lib-openssl = ["ffmpeg-sys-next/build-lib-openssl" ] |
44 | |
45 | # filters |
46 | build-lib-fontconfig = ["ffmpeg-sys-next/build-lib-fontconfig" ] |
47 | build-lib-frei0r = ["ffmpeg-sys-next/build-lib-frei0r" ] |
48 | build-lib-ladspa = ["ffmpeg-sys-next/build-lib-ladspa" ] |
49 | build-lib-ass = ["ffmpeg-sys-next/build-lib-ass" ] |
50 | build-lib-freetype = ["ffmpeg-sys-next/build-lib-freetype" ] |
51 | build-lib-freebidi = ["ffmpeg-sys-next/build-lib-freebidi" ] |
52 | build-lib-opencv = ["ffmpeg-sys-next/build-lib-opencv" ] |
53 | build-lib-vmaf = ["ffmpeg-sys-next/build-lib-vmaf" ] |
54 | |
55 | # encoders/decoders |
56 | build-lib-aacplus = ["ffmpeg-sys-next/build-lib-aacplus" ] |
57 | build-lib-celt = ["ffmpeg-sys-next/build-lib-celt" ] |
58 | build-lib-dav1d = ["ffmpeg-sys-next/build-lib-dav1d" ] |
59 | build-lib-dcadec = ["ffmpeg-sys-next/build-lib-dcadec" ] |
60 | build-lib-faac = ["ffmpeg-sys-next/build-lib-faac" ] |
61 | build-lib-fdk-aac = ["ffmpeg-sys-next/build-lib-fdk-aac" ] |
62 | build-lib-gsm = ["ffmpeg-sys-next/build-lib-gsm" ] |
63 | build-lib-ilbc = ["ffmpeg-sys-next/build-lib-ilbc" ] |
64 | build-lib-kvazaar = ["ffmpeg-sys-next/build-lib-kvazaar" ] |
65 | build-lib-mp3lame = ["ffmpeg-sys-next/build-lib-mp3lame" ] |
66 | build-lib-opencore-amrnb = ["ffmpeg-sys-next/build-lib-opencore-amrnb" ] |
67 | build-lib-opencore-amrwb = ["ffmpeg-sys-next/build-lib-opencore-amrwb" ] |
68 | build-lib-openh264 = ["ffmpeg-sys-next/build-lib-openh264" ] |
69 | build-lib-openjpeg = ["ffmpeg-sys-next/build-lib-openjpeg" ] |
70 | build-lib-opus = ["ffmpeg-sys-next/build-lib-opus" ] |
71 | build-lib-schroedinger = ["ffmpeg-sys-next/build-lib-schroedinger" ] |
72 | build-lib-shine = ["ffmpeg-sys-next/build-lib-shine" ] |
73 | build-lib-snappy = ["ffmpeg-sys-next/build-lib-snappy" ] |
74 | build-lib-speex = ["ffmpeg-sys-next/build-lib-speex" ] |
75 | build-lib-stagefright-h264 = ["ffmpeg-sys-next/build-lib-stagefright-h264" ] |
76 | build-lib-theora = ["ffmpeg-sys-next/build-lib-theora" ] |
77 | build-lib-twolame = ["ffmpeg-sys-next/build-lib-twolame" ] |
78 | build-lib-utvideo = ["ffmpeg-sys-next/build-lib-utvideo" ] |
79 | build-lib-vo-aacenc = ["ffmpeg-sys-next/build-lib-vo-aacenc" ] |
80 | build-lib-vo-amrwbenc = ["ffmpeg-sys-next/build-lib-vo-amrwbenc" ] |
81 | build-lib-vorbis = ["ffmpeg-sys-next/build-lib-vorbis" ] |
82 | build-lib-vpx = ["ffmpeg-sys-next/build-lib-vpx" ] |
83 | build-lib-wavpack = ["ffmpeg-sys-next/build-lib-wavpack" ] |
84 | build-lib-webp = ["ffmpeg-sys-next/build-lib-webp" ] |
85 | build-lib-x264 = ["ffmpeg-sys-next/build-lib-x264" ] |
86 | build-lib-x265 = ["ffmpeg-sys-next/build-lib-x265" ] |
87 | build-lib-avs = ["ffmpeg-sys-next/build-lib-avs" ] |
88 | build-lib-xvid = ["ffmpeg-sys-next/build-lib-xvid" ] |
89 | |
90 | # protocols |
91 | build-lib-smbclient = ["ffmpeg-sys-next/build-lib-smbclient" ] |
92 | build-lib-ssh = ["ffmpeg-sys-next/build-lib-ssh" ] |
93 | |
94 | # components |
95 | codec = ["ffmpeg-sys-next/avcodec" ] |
96 | device = ["ffmpeg-sys-next/avdevice" , "format" ] |
97 | filter = ["ffmpeg-sys-next/avfilter" ] |
98 | format = ["ffmpeg-sys-next/avformat" , "codec" ] |
99 | resampling = ["ffmpeg-sys-next/avresample" ] |
100 | postprocessing = ["ffmpeg-sys-next/postproc" ] |
101 | software-resampling = ["ffmpeg-sys-next/swresample" ] |
102 | software-scaling = ["ffmpeg-sys-next/swscale" , "codec" ] |
103 | |
104 | # platforms |
105 | rpi = [] |
106 | |
107 | [dependencies] |
108 | libc = "0.2" |
109 | bitflags = "1.2" |
110 | |
111 | [dependencies.image] |
112 | version = "0.23" |
113 | optional = true |
114 | |
115 | [dependencies.ffmpeg-sys-next] |
116 | version = "6.1.0" |
117 | default-features = false |
118 | |