Bug 272575

Summary: multimedia/ffmpeg: update to 6.1
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy, multimedia
Priority: --- Flags: jbeich: exp-run+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/freebsd/freebsd-ports/compare/main...jbeich:ffmpeg-6.1.patch
See Also: https://github.com/mpv-player/mpv/issues/11739
Bug Depends on: 274432, 274439    
Bug Blocks:    

Description Jan Beich freebsd_committer freebsd_triage 2023-07-18 18:04:35 UTC
Vulkan Video requires Mesa >= 23.0, FFmpeg >= 6.1, mpv >= 0.36. To test apply the patch (URL), read the guide (See Also) then run

$ pkg install mpv mesa-devel # if built by poudriere
$ export ANV_VIDEO_DECODE=1 RADV_PERFTEST=video_decode
$ mpv --hwdec=vulkan --gpu-api=vulkan --vo=gpu-next /path/to/file.mp4
Comment 1 Name 2023-10-12 19:53:49 UTC
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1:/Changelog in patch now returns 404.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2023-11-16 18:20:19 UTC
musicpd, https://github.com/MusicPlayerDaemon/MPD/issues/1898
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-11-17 08:51:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91af44585eeaf773a4a1294ccaab764f8341d3aa

commit 91af44585eeaf773a4a1294ccaab764f8341d3aa
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-11-11 00:25:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-11-17 08:48:56 +0000

    multimedia/ffmpeg: update to 6.1

    - HARFBUZZ (like ASS option) is enabled to keep -vf drawtext
    - Rebuild mpv to expose --hwdec=vulkan

    Changes:        https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1:/Changelog
    PR:             272575
    Reported by:    Repology
    Exp-run by:     antoine

 multimedia/ffmpeg/Makefile                         | 27 ++++++++++++----
 multimedia/ffmpeg/distinfo                         |  8 ++---
 .../ffmpeg/files/patch-libplacebo-6.292 (gone)     | 37 ----------------------
 multimedia/ffmpeg/pkg-plist                        | 18 ++++++-----
 multimedia/mpv/Makefile                            |  2 +-
 5 files changed, 36 insertions(+), 56 deletions(-)
Comment 5 Jan Beich freebsd_committer freebsd_triage 2023-11-17 08:56:15 UTC
(In reply to Antoine Brodin from comment #2)
- wl-screenrec fixed by ports eb2f6b420890
- musicpd fixed by ports 2e016d720ad1
- musicpd had 2 consumers, both built fine "as is"