12.1 amd64. With option SVTVP9 patch apply error: ===> Applying distribution patches for ffmpeg-4.2.3,1 2 out of 8 hunks failed--saving rejects to libavformat/matroskaenc.c.rej ===> FAILED Applying distribution patch 0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch with -p1 *** Error code 1
Reported upstream (linked in See Also). For now either sandbox existing ffmpeg package or switch to SvtVp9EncApp. Using old ffmpeg is not recommended due to CVE-2019-13312 and CVE-2020-12284.
One more: https://github.com/OpenVisualCloud/SVT-VP9/blob/master/ffmpeg_plugin/README.md: Based on SVT-HEVC & SVT-AV1: git apply SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch git apply SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch git apply SVT-VP9/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch ./configure --enable-libsvthevc --enable-libsvtav1 --enable-libsvtvp9
A commit references this bug: Author: jbeich Date: Wed May 27 02:08:21 UTC 2020 New revision: 536667 URL: https://svnweb.freebsd.org/changeset/ports/536667 Log: multimedia/ffmpeg: unbreak SVTVP9 after r536258 ===> Applying distribution patches for ffmpeg-4.2.3,1 2 out of 8 hunks failed--saving rejects to libavformat/matroskaenc.c.rej ===> FAILED Applying distribution patch 0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch with -p1 *** Error code 1 PR: 246673 Reported by: VVD <vvd@unislabs.com> Changes: head/multimedia/ffmpeg/Makefile head/multimedia/ffmpeg/distinfo