lol

Merge pull request #22163 from MP2E/ffmpeg_full_update

ffmpeg-full: 3.1.3 -> 3.2.2

authored by

Graham Christensen and committed by
GitHub
70270ca6 9df33ad7

+4 -12
+4 -12
pkgs/development/libraries/ffmpeg-full/default.nix
··· 4 4 */ 5 5 , gplLicensing ? true # GPL: fdkaac,openssl,frei0r,cdio,samba,utvideo,vidstab,x265,x265,xavs,avid,zvbi,x11grab 6 6 , version3Licensing ? true # (L)GPL3: opencore-amrnb,opencore-amrwb,samba,vo-aacenc,vo-amrwbenc 7 - , nonfreeLicensing ? false # NONFREE: openssl,fdkaac,faac,aacplus,blackmagic-design-desktop-video 7 + , nonfreeLicensing ? false # NONFREE: openssl,fdkaac,blackmagic-design-desktop-video 8 8 /* 9 9 * Build options 10 10 */ ··· 12 12 , runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime (disable to compile natively) 13 13 , grayBuild ? true # Full grayscale support 14 14 , swscaleAlphaBuild ? true # Alpha channel support in swscale 15 - , incompatibleLibavAbiBuild ? false # Incompatible Libav fork ABI 16 15 , hardcodedTablesBuild ? true # Hardcode decode tables instead of runtime generation 17 16 , safeBitstreamReaderBuild ? true # Buffer boundary checking in bitreaders 18 17 , memalignHackBuild ? false # Emulate memalign ··· 49 48 /* 50 49 * External libraries options 51 50 */ 52 - #, aacplusExtlib ? false, aacplus ? null # AAC+ encoder 53 51 , alsaLib ? null # Alsa in/output support 54 52 #, avisynth ? null # Support for reading AviSynth scripts 55 53 , bzip2 ? null 56 54 , celt ? null # CELT decoder 57 55 #, crystalhd ? null # Broadcom CrystalHD hardware acceleration 58 56 #, decklinkExtlib ? false, blackmagic-design-desktop-video ? null # Blackmagic Design DeckLink I/O support 59 - , faacExtlib ? false, faac ? null # AAC encoder 60 57 , fdkaacExtlib ? false, fdk_aac ? null # Fraunhofer FDK AAC de/encoder 61 58 #, flite ? null # Flite (voice synthesis) support 62 59 , fontconfig ? null # Needed for drawtext filter ··· 220 217 /* 221 218 * External libraries 222 219 */ 223 - #assert aacplusExtlib -> nonfreeLicensing; 224 220 #assert decklinkExtlib -> blackmagic-design-desktop-video != null 225 221 # && !isCygwin && multithreadBuild # POSIX threads required 226 222 # && nonfreeLicensing; 227 - assert faacExtlib -> faac != null && nonfreeLicensing; 228 223 assert fdkaacExtlib -> fdk_aac != null && nonfreeLicensing; 229 224 assert gnutls != null -> !opensslExtlib; 230 225 assert libxcbshmExtlib -> libxcb != null; ··· 237 232 238 233 stdenv.mkDerivation rec { 239 234 name = "ffmpeg-full-${version}"; 240 - version = "3.1.3"; 235 + version = "3.2.2"; 241 236 242 237 src = fetchurl { 243 238 url = "https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz"; 244 - sha256 = "08l8290gipm632dhrqndnphdpkc5ncqc1j3hxdx46r1a3q3mqmzq"; 239 + sha256 = "1z7d5y5crhsl5fm74236rdwbkd4jj5frx1l4iizjfym1w4gvs09z"; 245 240 }; 246 241 247 242 patchPhase = ''patchShebangs . ··· 267 262 (enableFeature runtimeCpuDetectBuild "runtime-cpudetect") 268 263 (enableFeature grayBuild "gray") 269 264 (enableFeature swscaleAlphaBuild "swscale-alpha") 270 - (enableFeature incompatibleLibavAbiBuild "incompatible-libav-abi") 271 265 (enableFeature hardcodedTablesBuild "hardcoded-tables") 272 266 (enableFeature safeBitstreamReaderBuild "safe-bitstream-reader") 273 267 (enableFeature memalignHackBuild "memalign-hack") ··· 314 308 /* 315 309 * External libraries 316 310 */ 317 - #(enableFeature aacplus "libaacplus") 318 311 #(enableFeature avisynth "avisynth") 319 312 (enableFeature (bzip2 != null) "bzlib") 320 313 (enableFeature (celt != null) "libcelt") 321 314 #(enableFeature crystalhd "crystalhd") 322 315 #(enableFeature decklinkExtlib "decklink") 323 - (enableFeature faacExtlib "libfaac") 324 316 (enableFeature (fdkaacExtlib && gplLicensing) "libfdk-aac") 325 317 #(enableFeature (flite != null) "libflite") 326 318 "--disable-libflite" # Force disable until a solution is found ··· 412 404 samba SDL soxr speex vid-stab wavpack x264 x265 xavs xvidcore zeromq4 zlib 413 405 ] ++ optional openglExtlib mesa 414 406 ++ optionals x11grabExtlib [ libXext libXfixes ] 415 - ++ optionals nonfreeLicensing [ faac fdk_aac openssl ] 407 + ++ optionals nonfreeLicensing [ fdk_aac openssl ] 416 408 ++ optional ((isLinux || isFreeBSD) && libva != null) libva 417 409 ++ optionals isLinux [ alsaLib libraw1394 libv4l ] 418 410 ++ optionals nvenc [ nvidia-video-sdk ]