Skip to content
Snippets Groups Projects
Commit 85501986 authored by Adrien Béraud's avatar Adrien Béraud Committed by Pierre Lespagnol
Browse files

contrib: update ffmpeg

Change-Id: I5233425464054d1690a1556336e16d5b6aa04162
parent c7f3c313
Branches
No related tags found
No related merge requests found
ifdef HAVE_DARWIN_OS 2c2e32ea0bd483a7c8dc3bb7dffa93419defd1d7be3724fe51e981bc13f5ee00f5d93d5d07c1fe62e944493c2319048ec2546bead50af89da3d6b2a67f3008ee ffmpeg-9f38fac053010205806ece11e6aea9b7d3bde041.tar.gz
df0393b9dbee05f64f80ff98512ec153c78ccca9f8ea170301703cd0b92fb68c91c8113ab8a2ecb161ac465544edefe29dd1965e6959694f8728fee529606665 ffmpeg-n4.2.2.tar.gz df0393b9dbee05f64f80ff98512ec153c78ccca9f8ea170301703cd0b92fb68c91c8113ab8a2ecb161ac465544edefe29dd1965e6959694f8728fee529606665 ffmpeg-n4.2.2.tar.gz
\ No newline at end of file
else
b00ca3b77e9c9a4ee69a50283471bf136c1a35a837982aa886e9c50c546e48a6b5ea2acd1e183990eefe6c32fb1d5504684925abb7d8fa4f80b7e53864647c6c ffmpeg-n4.3.tar.gz
endif
{ {
"name": "ffmpeg", "name": "ffmpeg",
"version": "59da9dcd7ef6277e4e04998ced71b05a6083c635", "version": "9f38fac053010205806ece11e6aea9b7d3bde041",
"url": "https://github.com/FFmpeg/FFmpeg/archive/__VERSION__.tar.gz", "url": "https://github.com/FFmpeg/FFmpeg/archive/__VERSION__.tar.gz",
"deps": [ "deps": [
"vpx", "vpx",
......
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
FFMPEG_HASH := n4.2.2 FFMPEG_HASH := n4.2.2
else else
FFMPEG_HASH := n4.3 FFMPEG_HASH := 9f38fac053010205806ece11e6aea9b7d3bde041
endif endif
FFMPEG_URL := https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/$(FFMPEG_HASH).tar.gz FFMPEG_URL := https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/$(FFMPEG_HASH).tar.gz
PKGS+=ffmpeg PKGS+=ffmpeg
......
From f84107def60c4cd3dcbbcd66eaec9e934a0f6467 Mon Sep 17 00:00:00 2001 From 4bb07a5a8306e27a430d6d62c7b7e23300d594a3 Mon Sep 17 00:00:00 2001
From: Eden Abitbol <eden.abitbol@savoirfairelinux.com> From: Pierre Lespagnol <pierre.lespagnol@savoirfairelinux.com>
Date: Tue, 27 Aug 2019 12:05:38 -0400 Date: Fri, 29 Jan 2021 16:52:01 -0500
Subject: [PATCH] windows ffnvcodec patch Subject: [PATCH] windows ffnvcodec patch
--- ---
...@@ -9,21 +9,21 @@ Subject: [PATCH] windows ffnvcodec patch ...@@ -9,21 +9,21 @@ Subject: [PATCH] windows ffnvcodec patch
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -6107,14 +6107,6 @@ else @@ -6246,14 +6246,6 @@ else
check_nvcc cuda_llvm check_nvcc cuda_llvm
fi fi
-if ! disabled ffnvcodec; then -if ! disabled ffnvcodec; then
- ffnv_hdr_list="ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h" - ffnv_hdr_list="ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h"
- check_pkg_config ffnvcodec "ffnvcodec >= 9.0.18.0" "$ffnv_hdr_list" "" || \ - check_pkg_config ffnvcodec "ffnvcodec >= 9.1.23.1" "$ffnv_hdr_list" "" || \
- check_pkg_config ffnvcodec "ffnvcodec >= 8.2.15.8 ffnvcodec < 8.3" "$ffnv_hdr_list" "" || \ - check_pkg_config ffnvcodec "ffnvcodec >= 9.0.18.3 ffnvcodec < 9.1" "$ffnv_hdr_list" "" || \
- check_pkg_config ffnvcodec "ffnvcodec >= 8.1.24.9 ffnvcodec < 8.2" "$ffnv_hdr_list" "" || \ - check_pkg_config ffnvcodec "ffnvcodec >= 8.2.15.10 ffnvcodec < 8.3" "$ffnv_hdr_list" "" || \
- check_pkg_config ffnvcodec "ffnvcodec >= 8.0.14.9 ffnvcodec < 8.1" "$ffnv_hdr_list" "" - check_pkg_config ffnvcodec "ffnvcodec >= 8.1.24.11 ffnvcodec < 8.2" "$ffnv_hdr_list" ""
-fi -fi
- -
check_cpp_condition winrt windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)" check_cpp_condition winrt windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)"
if ! disabled w32threads && ! enabled pthreads; then if ! disabled w32threads && ! enabled pthreads; then
-- --
2.22.0.windows.1 2.27.0
From f7e11c47904c43ada3821e7771229945c08a2080 Mon Sep 17 00:00:00 2001 From d8378480c349c5c4e30ca89fa68695661103c309 Mon Sep 17 00:00:00 2001
From: Eden Abitbol <eden.abitbol@savoirfairelinux.com> From: Pierre Lespagnol <pierre.lespagnol@savoirfairelinux.com>
Date: Tue, 27 Aug 2019 12:07:02 -0400 Date: Fri, 29 Jan 2021 16:56:48 -0500
Subject: [PATCH] windows libmfx patch Subject: [PATCH] windows libmfx patch
--- ---
...@@ -9,15 +9,19 @@ Subject: [PATCH] windows libmfx patch ...@@ -9,15 +9,19 @@ Subject: [PATCH] windows libmfx patch
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -6225,8 +6225,6 @@ enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_ @@ -6374,12 +6374,6 @@ enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_
# Media SDK or Intel Media Server Studio, these don't come with # Media SDK or Intel Media Server Studio, these don't come with
# pkg-config support. Instead, users should make sure that the build # pkg-config support. Instead, users should make sure that the build
# can find the libraries and headers through other means. # can find the libraries and headers through other means.
-enabled libmfx && { check_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFXInit || -enabled libmfx && { check_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFXInit ||
- { require libmfx "mfx/mfxvideo.h" MFXInit "-llibmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } } - { require libmfx "mfx/mfxvideo.h" MFXInit "-llibmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } }
-if enabled libmfx; then
- check_cc MFX_CODEC_VP9 "mfx/mfxvp9.h mfx/mfxstructures.h" "MFX_CODEC_VP9"
-fi
-
enabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load enabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load
enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs
enabled libmysofa && { check_pkg_config libmysofa libmysofa mysofa.h mysofa_load || enabled libmysofa && { check_pkg_config libmysofa libmysofa mysofa.h mysofa_neighborhood_init_withstepdefine ||
-- --
2.22.0.windows.1 2.27.0
From 737a77c1399d5f8fdab5b913b5e6b43f6ec73751 Mon Sep 17 00:00:00 2001 From 1d10f0603d85336efef694036c884b1743572e1e Mon Sep 17 00:00:00 2001
From: Eden Abitbol <eden.abitbol@savoirfairelinux.com> From: Pierre Lespagnol <pierre.lespagnol@savoirfairelinux.com>
Date: Tue, 27 Aug 2019 12:00:41 -0400 Date: Fri, 29 Jan 2021 16:08:55 -0500
Subject: [PATCH] windows configure patch Subject: [PATCH] windows configure patch
--- ---
...@@ -9,7 +9,7 @@ Subject: [PATCH] windows configure patch ...@@ -9,7 +9,7 @@ Subject: [PATCH] windows configure patch
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -1569,7 +1569,7 @@ require_cpp_condition(){ @@ -1578,7 +1578,7 @@ require_cpp_condition(){
require_pkg_config(){ require_pkg_config(){
log require_pkg_config "$@" log require_pkg_config "$@"
pkg_version="$2" pkg_version="$2"
...@@ -18,7 +18,7 @@ Subject: [PATCH] windows configure patch ...@@ -18,7 +18,7 @@ Subject: [PATCH] windows configure patch
} }
test_host_cc(){ test_host_cc(){
@@ -6286,28 +6286,6 @@ enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_in @@ -6436,28 +6436,6 @@ enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_in
enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/codec.h vorbis_info_init && enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/codec.h vorbis_info_init &&
require_pkg_config libvorbisenc vorbisenc vorbis/vorbisenc.h vorbis_encode_init require_pkg_config libvorbisenc vorbisenc vorbis/vorbisenc.h vorbis_encode_init
...@@ -44,10 +44,10 @@ Subject: [PATCH] windows configure patch ...@@ -44,10 +44,10 @@ Subject: [PATCH] windows configure patch
- fi - fi
-} -}
- -
enabled libwavpack && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput -lwavpack
enabled libwebp && { enabled libwebp && {
enabled libwebp_encoder && require_pkg_config libwebp "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion enabled libwebp_encoder && require_pkg_config libwebp "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion
@@ -6973,17 +6951,6 @@ flatten_extralibs_wrapper(){ enabled libwebp_anim_encoder && check_pkg_config libwebp_anim_encoder "libwebpmux >= 0.4.0" webp/mux.h WebPAnimEncoderOptionsInit; }
@@ -7140,17 +7118,6 @@ flatten_extralibs_wrapper(){
eval printf \''%s'\' \""\$$list_name"\" eval printf \''%s'\' \""\$$list_name"\"
} }
...@@ -66,5 +66,4 @@ Subject: [PATCH] windows configure patch ...@@ -66,5 +66,4 @@ Subject: [PATCH] windows configure patch
eval ${linkunit}_extralibs=\$\(flatten_extralibs_wrapper ${linkunit}_extralibs\) eval ${linkunit}_extralibs=\$\(flatten_extralibs_wrapper ${linkunit}_extralibs\)
done done
-- --
2.22.0.windows.1 2.27.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment