Commit graph

129 commits

Author SHA1 Message Date
Jan Beich
25b37a7bcd multimedia/ffmpeg: update to 6.1.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1.2:/Changelog
Reported by:	Repology, portscout
2024-08-13 15:53:16 +02:00
Jan Beich
746d696b4a graphics/vulkan-headers: update to 1.3.277
Force rebuild vulkan-loader to make sure vulkaninfo shows the new version.

Changes:	https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.276...v1.3.277
See also:	https://www.khronos.org/blog/khronos-releases-vulkan-video-av1-decode-extension-vulkan-sdk-now-supports-h.264-h.265-encode
Reported by:	Repology, portscout
2024-02-02 14:32:03 +01:00
Jan Beich
d35ea7b74f graphics/glslang: update to 14.0.0
Changes:	https://github.com/KhronosGroup/glslang/releases/tag/13.0.0
Reported by:	GitHub (watch releases)
2024-01-04 14:01:14 +01:00
Jan Beich
a5307f7c55 multimedia/ffmpeg: update to 6.1.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1.1:/Changelog
Reported by:	Repology, portscout
2024-01-01 05:36:50 +01:00
Jan Beich
91af44585e 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
2023-11-17 09:48:56 +01:00
Robert Nagy
fef6b65345 multimedia/ffmpeg*: enable support for the .data.rel.ro section
enable support for the .data.rel.ro section because the arm64
assembly code in ffmpeg depends on it in case of -pie and -fPIC

Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D41609
2023-08-29 14:59:18 +02:00
Jan Beich
eb0549e826 graphics/libplacebo: update to 6.292.0
Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.0
Reported by:	Repology
2023-07-06 22:18:59 +00:00
Kai Knoblich
d4d975cffa multimedia/ffmpeg: Import compatibility patch for qt5-webengine
Add symbol for "av_stream_get_first_dts" to ffmpeg

PR:		270209
2023-04-27 14:01:46 +02:00
Jan Beich
685e477b80 multimedia/ffmpeg: update to 6.0
* --enable-avresample is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/420cedd49745
* SHADERC replaces GLSLANG per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/da72aca7b025
* VULKAN is enabled per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/fa2e460f635
* LIBPLACEBO is enabled to have even more Vulkan goodies
* LCMS2 is enabled for better ICC profile support
* JXL is enabled for https://github.com/mpv-player/mpv/commit/1345977f9976

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.0:/Changelog
PR:		261302
Reported by:	Repology
Exp-run by:	antoine
Approved by:	tcberner
2023-04-27 14:01:40 +02:00
Jan Beich
4a0ff77530 multimedia/ffmpeg: speed up DRM (kmsgrab), OPENCL, VAAPI, VULKAN
https://github.com/ffmpeg/ffmpeg/commit/993d8d94296e
2023-03-08 00:10:41 +00:00
Alex S
2b8c1c0c04 multimedia/ffmpeg: add NVENC option
On FreeBSD requires nvidia-driver >= 495 for CUDA initialization fix
and linux-nvidia-libs + libc6-shim until nvidia-driver provides native
libcuda.so, libnvidia-encode.so, libnvcuvid.so.

PR:		264027
2022-10-19 17:43:35 +00:00
Jan Beich
c1e0a52d1a multimedia/ffmpeg: update to 4.4.3
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.4.3:/Changelog
Reported by:	portscout
2022-10-10 18:17:57 +00:00
Martin Neubauer
906df1b6f2 multimedia/ffmpeg: fix build with SDL option enabled
Since this is a patch that has already applied to the ffmpeg upstream,
we should either apply this patch or upgrade to an fixed upstream
version, see:

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/e5163b1d3438

This issue has existed for some time and despite the port being
upgraded in between, therefore I'll commit the patch under the
"just fix it" exception granted by portmgr, it can be removed by
the maintainers when ffmpeg is upgraded to a fixed version.

PR:		266299
Reported by:	m.ne@gmx.net (Martin Neubauer)
Approved by:	portmgr (implicit)
2022-09-19 09:42:43 +02:00
Jan Beich
16655b80c7 multimedia/ffmpeg: backport a SVTAV1 fix 2022-09-13 00:17:13 +00:00
Jan Beich
04363fa19e multimedia/ffmpeg: backport more SVTAV1 fixes
Bump PORTREVISION twice to catch up with 2022Q2 branch.
2022-05-18 15:33:29 +00:00
Jan Beich
c4014afccf multimedia/ffmpeg: backport one more SVTAV1 fix
https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1858
2022-04-24 00:10:13 +00:00
Jan Beich
13c1171a71 multimedia/ffmpeg: update to 4.4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.4.2:/Changelog
Reported by:	OpenBSD
2022-04-18 17:48:09 +00:00
Jan Beich
1c6198d6c6 multimedia/ffmpeg: backport DAV1D and SVTAV1 fixes 2022-03-27 20:27:52 +00:00
Jan Beich
d8e2f9a0e8 multimedia/ffmpeg: switch 5e728b3087 to merged version 2022-03-06 10:15:52 +00:00
Jan Beich
ed76f53dec multimedia/ffmpeg: backport SVTAV1 fixes after d187ef9400 2022-02-25 23:27:30 +00:00
Jan Beich
5e728b3087 multimedia/ffmpeg: switch VMAF to v2 API (built-in models) 2021-11-08 17:33:41 +00:00
Jan Beich
7f163c23e1 multimedia/vmaf: unbreak legacy API consumers after 1868dedecc
$ aomenc --tune=vmaf --output=foo.mp4 foo.y4m
Pass 1/2 frame    1/0          0B       0 us 0.00 fpm [ETA  unknown] libvmaf ERROR could not read model from path: "/usr/local/share/model/vmaf_v0.6.1.json"
Fatal error: Failed to load VMAF model.

