Bug 246673 - multimedia/ffmpeg: patch filed with SVTVP9 on
Summary: multimedia/ffmpeg: patch filed with SVTVP9 on
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 05:12 UTC by Vladimir Druzenko
Modified: 2020-05-27 02:12 UTC (History)
3 users (show)

See Also:
jbeich: maintainer-feedback+
jbeich: merge-quarterly-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2020-05-23 05:12:30 UTC
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
Comment 1 Jan Beich freebsd_committer freebsd_triage 2020-05-23 08:13:59 UTC
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.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2020-05-23 08:26:03 UTC
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
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-05-27 02:09:21 UTC
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