Bug 272575 - multimedia/ffmpeg: update to 6.1
Summary: multimedia/ffmpeg: update to 6.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL: https://github.com/freebsd/freebsd-po...
Keywords:
Depends on: 274432 274439
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-18 18:04 UTC by Jan Beich
Modified: 2023-11-17 08:56 UTC (History)
2 users (show)

See Also:
jbeich: exp-run+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"