$ ffmpeg -i foo.y4m -i bar.y4m -lavfi libvmaf -f null -
[...]
libvmaf INFO `compute_vmaf()` is deprecated and will be removed in a future libvmaf version
libvmaf ERROR could not read model from path: "/usr/local/share/model/vmaf_v0.6.1.pkl"
libvmaf ERROR support for pkl model files has been removed, use json
libvmaf ERROR problem loading model file: /usr/local/share/model/vmaf_v0.6.1.pkl
[Parsed_libvmaf_0 @ 0x8061b3b40] libvmaf encountered an error, check log for details
2021-11-08 17:33:40 +00:00
Oleg Sidorkin
eabfea6cac multimedia/ffmpeg: unbreak LENSFUN=ON after 3d7938b006
libavfilter/vf_lensfun.c:229:63: error: too many arguments to function call, expected 5, have 7
                                                   inlink->h, LF_PF_U8, lensfun->reverse);
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/lensfun/lensfun.h:3075:11: note: 'lf_modifier_create' declared here
LF_EXPORT lfModifier *lf_modifier_create (
          ^
libavfilter/vf_lensfun.c:231:119: error: too few arguments to function call, expected 5, have 3
                lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                              ^
/usr/local/include/lensfun/lensfun.h:3097:11: note: 'lf_modifier_enable_vignetting_correction' declared here
LF_EXPORT int lf_modifier_enable_vignetting_correction (
          ^
libavfilter/vf_lensfun.c:233:75: error: too few arguments to function call, expected 3, have 1
                lf_modifier_enable_distortion_correction(lensfun->modifier);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
/usr/local/include/lensfun/lensfun.h:3091:11: note: 'lf_modifier_enable_distortion_correction' declared here
LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier *modifier, const lfLens* lens, float focal);
          ^
libavfilter/vf_lensfun.c:234:100: error: too few arguments to function call, expected 4, have 2
                lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                            ^
/usr/local/include/lensfun/lensfun.h:3101:11: note: 'lf_modifier_enable_projection_transform' declared here
LF_EXPORT cbool lf_modifier_enable_projection_transform (
          ^
/usr/local/include/lensfun/lensfun.h:115:15: note: expanded from macro 'cbool'
 #define cbool int
               ^
libavfilter/vf_lensfun.c:238:68: error: too few arguments to function call, expected 3, have 1
                lf_modifier_enable_tca_correction(lensfun->modifier);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
/usr/local/include/lensfun/lensfun.h:3094:11: note: 'lf_modifier_enable_tca_correction' declared here
LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier, const lfLens* lens, float focal);
          ^

PR:		255035
2021-04-15 19:34:43 +00:00
Piotr Kubaj
23b483f917 multimedia/ffmpeg: fix build on powerpc64*
vec_xl function is already defined in altivec.h. Don't redefine it.

While here, remove the previous patch that is no longer needed with LLVM 11.

Since for LTO LLVM 9 is used, switch to GCC for LTO option.
2021-04-10 22:46:50 +00:00
Jan Beich
3d7938b006 multimedia/ffmpeg: update to 4.4
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.4:/Changelog
Reported by:	Repology
2021-04-08 23:33:31 +00:00
Jan Beich
22b2ac0d2c graphics/glslang: update to 11.0.0
Changes:	https://github.com/KhronosGroup/glslang/compare/8.13.3743...10-11.0.0
2020-12-25 00:31:35 +00:00
Piotr Kubaj
b1e6a23531 multimedia/ffmpeg: fix build on powerpc and powerpc64
Revert 3a557c5d88b7b15b5954ba2743febb055549b536 to fix build error on POWER systems.

PR:		247375
Approved by:	jbeich (maintainer)
2020-06-18 13:08:57 +00:00
Jan Beich
80fb99f09a multimedia/ffmpeg: switch to upstream svt-vp9 fix 2020-06-17 08:59:33 +00:00
Jan Beich
bf95f74ad4 multimedia/ffmpeg: update to 4.3
New defaults (using existing dependencies):
- Enable DRM for VAAPI-capable capture on KMS console, Wayland, X11
- Enable LIBXML2 by default for DASH demuxing support [1]

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.3:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Requested by:	Tal Al <tad@vif.com> (via private mail) [1]
Reported by:	portscout
2020-06-16 12:56:44 +00:00
Jan Beich
923b66f6e5 multimedia/ffmpeg: backport VP9 decode to VDPAU
VP9 is supported since Maxwell 2nd generation e.g., GeForce GTX 960.

PR:		242715
2019-12-20 16:37:49 +00:00
Jan Beich
f53dd61c6b multimedia/ffmpeg: backport minor rav1e fix 2019-11-14 00:43:43 +00:00
Jan Beich
646e4032d5 multimedia/ffmpeg: backport rav1e support
https://www.reddit.com/r/AV1/comments/dubsv5/rav1e_support_lands_in_ffmpeg_master/
2019-11-11 12:36:02 +00:00
Jan Beich
3c2de9b620 multimedia/ffmpeg: replace r495918 with upstream fix
Patch conflict makes it easier to prune on update.
2019-09-21 14:18:40 +00:00
Jan Beich
304bb1c46f multimedia/ffmpeg: update to 4.2.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-09-06 22:53:54 +00:00
Thomas Zander
b316bde5fa Fix build on ppc64 / clang.
Details:
- Import build fix from upstream, see:
  https://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247682.html
  https://trac.ffmpeg.org/ticket/7861

PR:		239782
Submitted by:	pkubaj
2019-08-23 13:26:28 +00:00
Jan Beich
662ef3d579 multimedia/ffmpeg: unbreak mkv seeking beyond 2gb after r508216
PR:		239905
Reported by:	naddy
Obtained from:	upstream (release/4.2 branch)
2019-08-17 21:04:33 +00:00
Jan Beich
325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +00:00
Jan Beich
611fd2b0f6 multimedia/ffmpeg: update to 4.1.4
- Backport more dav1d fixes from master branch

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
MFH:		2019Q3 (stabilization, maybe security)
2019-07-08 22:36:01 +00:00
Jan Beich
5161397623 multimedia/ffmpeg: backport AOM warning fix
[libaom-av1 encoder @ 0x807b0d1c0] Value -1.000000 for parameter 'enable-intrabc' out of range [0 - 1]
2019-05-09 00:52:20 +00:00
Jan Beich
12a0b91ab4 multimedia/ffmpeg: backport some aom/dav1d fixes 2019-03-30 00:34:14 +00:00
Thomas Zander
23a7653d1c Prefer dav1d over for decoding
PR:		234194
Submitted by:	jbeich (patch)
Reported by:	rozhuk.im@gmail.com
2019-03-16 17:29:46 +00:00
Jan Beich
0fadc89e86 multimedia/ffmpeg: backport fixes for libdav1d 2019-03-13 00:48:09 +00:00
Jan Beich
5c7866ea4a multimedia/ffmpeg: backport fixes for libaom/libdav1d 2019-01-10 00:39:22 +00:00
Jan Beich
20990c3f87 multimedia/aom: update to 1.0.0.1104
Changes:	https://aomedia.googlesource.com/aom/+log/9a48f9ca5..9b1252eab
2018-12-27 00:26:36 +00:00
Jan Beich
a681d90d91 multimedia/aom: update to 1.0.0.1080
Changes:	https://aomedia.googlesource.com/aom/+log/440e6d412..54f971197
2018-12-20 00:46:32 +00:00
Jan Beich
6a409b0f39 multimedia/ffmpeg: backport dav1d support
If both AOM and DAV1D are enabled FFmpeg defaults to libaom-av1,
so libdav1d needs to be selected explicitly. For example,

$ mpv --vd=libdav1d, --ytdl-format='bestvideo[vcodec=av01.0.05M.08]+bestaudio' \
    'https://www.youtube.com/playlist?list=PLyqf6gJt7KuHBmeVzZteZUlNUQAVLwrZS'
2018-12-16 08:02:16 +00:00
Jan Beich
0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Thomas Zander
5b633a3df0 Unbreak build on 12-BETA after OpenSSL 1.1.1 import into base
PR:		232707
Submitted by:	fluffy
MFH:		2018Q4
2018-10-28 16:28:15 +00:00
Jan Beich
c5333f12bf multimedia/ffmpeg: unbreak ALSA=off after r468844
https://ffmpeg.org/pipermail/ffmpeg-devel/2018-September/234516.html

PR:		232498
2018-10-21 10:33:37 +00:00
Jan Beich
ab5e245464 multimedia/aom: update to 1.0.0.693
1.0.0 was when bitstream stabilized. As browsers don't stick to a
particular version there's no reason for us as well.
https://chromium-review.googlesource.com/1234955
https://bugzilla.mozilla.org/show_bug.cgi?id=1489285

Changes:	https://aomedia.googlesource.com/aom/+log/v1.0.0..b69d8fe84/
Security:	oss-fuzz
2018-10-01 17:22:02 +00:00