From patchwork Tue Apr 7 16:49:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 2917 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 48xYL522ycz3yBn for ; Tue, 7 Apr 2020 16:50:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 48xYL34CT6z1kj; Tue, 7 Apr 2020 16:50:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 48xYL32N6Hz2yVk; Tue, 7 Apr 2020 16:50:03 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 48xYL074cRz2xm4 for ; Tue, 7 Apr 2020 16:50:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 48xYL01s4Jz1LB for ; Tue, 7 Apr 2020 16:50:00 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1586278200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=OBqKlh1q857CFQZD5+PDQeBW+/BjvH6R6reJk/Ue2tg=; b=XQDfiNXPti6Yy6A6ibjfITbH0HKoJ2hQS9BKIjOtSHeybrzAvYDRmmsmgsY8wXQSzmrBu/ IP7zC4yq+2I9l0Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1586278200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=OBqKlh1q857CFQZD5+PDQeBW+/BjvH6R6reJk/Ue2tg=; b=JKwE9pwabkaxEgEcaODXKRxIBBw1TYVLWYpFV4E7HhJv4xAH//adcZJL1ot9p3DF/ECLHC nha7e14ePj/lBewupaJlEZaj6h7cQRL4UFRtcA6m0hBj6j/NKSpfYoY0UYMnJ106BLcNUs Nlt7sFhO8ZmqWjYZU0SnnzMlcdrNyymE3LWl6cMH0CHKU+LnmJYNKsVjNZx4QW0Dzof+2K I0royxhMnSM8ExQjWrclvPJFUL2kERkLyXKPsO8vhDPlFF1Rx8gfgi2trNOZXFGvE6xX5q GncHDfg/yWWt3Wf7nEwgFrgKyNGuNR0LYgDbGFy4NxgEpsply0G/OM1iwiCnvw== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH v3] ffmpeg: Update to 4.4.2 Date: Tue, 7 Apr 2020 18:49:54 +0200 Message-Id: <20200407164954.1638-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=matthias.fischer@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" (Correction of the v2-patch) For details see: http://ffmpeg.org/download.html#release_4.2 Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer --- config/rootfiles/packages/ffmpeg | 51 ++++++++++++++++---------------- lfs/ffmpeg | 9 +++--- 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/config/rootfiles/packages/ffmpeg b/config/rootfiles/packages/ffmpeg index 755764666..c0659f5ab 100644 --- a/config/rootfiles/packages/ffmpeg +++ b/config/rootfiles/packages/ffmpeg @@ -1,7 +1,8 @@ usr/bin/ffmpeg usr/bin/ffprobe -usr/bin/ffserver #usr/include/libavcodec +#usr/include/libavcodec/ac3_parser.h +#usr/include/libavcodec/adts_parser.h #usr/include/libavcodec/avcodec.h #usr/include/libavcodec/avdct.h #usr/include/libavcodec/avfft.h @@ -13,7 +14,6 @@ usr/bin/ffserver #usr/include/libavcodec/mediacodec.h #usr/include/libavcodec/qsv.h #usr/include/libavcodec/vaapi.h -#usr/include/libavcodec/vda.h #usr/include/libavcodec/vdpau.h #usr/include/libavcodec/version.h #usr/include/libavcodec/videotoolbox.h @@ -24,7 +24,6 @@ usr/bin/ffserver #usr/include/libavdevice/version.h #usr/include/libavfilter #usr/include/libavfilter/avfilter.h -#usr/include/libavfilter/avfiltergraph.h #usr/include/libavfilter/buffersink.h #usr/include/libavfilter/buffersrc.h #usr/include/libavfilter/version.h @@ -60,6 +59,7 @@ usr/bin/ffserver #usr/include/libavutil/dict.h #usr/include/libavutil/display.h #usr/include/libavutil/downmix_info.h +#usr/include/libavutil/encryption_info.h #usr/include/libavutil/error.h #usr/include/libavutil/eval.h #usr/include/libavutil/ffversion.h @@ -67,12 +67,14 @@ usr/bin/ffserver #usr/include/libavutil/file.h #usr/include/libavutil/frame.h #usr/include/libavutil/hash.h +#usr/include/libavutil/hdr_dynamic_metadata.h #usr/include/libavutil/hmac.h #usr/include/libavutil/hwcontext.h #usr/include/libavutil/hwcontext_cuda.h #usr/include/libavutil/hwcontext_d3d11va.h #usr/include/libavutil/hwcontext_drm.h #usr/include/libavutil/hwcontext_dxva2.h +#usr/include/libavutil/hwcontext_mediacodec.h #usr/include/libavutil/hwcontext_qsv.h #usr/include/libavutil/hwcontext_vaapi.h #usr/include/libavutil/hwcontext_vdpau.h @@ -112,6 +114,7 @@ usr/bin/ffserver #usr/include/libavutil/timestamp.h #usr/include/libavutil/tree.h #usr/include/libavutil/twofish.h +#usr/include/libavutil/tx.h #usr/include/libavutil/version.h #usr/include/libavutil/xtea.h #usr/include/libpostproc @@ -125,40 +128,40 @@ usr/bin/ffserver #usr/include/libswscale/version.h #usr/lib/libavcodec.a #usr/lib/libavcodec.so -usr/lib/libavcodec.so.57 -usr/lib/libavcodec.so.57.107.100 +usr/lib/libavcodec.so.58 +usr/lib/libavcodec.so.58.54.100 #usr/lib/libavdevice.a #usr/lib/libavdevice.so -usr/lib/libavdevice.so.57 -usr/lib/libavdevice.so.57.10.100 +usr/lib/libavdevice.so.58 +usr/lib/libavdevice.so.58.8.100 #usr/lib/libavfilter.a #usr/lib/libavfilter.so -usr/lib/libavfilter.so.6 -usr/lib/libavfilter.so.6.107.100 +usr/lib/libavfilter.so.7 +usr/lib/libavfilter.so.7.57.100 #usr/lib/libavformat.a #usr/lib/libavformat.so -usr/lib/libavformat.so.57 -usr/lib/libavformat.so.57.83.100 +usr/lib/libavformat.so.58 +usr/lib/libavformat.so.58.29.100 #usr/lib/libavresample.a #usr/lib/libavresample.so -usr/lib/libavresample.so.3 -usr/lib/libavresample.so.3.7.0 +usr/lib/libavresample.so.4 +usr/lib/libavresample.so.4.0.0 #usr/lib/libavutil.a #usr/lib/libavutil.so -usr/lib/libavutil.so.55 -usr/lib/libavutil.so.55.78.100 +usr/lib/libavutil.so.56 +usr/lib/libavutil.so.56.31.100 #usr/lib/libpostproc.a #usr/lib/libpostproc.so -usr/lib/libpostproc.so.54 -usr/lib/libpostproc.so.54.7.100 +usr/lib/libpostproc.so.55 +usr/lib/libpostproc.so.55.5.100 #usr/lib/libswresample.a #usr/lib/libswresample.so -usr/lib/libswresample.so.2 -usr/lib/libswresample.so.2.9.100 +usr/lib/libswresample.so.3 +usr/lib/libswresample.so.3.5.100 #usr/lib/libswscale.a #usr/lib/libswscale.so -usr/lib/libswscale.so.4 -usr/lib/libswscale.so.4.8.100 +usr/lib/libswscale.so.5 +usr/lib/libswscale.so.5.5.100 #usr/lib/pkgconfig/libavcodec.pc #usr/lib/pkgconfig/libavdevice.pc #usr/lib/pkgconfig/libavfilter.pc @@ -185,8 +188,6 @@ usr/lib/libswscale.so.4.8.100 #usr/share/doc/ffmpeg/ffmpeg.html #usr/share/doc/ffmpeg/ffprobe-all.html #usr/share/doc/ffmpeg/ffprobe.html -#usr/share/doc/ffmpeg/ffserver-all.html -#usr/share/doc/ffmpeg/ffserver.html #usr/share/doc/ffmpeg/general.html #usr/share/doc/ffmpeg/git-howto.html #usr/share/doc/ffmpeg/libavcodec.html @@ -224,6 +225,8 @@ usr/lib/libswscale.so.4.8.100 #usr/share/ffmpeg/examples/scaling_video.c #usr/share/ffmpeg/examples/transcode_aac.c #usr/share/ffmpeg/examples/transcoding.c +#usr/share/ffmpeg/examples/vaapi_encode.c +#usr/share/ffmpeg/examples/vaapi_transcode.c #usr/share/ffmpeg/ffprobe.xsd #usr/share/ffmpeg/libvpx-1080p.ffpreset #usr/share/ffmpeg/libvpx-1080p50_60.ffpreset @@ -243,8 +246,6 @@ usr/lib/libswscale.so.4.8.100 #usr/share/man/man1/ffmpeg.1 #usr/share/man/man1/ffprobe-all.1 #usr/share/man/man1/ffprobe.1 -#usr/share/man/man1/ffserver-all.1 -#usr/share/man/man1/ffserver.1 #usr/share/man/man3/libavcodec.3 #usr/share/man/man3/libavdevice.3 #usr/share/man/man3/libavfilter.3 diff --git a/lfs/ffmpeg b/lfs/ffmpeg index 3e705c2d5..ed013bc22 100644 --- a/lfs/ffmpeg +++ b/lfs/ffmpeg @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2020 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 3.4 +VER = 4.2.2 THISAPP = ffmpeg-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ffmpeg -PAK_VER = 8 +PAK_VER = 9 DEPS = sdl lame libvorbis xvid @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 4d368db3431895d140e6f5f7b4987911 +$(DL_FILE)_MD5 = 829d56f158832dbf669b5b417af48060 install : $(TARGET) @@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure \ --prefix=/usr \ --enable-shared \