| 1 | [package] |
| 2 | name = "ffmpeg-next" |
| 3 | version = "7.1.0" |
| 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 | non-exhaustive-enums = ["ffmpeg-sys-next/non-exhaustive-enums" ] |
| 31 | build = ["static" , "ffmpeg-sys-next/build" ] |
| 32 | |
| 33 | # licensing |
| 34 | build-license-gpl = ["ffmpeg-sys-next/build-license-gpl" ] |
| 35 | build-license-nonfree = ["ffmpeg-sys-next/build-license-nonfree" ] |
| 36 | build-license-version3 = ["ffmpeg-sys-next/build-license-version3" ] |
| 37 | |
| 38 | # misc |
| 39 | build-pic = ["ffmpeg-sys-next/build-pic" ] |
| 40 | build-zlib = ["ffmpeg-sys-next/build-zlib" ] |
| 41 | |
| 42 | # ssl |
| 43 | build-lib-gnutls = ["ffmpeg-sys-next/build-lib-gnutls" ] |
| 44 | build-lib-openssl = ["ffmpeg-sys-next/build-lib-openssl" ] |
| 45 | |
| 46 | # filters |
| 47 | build-lib-fontconfig = ["ffmpeg-sys-next/build-lib-fontconfig" ] |
| 48 | build-lib-frei0r = ["ffmpeg-sys-next/build-lib-frei0r" ] |
| 49 | build-lib-ladspa = ["ffmpeg-sys-next/build-lib-ladspa" ] |
| 50 | build-lib-ass = ["ffmpeg-sys-next/build-lib-ass" ] |
| 51 | build-lib-freetype = ["ffmpeg-sys-next/build-lib-freetype" ] |
| 52 | build-lib-freebidi = ["ffmpeg-sys-next/build-lib-freebidi" ] |
| 53 | build-lib-opencv = ["ffmpeg-sys-next/build-lib-opencv" ] |
| 54 | build-lib-vmaf = ["ffmpeg-sys-next/build-lib-vmaf" ] |
| 55 | |
| 56 | # encoders/decoders |
| 57 | build-lib-aacplus = ["ffmpeg-sys-next/build-lib-aacplus" ] |
| 58 | build-lib-celt = ["ffmpeg-sys-next/build-lib-celt" ] |
| 59 | build-lib-dav1d = ["ffmpeg-sys-next/build-lib-dav1d" ] |
| 60 | build-lib-dcadec = ["ffmpeg-sys-next/build-lib-dcadec" ] |
| 61 | build-lib-faac = ["ffmpeg-sys-next/build-lib-faac" ] |
| 62 | build-lib-fdk-aac = ["ffmpeg-sys-next/build-lib-fdk-aac" ] |
| 63 | build-lib-gsm = ["ffmpeg-sys-next/build-lib-gsm" ] |
| 64 | build-lib-ilbc = ["ffmpeg-sys-next/build-lib-ilbc" ] |
| 65 | build-lib-kvazaar = ["ffmpeg-sys-next/build-lib-kvazaar" ] |
| 66 | build-lib-mp3lame = ["ffmpeg-sys-next/build-lib-mp3lame" ] |
| 67 | build-lib-opencore-amrnb = ["ffmpeg-sys-next/build-lib-opencore-amrnb" ] |
| 68 | build-lib-opencore-amrwb = ["ffmpeg-sys-next/build-lib-opencore-amrwb" ] |
| 69 | build-lib-openh264 = ["ffmpeg-sys-next/build-lib-openh264" ] |
| 70 | build-lib-openjpeg = ["ffmpeg-sys-next/build-lib-openjpeg" ] |
| 71 | build-lib-opus = ["ffmpeg-sys-next/build-lib-opus" ] |
| 72 | build-lib-schroedinger = ["ffmpeg-sys-next/build-lib-schroedinger" ] |
| 73 | build-lib-shine = ["ffmpeg-sys-next/build-lib-shine" ] |
| 74 | build-lib-snappy = ["ffmpeg-sys-next/build-lib-snappy" ] |
| 75 | build-lib-speex = ["ffmpeg-sys-next/build-lib-speex" ] |
| 76 | build-lib-stagefright-h264 = ["ffmpeg-sys-next/build-lib-stagefright-h264" ] |
| 77 | build-lib-theora = ["ffmpeg-sys-next/build-lib-theora" ] |
| 78 | build-lib-twolame = ["ffmpeg-sys-next/build-lib-twolame" ] |
| 79 | build-lib-utvideo = ["ffmpeg-sys-next/build-lib-utvideo" ] |
| 80 | build-lib-vo-aacenc = ["ffmpeg-sys-next/build-lib-vo-aacenc" ] |
| 81 | build-lib-vo-amrwbenc = ["ffmpeg-sys-next/build-lib-vo-amrwbenc" ] |
| 82 | build-lib-vorbis = ["ffmpeg-sys-next/build-lib-vorbis" ] |
| 83 | build-lib-vpx = ["ffmpeg-sys-next/build-lib-vpx" ] |
| 84 | build-lib-wavpack = ["ffmpeg-sys-next/build-lib-wavpack" ] |
| 85 | build-lib-webp = ["ffmpeg-sys-next/build-lib-webp" ] |
| 86 | build-lib-x264 = ["ffmpeg-sys-next/build-lib-x264" ] |
| 87 | build-lib-x265 = ["ffmpeg-sys-next/build-lib-x265" ] |
| 88 | build-lib-avs = ["ffmpeg-sys-next/build-lib-avs" ] |
| 89 | build-lib-xvid = ["ffmpeg-sys-next/build-lib-xvid" ] |
| 90 | |
| 91 | # protocols |
| 92 | build-lib-smbclient = ["ffmpeg-sys-next/build-lib-smbclient" ] |
| 93 | build-lib-ssh = ["ffmpeg-sys-next/build-lib-ssh" ] |
| 94 | |
| 95 | # components |
| 96 | codec = ["ffmpeg-sys-next/avcodec" ] |
| 97 | device = ["ffmpeg-sys-next/avdevice" , "format" ] |
| 98 | filter = ["ffmpeg-sys-next/avfilter" ] |
| 99 | format = ["ffmpeg-sys-next/avformat" , "codec" ] |
| 100 | resampling = ["ffmpeg-sys-next/avresample" ] |
| 101 | postprocessing = ["ffmpeg-sys-next/postproc" ] |
| 102 | software-resampling = ["ffmpeg-sys-next/swresample" ] |
| 103 | software-scaling = ["ffmpeg-sys-next/swscale" , "codec" ] |
| 104 | |
| 105 | # platforms |
| 106 | rpi = [] |
| 107 | |
| 108 | [dependencies] |
| 109 | libc = "0.2" |
| 110 | bitflags = "2.6" |
| 111 | |
| 112 | [dependencies.image] |
| 113 | version = "0.25" |
| 114 | optional = true |
| 115 | |
| 116 | [dependencies.ffmpeg-sys-next] |
| 117 | version = "7.1.0" |
| 118 | default-features = false |
| 119 | |