diff options
author | Cray Elliott <MP2E@archlinux.us> | 2017-01-24 18:35:42 -0800 |
---|---|---|
committer | Cray Elliott <MP2E@archlinux.us> | 2017-01-25 18:57:03 -0800 |
commit | 35d48f3ba1dec555cc42fff9259fd0daf1713073 (patch) | |
tree | aa8549dbb46f51db545d9d0fe4f9aefc3187e89b /pkgs | |
parent | 9ac6297b79b5004283a939ebdc451e8a8749af24 (diff) | |
download | nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar.gz nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar.bz2 nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar.lz nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar.xz nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.tar.zst nixlib-35d48f3ba1dec555cc42fff9259fd0daf1713073.zip |
ffmpeg-full: 3.1.3 -> 3.2.2
also removed a few flags for features that have been entirely removed from ffmpeg removed: - faac - aacplus - incompatibleLibavAbi option please use fdk-aac or the built-in encoder for your aac audio needs
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/ffmpeg-full/default.nix | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix index f4621216a092..eb985f4c3f31 100644 --- a/pkgs/development/libraries/ffmpeg-full/default.nix +++ b/pkgs/development/libraries/ffmpeg-full/default.nix @@ -4,7 +4,7 @@ */ , gplLicensing ? true # GPL: fdkaac,openssl,frei0r,cdio,samba,utvideo,vidstab,x265,x265,xavs,avid,zvbi,x11grab , version3Licensing ? true # (L)GPL3: opencore-amrnb,opencore-amrwb,samba,vo-aacenc,vo-amrwbenc -, nonfreeLicensing ? false # NONFREE: openssl,fdkaac,faac,aacplus,blackmagic-design-desktop-video +, nonfreeLicensing ? false # NONFREE: openssl,fdkaac,blackmagic-design-desktop-video /* * Build options */ @@ -12,7 +12,6 @@ , runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime (disable to compile natively) , grayBuild ? true # Full grayscale support , swscaleAlphaBuild ? true # Alpha channel support in swscale -, incompatibleLibavAbiBuild ? false # Incompatible Libav fork ABI , hardcodedTablesBuild ? true # Hardcode decode tables instead of runtime generation , safeBitstreamReaderBuild ? true # Buffer boundary checking in bitreaders , memalignHackBuild ? false # Emulate memalign @@ -49,14 +48,12 @@ /* * External libraries options */ -#, aacplusExtlib ? false, aacplus ? null # AAC+ encoder , alsaLib ? null # Alsa in/output support #, avisynth ? null # Support for reading AviSynth scripts , bzip2 ? null , celt ? null # CELT decoder #, crystalhd ? null # Broadcom CrystalHD hardware acceleration #, decklinkExtlib ? false, blackmagic-design-desktop-video ? null # Blackmagic Design DeckLink I/O support -, faacExtlib ? false, faac ? null # AAC encoder , fdkaacExtlib ? false, fdk_aac ? null # Fraunhofer FDK AAC de/encoder #, flite ? null # Flite (voice synthesis) support , fontconfig ? null # Needed for drawtext filter @@ -220,11 +217,9 @@ assert swscaleLibrary -> avutilLibrary; /* * External libraries */ -#assert aacplusExtlib -> nonfreeLicensing; #assert decklinkExtlib -> blackmagic-design-desktop-video != null # && !isCygwin && multithreadBuild # POSIX threads required # && nonfreeLicensing; -assert faacExtlib -> faac != null && nonfreeLicensing; assert fdkaacExtlib -> fdk_aac != null && nonfreeLicensing; assert gnutls != null -> !opensslExtlib; assert libxcbshmExtlib -> libxcb != null; @@ -237,11 +232,11 @@ assert nvenc -> nvidia-video-sdk != null && nonfreeLicensing; stdenv.mkDerivation rec { name = "ffmpeg-full-${version}"; - version = "3.1.3"; + version = "3.2.2"; src = fetchurl { url = "https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz"; - sha256 = "08l8290gipm632dhrqndnphdpkc5ncqc1j3hxdx46r1a3q3mqmzq"; + sha256 = "1z7d5y5crhsl5fm74236rdwbkd4jj5frx1l4iizjfym1w4gvs09z"; }; patchPhase = ''patchShebangs . @@ -267,7 +262,6 @@ stdenv.mkDerivation rec { (enableFeature runtimeCpuDetectBuild "runtime-cpudetect") (enableFeature grayBuild "gray") (enableFeature swscaleAlphaBuild "swscale-alpha") - (enableFeature incompatibleLibavAbiBuild "incompatible-libav-abi") (enableFeature hardcodedTablesBuild "hardcoded-tables") (enableFeature safeBitstreamReaderBuild "safe-bitstream-reader") (enableFeature memalignHackBuild "memalign-hack") @@ -314,13 +308,11 @@ stdenv.mkDerivation rec { /* * External libraries */ - #(enableFeature aacplus "libaacplus") #(enableFeature avisynth "avisynth") (enableFeature (bzip2 != null) "bzlib") (enableFeature (celt != null) "libcelt") #(enableFeature crystalhd "crystalhd") #(enableFeature decklinkExtlib "decklink") - (enableFeature faacExtlib "libfaac") (enableFeature (fdkaacExtlib && gplLicensing) "libfdk-aac") #(enableFeature (flite != null) "libflite") "--disable-libflite" # Force disable until a solution is found @@ -412,7 +404,7 @@ stdenv.mkDerivation rec { samba SDL soxr speex vid-stab wavpack x264 x265 xavs xvidcore zeromq4 zlib ] ++ optional openglExtlib mesa ++ optionals x11grabExtlib [ libXext libXfixes ] - ++ optionals nonfreeLicensing [ faac fdk_aac openssl ] + ++ optionals nonfreeLicensing [ fdk_aac openssl ] ++ optional ((isLinux || isFreeBSD) && libva != null) libva ++ optionals isLinux [ alsaLib libraw1394 libv4l ] ++ optionals nvenc [ nvidia-video-sdk ] |