gnu: ffmpeg: Update to 8.0.

* gnu/packages/video.scm (ffmpeg-7): Replace with...
(ffmpeg): ... this updated version.
(ffmpeg): Adjust to use ffmpeg.
(ffmpeg-jami): Stay on ffmpeg-6.
* gnu/packages/tor-browsers.scm (make-torbrowser): Likewise.
* gnu/packages/python-xyz.scm (python-av): Likewise.
* gnu/packages/qt.scm (qtmultimedia): Likewise.

Change-Id: I2d7b1861a647f583da93fe230fd0734742671d4d
This commit is contained in:
Maxim Cournoyer 2025-09-04 11:46:56 +09:00 committed by John Kehayias
parent e166ffb8ad
commit 6f138f0f16
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9
4 changed files with 261 additions and 261 deletions

View file

@ -13156,8 +13156,7 @@ experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
python-pytest python-pytest
python-setuptools python-setuptools
python-wheel)) python-wheel))
(inputs (inputs (list ffmpeg))
(list ffmpeg-7))
(home-page "https://github.com/PyAV-Org/PyAV") (home-page "https://github.com/PyAV-Org/PyAV")
(synopsis "Pythonic bindings for FFmpeg's libraries") (synopsis "Pythonic bindings for FFmpeg's libraries")
(description (description

View file

@ -2117,7 +2117,7 @@ Vulkan, OpenGL and other main graphic APIs.")
vulkan-headers)) vulkan-headers))
(inputs (inputs
(list alsa-lib (list alsa-lib
ffmpeg ffmpeg-6
glib glib
libxkbcommon libxkbcommon
libxrandr libxrandr

View file

@ -240,7 +240,7 @@ Browser.")
libxcomposite libxcomposite
libxt libxt
libffi libffi
ffmpeg-7 ffmpeg
libvpx libvpx
icu4c icu4c
pixman pixman

View file

@ -1644,17 +1644,17 @@ These tools require a supported graphics chip, driver, and VA-API back end to
operate properly.") operate properly.")
(license license:expat))) (license license:expat)))
(define-public ffmpeg-7 (define-public ffmpeg
(package (package
(name "ffmpeg") (name "ffmpeg")
(version "7.1.1") (version "8.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://ffmpeg.org/releases/ffmpeg-" (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1c837agaw8ljhjx6ndp2w7hffi2mkb22vnmb8v0fbfqdbqwq8fbk")))) "13kvs9rh5mp21gx64hdj0jlnz6q5c6spik8kh5q7fk6cnv61yxdj"))))
(outputs '("out" "debug")) (outputs '("out" "debug"))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
@ -1870,9 +1870,9 @@ convert and stream audio and video. It includes the libavcodec
audio/video codec library.") audio/video codec library.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public ffmpeg (define-public ffmpeg-6
(package (package
(inherit ffmpeg-7) (inherit ffmpeg)
(version "6.1.2") (version "6.1.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -1886,7 +1886,7 @@ audio/video codec library.")
"ffmpeg-add-av_stream_get_first_dts-for-chromium.patch")))) "ffmpeg-add-av_stream_get_first_dts-for-chromium.patch"))))
(arguments (arguments
(if (target-x86-32?) (if (target-x86-32?)
(substitute-keyword-arguments (package-arguments ffmpeg-7) (substitute-keyword-arguments (package-arguments ffmpeg)
((#:phases phases) ((#:phases phases)
#~(modify-phases #$phases #~(modify-phases #$phases
(add-before 'configure 'relax-gcc-14-strictness (add-before 'configure 'relax-gcc-14-strictness
@ -1896,7 +1896,7 @@ audio/video codec library.")
(string-append "-g -O2" (string-append "-g -O2"
" -Wno-error=incompatible-pointer-types" " -Wno-error=incompatible-pointer-types"
" -Wno-error=int-conversion"))))))) " -Wno-error=int-conversion")))))))
(package-arguments ffmpeg-7))))) (package-arguments ffmpeg)))))
(define-public ffmpeg-5 (define-public ffmpeg-5
(package (package
@ -2009,6 +2009,7 @@ audio/video codec library.")
;;; Custom ffmpeg package used by Jami, which incorporates custom patches. ;;; Custom ffmpeg package used by Jami, which incorporates custom patches.
(define-public ffmpeg-jami (define-public ffmpeg-jami
(let ((ffmpeg ffmpeg-6))
(package (package
(inherit ffmpeg) (inherit ffmpeg)
(name "ffmpeg-jami") (name "ffmpeg-jami")
@ -2272,7 +2273,7 @@ audio/video codec library.")
"--enable-encoder=hevc_vaapi") "--enable-encoder=hevc_vaapi")
'()))))) '())))))
(inputs (modify-inputs (package-inputs ffmpeg) (inputs (modify-inputs (package-inputs ffmpeg)
(append pipewire))))) (append pipewire))))))
(define-public ffmpegthumbnailer (define-public ffmpegthumbnailer
(package (package