1 | [package] |
2 | name = "ffmpeg-sys-next" |
3 | version = "6.1.0" |
4 | build = "build.rs" |
5 | links = "ffmpeg" |
6 | |
7 | authors = ["meh. <meh@schizofreni.co>" , "Zhiming Wang <i@zhimingwang.org>" ] |
8 | license = "WTFPL" |
9 | |
10 | description = "FFI bindings to FFmpeg" |
11 | repository = "https://github.com/zmwangx/rust-ffmpeg-sys" |
12 | keywords = ["audio" , "video" ] |
13 | |
14 | [lib] |
15 | # Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313 |
16 | doctest = false |
17 | |
18 | [dependencies] |
19 | libc = "0.2" |
20 | |
21 | [build-dependencies] |
22 | num_cpus = "1.15" |
23 | cc = "1.0" |
24 | pkg-config = "0.3" |
25 | bindgen = { version = "0.64" , default-features = false, features = ["runtime" ] } |
26 | |
27 | [target.'cfg(target_env = "msvc")'.build-dependencies] |
28 | vcpkg = "0.2" |
29 | |
30 | [features] |
31 | default = ["avcodec" , "avdevice" , "avfilter" , "avformat" , "swresample" , "swscale" ] |
32 | |
33 | static = [] |
34 | build = ["static" ] |
35 | |
36 | # mark enums in generated bindings as #[non_exhaustive] |
37 | non-exhaustive-enums = [] |
38 | |
39 | # licensing |
40 | build-license-gpl = ["build" ] |
41 | build-license-nonfree = ["build" ] |
42 | build-license-version3 = ["build" ] |
43 | |
44 | # misc |
45 | build-drm = ["build" ] |
46 | build-nvenc = ["build" ] |
47 | build-pic = ["build" ] |
48 | build-zlib = ["build" ] |
49 | |
50 | # ssl |
51 | build-lib-gnutls = ["build" ] |
52 | build-lib-openssl = ["build" ] |
53 | |
54 | # filters |
55 | build-lib-fontconfig = ["build" ] |
56 | build-lib-frei0r = ["build" ] |
57 | build-lib-ladspa = ["build" ] |
58 | build-lib-ass = ["build" ] |
59 | build-lib-freetype = ["build" ] |
60 | build-lib-freebidi = ["build" ] |
61 | build-lib-opencv = ["build" ] |
62 | build-lib-vmaf = ["build" ] |
63 | |
64 | # encoders/decoders |
65 | build-lib-aacplus = ["build" ] |
66 | build-lib-celt = ["build" ] |
67 | build-lib-dav1d = ["build" ] |
68 | build-lib-dcadec = ["build" ] |
69 | build-lib-faac = ["build" ] |
70 | build-lib-fdk-aac = ["build" ] |
71 | build-lib-gsm = ["build" ] |
72 | build-lib-ilbc = ["build" ] |
73 | build-lib-kvazaar = ["build" ] |
74 | build-lib-mp3lame = ["build" ] |
75 | build-lib-opencore-amrnb = ["build" ] |
76 | build-lib-opencore-amrwb = ["build" ] |
77 | build-lib-openh264 = ["build" ] |
78 | build-lib-openjpeg = ["build" ] |
79 | build-lib-opus = ["build" ] |
80 | build-lib-schroedinger = ["build" ] |
81 | build-lib-shine = ["build" ] |
82 | build-lib-snappy = ["build" ] |
83 | build-lib-speex = ["build" ] |
84 | build-lib-stagefright-h264 = ["build" ] |
85 | build-lib-theora = ["build" ] |
86 | build-lib-twolame = ["build" ] |
87 | build-lib-utvideo = ["build" ] |
88 | build-lib-vo-aacenc = ["build" ] |
89 | build-lib-vo-amrwbenc = ["build" ] |
90 | build-lib-vorbis = ["build" ] |
91 | build-lib-vpx = ["build" ] |
92 | build-lib-wavpack = ["build" ] |
93 | build-lib-webp = ["build" ] |
94 | build-lib-x264 = ["build" ] |
95 | build-lib-x265 = ["build" ] |
96 | build-lib-avs = ["build" ] |
97 | build-lib-xvid = ["build" ] |
98 | |
99 | # protocols |
100 | build-lib-smbclient = ["build" ] |
101 | build-lib-ssh = ["build" ] |
102 | |
103 | # components |
104 | avcodec = [] |
105 | avdevice = ["avformat" ] |
106 | avfilter = [] |
107 | avformat = ["avcodec" ] |
108 | avresample = [] |
109 | postproc = [] |
110 | swresample = [] |
111 | swscale = [] |
112 | |