Commit graph

168 commits

Author SHA1 Message Date
ryoon
3f802fe5c3 *: Recursive revbump from audio/pulseaudio 2022-07-02 16:53:03 +00:00
wiz
8292204475 *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
js
76bcb371f2 multimedia/mpv: Move to ffmpeg5 2022-06-27 00:07:01 +00:00
ryoon
12346d8027 mpv: Add some dependencies and options
* Bump PKGREVISION because default option has changed.
* Add archivers/libarchive as dependency to enable to play files in ZIP archive.
* Add sixel option and enable by default.
2022-05-17 13:12:13 +00:00
nia
390852dcdc mpv: To aid in playing surround sound files on typical NetBSD hardware,
default to downmixing surround files to stereo.

Healthy side effect: read default options from $SYSCONFDIR/mpv/mpv.conf.

Bump PKGREVISION
2022-05-03 07:04:27 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
tnn
536ce33d1f m*/*: revbump(1) for libsndfile 2022-03-28 10:45:17 +00:00
leot
f8c7310a42 mpv: Update to 0.34.1
Changes:
0.34.1
======
Bug fix release for the 0.34 branch.

Fixes and Minor Enhancements
----------------------------
 - player: fix autofit/geometry related segfault
 - ao_oss: add missing PATH_DEV_MIXER define
 - egl_helpers: fix context creation if GLES 3 is not available
 - audio: stop corrupting audio on underreads
 - wayland: fix a potential segfault on surface enter
 - vo_gpu: opengl: fix wrong glMemoryBarrier call
 - vo_gpu: opengl: create context at version 4.4 again
 - af_lavcac3enc: fix memory leak on no-op
 - subprocess: unblock/reset signals before running child process
 - wayland: avoid doing unneccesary window resizes
2022-01-06 20:02:16 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
leot
d92eac1eaf mpv: Update to 0.34.0
Changes:
Release 0.34.0
==============
Features
--------
Added
~~~~~
- player: allow vo to be switched at runtime
- input.conf syntax: support custom quotes in `XstringX` form & single quotes
- ao_ass: readd OSSv4 audio output, default on *BSD
- player: load cover art with the media filename
- vo_gpu: vulkan: implement a VkDisplayKHR backed context
- osc: seekbar hover/drag: display target chapter at the OSC title
- stats.lua: add page 4 with a list of active key bindings
- sub: add --sub-filter-jsre (JS regex)
- vo_rpi: restore fullscreen handling
- vo_tct: add resize capability
- ytdl_hook.lua: search for yt-dlp by default (preferred over youtube-dl)

Changed
~~~~~~~
- vo_sixel: many fixes and improvements
- filters: switch from scaletempo to scaletempo2, used for `speed` option
- audio/vo_pulse: fix various edge cases and issues
- stats.lua: move internal performance info from page 4 to page 0
- command: don't hardcode command lists to be repeatable

Removed
~~~~~~~
- mac: drop build support for swift versions earlier than 4.1
- vo_gpu: drop support for libplacebo older than v3.104.0


Options and Commands
--------------------
Added
~~~~~
- vo_sixel: add --vo-sixel-exit-clear
- player: add --screen-name and --fs-screen-name
- player/command: add albumart argument to video-add
- command: add pid (process id), display-width and display-height properties
- sub: add secondary-sub-text, -start, and -end properties; secondary-sub-visibility option
- vo_gpu: add --icc-force-contrast
- player: add append-play flag to loadlist
- command: add support for secondary subs to sub-seek and sub-step
- options: add watch-later-options to configure which options are saved
- player: add track-list/N/image sub-property
- input: add --no-input-builtin-bindings option
- drm_common: add --drm-device option

Changed
~~~~~~~
- vo_sixel: change default dither to "auto"
- vd_lavc: add VP8 to the default allowed hwdec codec list
- vo_gpu: lower default deband threshold to preserve more detail
- vo_gpu: adjust interpolation-threshold's default
- demux: undeprecate --cache-secs
- options: add `Uploader`, `Channel_URL` to --display-tags defaults
- options: --audio-display determines cover priority
- command: make current-window-scale writeable

Deprecated
~~~~~~~~~~
- win32: ignore and deprecate --fit-border
- drm_common: deprecate selecting by card number in --drm-connector

Removed
~~~~~~~
- vo_gpu: remove --icc-contrast
- stats.lua: remove script-opts for the main keys (i/I)
- vo_gpu: opengl: remove --opengl-restrict


Fixes and Minor Enhancements
----------------------------
- terminal: correctly process input when foregrounded
- vo_wlshm: support presentation time
- mac: fix a window positioning bug when exiting fullscreen
- csputils: add mappings for DCI-P3 (ST.431-2) and P3-D65 (ST.432-1)
- player: make resetting of track selection to "auto" work
- stream_lavf: support rtsps
- vo_wlshm: support big endian systems
- demux_mf: add support for more image codecs
- msg: fix really-quiet option to only affect terminal output
- mac: fix traditional fullscreen on macOS 11
- ao_pulse: fix misbehavior with PipeWire when setting volume or mute
- stats.lua: include a filter's @label when displaying filters on page 1
- wayland, win32: support the display-hidpi-scale property
- win32: keep the window title-bar inside the screen
- filter_kernels: fix incorrect constant for quadric window
- command: add display-width/display-height property
- edl: add a way to add tags
- stream_file: disable readahead for remote files on macOS to fix stutter
- osxbundle: fix slow and wasteful memory allocation that caused stutter
- vo_gpu: fix extreme clipping with --gamut-clipping for HDR outputs
- af_scaletempo2: speed up using vector calculations
- recorder: fix muxing of certain codecs
- win32: support the focused property
- js: add mp.utils.append_file
- subs: fix missing subtitles on last frame
- stats.lua: show scaled resolution
- osc: expose osc-visibility via shared-script-properties
- terminal-unix: fix ^Z identification and ignore unknown CSI sequences
- context_drm_egl: allow autoprobe selection
- wayland: improve behavior with touch events
- command: make current-window-scale writeable
- vo_vdpau: don't treat preemption as an error to fix VT switching
- wayland: read XCURSOR_THEME to get cursor theme
- demux_playlist: extend maximum line size (again) to 2M
- win32: call timeBeginPeriod on demand on Windows 10
- build: allow easier selection of lua version/package
- vo_gpu: fix distortion with certain rotated videos
- drm_common: skip non-primary devices during automatic choosing
- drm_common: support USB, SPI, Writeback and unknown connector types (future proofing)
2021-11-01 17:39:26 +00:00
nia
2531503114 multimedia: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (for legal reasons?):

./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.i386.tar.gz
./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.x86_64.tar.gz
./multimedia/libdvdcss/distinfo libdvdcss-1.4.3.tar.bz2
2021-10-26 11:00:57 +00:00
nia
1094812f57 Recursive revbump for multimedia/libaom 2021-10-09 15:35:02 +00:00
nia
434d9cfcd9 multimedia: Remove SHA1 hashes for distfiles 2021-10-07 14:32:01 +00:00
nia
01e05d4ecf Recursive revbump for audio/jack 2021-09-08 21:04:53 +00:00
ryoon
ce5e37658b *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
nia
9e3c6d4b9f mpv: only disable EGL if unavailable in Mesa
reported by mikeqin on IRC
2021-04-25 06:09:41 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
leot
fb1d507052 mpv: Update to 0.33.1
Changes:
0.33.1
======
Security fix release for the 0.33 branch. Users are advised to upgrade immediately.

Fixes and Minor Enhancements
----------------------------
- demux_mf: improve format string processing
2021-04-05 18:14:20 +00:00
ryoon
bee3953c45 *: Recursive revbump from audio/pulseaudio-14.2.nb1 2021-02-07 06:30:06 +00:00
ryoon
bfac3f1b42 *: Recursive revbump from audio/pulseaudio-14.0 2021-01-01 09:52:09 +00:00
nia
2c8d590893 Normalize handling packages that require 64-bit atomic ops. 2020-12-31 20:04:11 +00:00
nia
3748d3c916 mpv: Requires 64-bit atomic operations
Noticed by John D. Baker on pkgsrc-users
2020-12-24 09:28:14 +00:00
nia
0db157f498 mpv: Make wayland option unavailable on non-Linux for now.
Upstream decided to make wayland support linux-only.

This doesn't actually matter much at all since you can just use the SDL
video output...
2020-12-19 12:17:29 +00:00
leot
ef5062bf74 mpv: Update to 0.33.0
pkgsrc changes:
 - Remove `ass' option: libass is now always needed and enabled
 - Add `openal' option to enable openal ao (disabled by default)
 - Remove pkgsrc patches ao-s that were removed in 0.33.0 (a possible
   patch for oss ao is under discussion upstream:
   https://github.com/mpv-player/mpv/pull/8312 )

Changes:
0.33.0
======
Features
--------
Added
~~~~~
- scripting: load scripts from directories
- mac: activate logging when started from the bundle
- ytdl_hook.lua: delay load subtitles
- sub: add an option to filter subtitles by regex
- scripting: add a way to run subprocesses as "scripts"
- command: implement asynchronous commands and support for named arguments
- player: add optional separate video decoding thread
- vo_gpu: d3d11: add support for exclusive fullscreen
- w32_common: Support HiDPI on Windows
- vo_x11: add 10 bit support
- vo_gpu: add BT.2390 tone-mapping
- client API: add software rendering API
- audio: add scaletempo2 filter based on chromium
- auto_profiles: add this script
- stream: Implement slice:// for reading slices of streams
- player: add automatic loading of external cover art files
- vo_sixel: implement terminal video output using sixel

Changed
~~~~~~~
- sws_utils: use zimg by default if available
- build: pick up Lua 5.2 by default (preferred over 5.1)
- build: disable RPI vendor blob auto-detection in favor of open-source stack
- build: make C11 atomics mandatory
- build: make libass non-optional
- player: stricter filename matching for external subtitle auto-loading
- lua: support Unicode paths in script loading and IO library
- vo_direct3d: rip out texture video rendering path and dumb down OSD rendering
- audio: rewrite internal audio handling and AO API
- build: disable GLX by default

Removed
~~~~~~~
- stream_libarchive: disable tar support due to bugs
- Remove remains of Libav compatibility
- stream_smb: remove due to lack of thread safety and the abundance
  of alternatives, FFmpeg still includes SMB support
- command: remove legacy hook API (has been deprecated for a long time)
- client API: remove deprecated qthelper.hpp header
- removed audio outputs: sndio, rsound, oss
- x11: remove xdg-screensaver invocations that supported dbus based idle inhibit
- client API: deactivate the opengl_cb API
- build system: drop Python 2 compatbility


Options and Commands
--------------------
Added
~~~~~
- demux: add option to disable cache "sharing" between back and forward buffers
- player: add ab-loop-count option/property
- ytdl_hook: add a way to use ytdl's default formats
- ytdl_hook: add all_formats option that loads all formats that were found
- demux_mkv: document probe-start-time option and enable it by default
- command: extend osd-overlay command with bounds reporting
- player: a number of new playlist contol commands/properties
- ipc: add --input-ipc-client option
- options: add option to control display-sync factor
- vo_gpu: add better gamut clipping option
- vo_gpu: vulkan: add ability to disable events
- x11: add option to make window appear on a specific workspace
- wayland: expose wayland-app-id as a user option
- player: add --subs-with-matching-audio option
- command: add read-only focused property
- screenshot: option to use software rendering for screenshots
- command: add delete-watch-later-config
- command: new property mouse-pos with current position and hover state

Changed
~~~~~~~
- options: remove deprecation warning for "-foo bar" syntax
- player: make audio hr-seek default
- ad_lavc: disable decoder downmix by default
- command: support save-position-on-quit for "stop" command too
- command: extend subprocess command
- options: do not accept ":" as separator anymore in key/value lists

Deprecated
~~~~~~~~~~
- demux: deprecate --cache-secs

Removed
~~~~~~~
- wayland: remove wayland-frame-wait-offset option
- input: remove deprecated --input-file option
- vo_vdpau: remove deprecated/inactive --vo-vdpau-deint option


Fixes and Minor Enhancements
----------------------------
- options: stop hiding deprecated options from --help output
- lua, js: add mp.get_script_directory() function
- lua: fix security relevant loading order issue with scripts
- player: make screenshot each-frame mode more accurate
- bash completion: complete ao/af/vo/vf options
- zimg: add alpha support
- wayland: make resizing better
- edl: add mechanism for delay loading streams
- stream_file: fix caching-related performance regression on CIFS
- cocoa-cb: fix crashes and issues with UI updates
- sub, demux: improve behavior with negative subtitle delay/muxed subs
- demux: make seek ranges work for static images + audio
- cocoa-cb: support maximize/minimize on startup
- umpv: change from legacy FIFO to socket
- stats: move input speed to cache page, make it a graph
- stats: add fourth page with performance graphs
- command: print edition title to OSD when cycling
- zimg: add support for big endian input and output
- demux_mkv: add png intra support
- build: detect VT_GETMODE on FreeBSD and DragonFly
- win32: use windows 10 native virtual-terminal if available
- vo_gpu: enable frame caching for still frames
- command: add property to return text subtitles in ASS
- vo_gpu: ra_pl: add timers support
- build: allow vo_wlshm on more Wayland platforms (e.g. FreeBSD)
- zimg: add slice threading and use it by default
- command: add a way to access properties of a current track
- vo_gpu: EGL: fix transparency on X11/EGL/Mesa
- vd_lavc: add AV1 to the default allowed hwdec codec list
2020-12-19 11:27:51 +00:00
nia
13bf33bfb6 mpv: Disable NOT_PAX_MPROTECT_SAFE.
I can't find a clear reason this was originally enabled - possibly to
work around bugs in ffmpeg?
2020-11-06 12:30:16 +00:00
ryoon
2831546220 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
leot
b13a568190 *: revbump for libsndfile 2020-08-18 17:57:24 +00:00
leot
953ab724e1 *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:19:01 +00:00
nia
8400efde9d mpv: Use LUA_VERSIONS_ACCEPTED. Needed for eventual Lua 5.4 default. 2020-06-30 14:30:38 +00:00
ryoon
7b260295bc mpv: Enable libmpv shaerd library build, bump PKGREVISION
And add buildlink3.mk.
2020-06-05 03:52:23 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +00:00
adam
46beaad0f0 revbump for multimedia/libdvdread; requested by leot@ 2020-05-22 12:43:52 +00:00
rillig
94bc2ace7f multimedia/mpv: remove nonexistent file from SUBST_FILES 2020-04-25 18:19:46 +00:00
nia
6bf187d1b1 mpv: Fix build on NetBSD 8. 2020-04-16 04:17:54 +00:00
nia
e9e2f4f13b mpv: update patch checksums 2020-04-10 04:00:02 +00:00
nia
fd0d450885 mpv: Clean up some cruft in ao_netbsd. 2020-04-09 21:08:38 +00:00
nia
4511cc5bb4 mpv: ao_netbsd changes...
- Implement get_space properly and use AUDIO_GETBUFINFO more
- Simplify implemention of get_delay and set period_size
2020-04-09 20:53:39 +00:00
nia
88e32a5a23 mpv: ao_netbsd improvements. Fixes playing very small audio files.
- Get the preferred sample rate from the device.
  This ensures sample rate conversion is done in user space,
  which is a Good Idea and should improve output quality.
  This backend is now Even More NetBSD.
- Implement drain().
- Bump up the buffer size.

Bump PKGREVISION
2020-04-08 12:17:02 +00:00
ryoon
0d5dec0343 mpv: Add libossaudio to fix build under recent NetBSD-current 2020-04-07 13:47:04 +00:00
leot
b9d19c13d7 mpv: Adjust two MP_ERR printf-s (missing \n and wrong `device' was printed)
OK <nia>, thanks!
2020-03-18 11:49:21 +00:00
nia
0fa147445b mpv: remove comments 2020-03-17 11:36:04 +00:00
nia
ca8f38c464 mpv: Cosmetic changes in options.mk 2020-03-17 11:22:31 +00:00
nia
540cd4bbf5 mpv: Re-enable OSS on NetBSD. Requested by leot 2020-03-17 11:21:49 +00:00
nia
73e689f087 mpv: Clean up options.mk and add a JACK option (off by default) 2020-03-16 21:28:23 +00:00
wiz
4abf956ffe mpv: pkglint cleanup (whitespace only) 2020-03-16 21:20:43 +00:00
wiz
fd32445b9c mpv: fix hardcoded interpreter path in patch 2020-03-16 21:20:02 +00:00
nia
f53796883e mpv: Simplify NetBSD audio implementation 2020-03-16 20:58:18 +00:00
nia
efe512c5c2 mpv: Add NetBSD audio support
We had some problems with the OSS audio output, this should avoid those.

This maintains pretty perfect audio-video sync and framerates with
autosync=0 and blk_ms=4.

Bump PKGREVISION
2020-03-16 20:31:44 +00:00