Created attachment 179320 [details] Attachment is a patch for the latest ffmpeg Makefile, adding x265 as a default Currently, the ffmpeg port (and package) have libx265 disabled by default. As it rises in popularity, it would be nice to have it as part of the package, since currently, one can only get support for encoding to libx265 by building the port. I am attaching a patch for the ffmpeg Makefile that adds it as a default option.
ArchLinux, Debian, Fedora (rpmfusion), Gentoo, Mageia (tainted) enable libx265 by default, so following the suit is fine. However, regressing Tier2 buildbots should be avoided as it can lead to skipping ~700 ports. Bug 216162 comment 6 makes updates a bit scary but in ffmpeg's case only because lack of PORTREVISION bump can screw portmaster/portupgrade users. https://abi-laboratory.pro/tracker/timeline/x265/
A commit references this bug: Author: riggs Date: Thu Feb 9 18:08:15 UTC 2017 New revision: 433759 URL: https://svnweb.freebsd.org/changeset/ports/433759 Log: Update to upstream version 3.2.3; promote X265 to default OPTION Details: - Update to upstream version 3.2.3, bugfix release, no upstream feature changes - HEVC is becoming so widespread that it warrants promoting the X265 option to default [1] PR: 216471 [1] Submitted by: scottro11@gmail.com [1] Changes: head/multimedia/ffmpeg/Makefile head/multimedia/ffmpeg/distinfo head/multimedia/ffmpeg/pkg-plist
A commit references this bug: Author: riggs Date: Mon Feb 13 07:05:29 UTC 2017 New revision: 433977 URL: https://svnweb.freebsd.org/changeset/ports/433977 Log: MFH: r433759 r433937 Update to upstream version 3.2.3; promote X265 to default OPTION Details: - Update to upstream version 3.2.3, bugfix release, no upstream feature changes - HEVC is becoming so widespread that it warrants promoting the X265 option to default [1] PR: 216471 [1] Submitted by: scottro11@gmail.com [1] Update to upstream version 3.2.4 Details: - patch-ffserver__config.c has been upstreamed - Fix two potential heap overflows in lavf/mov.c Security: CVE-2017-5024 CVE-2017-5025 Approved by: ports-secteam (junovitch) Changes: _U branches/2017Q1/ branches/2017Q1/multimedia/ffmpeg/Makefile branches/2017Q1/multimedia/ffmpeg/distinfo branches/2017Q1/multimedia/ffmpeg/files/patch-ffserver__config.c branches/2017Q1/multimedia/ffmpeg/pkg-plist