0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

Release 0.38.0

This commit is contained in:
sfan5 2024-04-17 21:18:44 +02:00
parent 7a8a92be8d
commit 02254b92dd
No known key found for this signature in database
GPG Key ID: 8D769208D5E31419
11 changed files with 131 additions and 176 deletions

View File

@ -32,10 +32,11 @@ API changes
:: ::
--- mpv 0.38.0 --- --- mpv 0.38.0 ---
2.3 - partially revert the changes from API version 1.27, remove libmpv as the default VO and 2.3 - partially revert the changes from API version 1.27, remove libmpv as
move it to the bottom of the auto-probing order. this restores the behaviour prior API the default VO and move it to the bottom of the auto-probing order.
version 1.27 on all platforms other than macOS, but still auto selects libmpv/cocoa-cb This restores the prior behavior on all platforms other than macOS,
on macOS if it was built with support for cocoa-cb. but still auto selects libmpv/cocoa-cb on macOS if it was built with
support for cocoa-cb.
--- mpv 0.37.0 --- --- mpv 0.37.0 ---
2.2 - add mpv_time_ns() 2.2 - add mpv_time_ns()
--- mpv 0.36.0 --- --- mpv 0.36.0 ---

View File

@ -30,6 +30,14 @@ Interface changes
:: ::
--- mpv 0.38.0 --- --- mpv 0.38.0 ---
- add `term-size` property
- add the `escape-ass` command
- add `>` for fixed precision floating-point property expansion
- add `--input-comands` option
- change `--pulse-latency-hacks` default to `yes`
- add `context-menu` command
- add `menu-data` property
- add `--vo-tct-buffering` option
- add `begin-vo-dragging` command - add `begin-vo-dragging` command
- add `--deinterlace-field-parity` option - add `--deinterlace-field-parity` option
- add `--volume-gain`, `--volume-gain-min`, and `--volume-gain-max` options - add `--volume-gain`, `--volume-gain-min`, and `--volume-gain-max` options

View File

@ -1 +0,0 @@
add `--input-comands` option

View File

@ -1,2 +0,0 @@
add `context-menu` command
add `menu-data` property

View File

@ -1 +0,0 @@
add the `escape-ass` command

View File

@ -1 +0,0 @@
add `>` for fixed precision floating-point property expansion

View File

@ -1 +0,0 @@
change `--pulse-latency-hacks` default to `yes`

View File

@ -1 +0,0 @@
add `term-size` property

View File

@ -1 +0,0 @@
add `--vo-tct-buffering` option

View File

@ -1,10 +1,9 @@
Release 0.37.0 Release 0.38.0
============== ==============
This release requires FFmpeg 4.4 or newer and libplacebo 6.338.0 or newer. This release requires FFmpeg 4.4 or newer and libplacebo 6.338.2 or newer.
This is the first release to unconditionally require libplacebo, but note that The new improved renderer (vo_gpu_next) is being worked on and not the default yet.
the new improved renderer (vo_gpu_next) is not yet the default.
Features Features
@ -13,31 +12,30 @@ Features
New New
~~~ ~~~
- ao_oss: add SPDIF passthrough support - scripting: add mp.input()
- hwtransfer: implement support for HW->HW format conversions - player: add an option to automatically turn on deinterlacing
- stream/dvbin: add support for delivery system ISDB-T - mac: add more Now Playing information and functionality
- audio/chmap: support up to 64 channels (including 22.2 layout) - osxbundle: automatically include MoltenVK to enable Vulkan support
- libmpv: add mpv_time_ns() - input.conf: bind Ctrl+WHEEL_UP/DOWN to video-zoom
- vo_gpu, vo_gpu_next: add Vulkan support for macOS - ao_avfoundation: initial support for AVFoundation audio driver (macOS)
- meson: make libplacebo a required dependency - vo: add context menu support on win32
- hwdec: support videotoolbox hwdec with libplacebo
Changed Changed
~~~~~~~ ~~~~~~~
- msg: print warning and error messages to stderr - osc: allow disabling special mouse wheel behavior
- options: restore old default subtitle selection behavior - mac: add support for dynamic change of geometry, autofit
- input.conf: swap wheel up/down with wheel left/right - x11_common: allow DPI scale in unit of 0.5 and prefer the value from Xft.dpi
- vo_gpu_next: save cache to separate files
- mac: large amounts of refactoring, internal improvements and cleanups
- builtin.conf: remove debanding from the high-quality profile
Removed Removed
~~~~~~~ ~~~~~~~
- waf: remove waf as a build system - player: remove legacy, non-standard Raspberry Pi-specific support code
- osc.lua: remove toggle for forced only subpictures (appeared as [F])
- mac: remove runtime checks and compatibility for macOS older than 10.15
- cocoa: remove deprecated OpenGL cocoa backend
Options and Commands Options and Commands
@ -46,169 +44,125 @@ Options and Commands
Added Added
~~~~~ ~~~~~
- vo_gpu_next: add --hdr-peak-percentile - options: add secondary-sub-delay
- player: add --term-remaining-playtime option - options: add --osd-bar-border-size
- x11: add --x11-wid-title option - filter_sdh: add --sub-filter-sdh-enclosures option
- vo_gpu_next: add --libplacebo-opts - options: add --secondary-sub-ass-override
- player: add --subs-match-os-language option (replaces 'auto' option) - audio: add --volume-gain option to control volume in decibels
- vo: add --video-crop - command: export current-gpu-context property
- win32: add --window-corners, --window-affinity, --title-bar, --backdrop-type - sub: add --sub-lavc-o option
- sub: add --sub-stretch-durations option - command: add load-config-file and load-input-conf
- input: add --input-preprocess-wheel option
- player: add loadfile/loadlist insert-next commands
- input: rework window dragging to be command controllable
- options: add --deinterlace-field-parity option
- vo: add video-target-params property
- options: add --input-commands that runs commands at startup
Changed Changed
~~~~~~~ ~~~~~~~
- builtin.conf: add --hdr-peak-percentile=99.995 to gpu-hq profile - player/command: add ability to scale overlay
- player: add 'always' option to --subs-fallback-forced - mac: add support for window-id property and --drag-and-drop
- demux_playlist: default to --directory-mode=lazy - command: support passing scale to `keypress`
- builtin.conf: add --allow-delayed-peak-detect=no to gpu-hq profile - mac: add support for --auto-window-resize, --input-cursor-passthrough options
- vo_gpu, vo_gpu_next: support --icc-3dlut-size=auto - win32: add support for --input-cursor-passthrough option
- demux: prepend some cache options with --demuxer- - x11_common: support --title-bar
- builtin.conf: modernize internal profiles for higher quality rendering by default, - sub: allow setting special page numbers via --teletext_page
rename 'gpu-hq' profile to 'high-quality', add 'fast' profile - player: set --hidpi-window-scale to no by default
- vo_gpu, vo_gpu_next: default to dscale=hermite - osd_libass: update the OSD bar's dent and border size
- builtin.conf: remove deprecated 'opengl-hq' profile - player: remove --alpha and rename --background to --background-color
- options: remove a bunch of old option fallbacks/deprecated ones - options: remove --focus-on-open and add --focus-on
- vo_gpu: allow --deband-iterations to be 0
- stream_cdda: deprecate --cdda-toc-bias and always check for offsets
- options: disable --allow-delayed-peak-detect by default
- options: adjust default of --watch-later-options
Deprecated
~~~~~~~~~~
- command: deprecate shared-script-properties
- demux_cue: deprecate --demuxer-cue-codepage for --metadata-codepage
Removed Removed
~~~~~~~ ~~~~~~~
- player: remove special 'auto' option from alang/slang/vlang (previous default) - player: remove --term-remaining-playtime option
- vo_gpu: remove --tone-mapping-mode
- vo_gpu: remove --scale-wblur, --scale-cutoff etc.
- vo_gpu: remove --scaler-lut-size
- m_option: drop support for -del for list options
Fixes and Minor Enhancements Fixes and Minor Enhancements
---------------------------- ----------------------------
- build: remove unneeded libdl requirement for vaapi - vaapi: add support for vaapi-win32
- zimg: fix abort on subsampled input with odd heights - ao/coreaudio_exclusive: fix segfault when changing formats
- video_writer: fix gamma for YUV screenshots - mac: fix libmpv usage without embedding
- player/video: fix possible crash when changing lavfi-complex - build: only directly link shaderc and spirv-cross on windows
- ad_spdif: fix segfault due to early deallocation - build: enable dvbin by default again
- ao_pipewire: fix race conditon with setting the media role - playloop: use a 16:9 ratio with --force-window
- draw_bmp: fix overflowing coordinates in mark_rcs - mac: report modifier keys on precise scrolling
- ao_sndio: use sio_flush() to improve controls responsiveness - input: fix double click handling
- vo_vdpau: fix hwdec for this vo - input: add missing forward media key ('GO_FORWARD')
- vo_gpu, vo_gpu_next: fix setting an empty dscale - sub: don't busy loop if the player is paused for cache
- vd_lavc: repeatedly attempt to fallback if hwdec fails in reinit - playlist: correctly populate playlist-path with the --playlist option
- options: fix relative time parsing on negative input - win32: opt in to the windows segment heap
- win32: signal DPI changes correctly - demux_lavf: remove fix_editlists hack for mp4
- mp_image: properly infer color levels for some pixfmts - wayland: fix key modifier handling again
- vo_gpu_next: add ability to use named hook params - win32: re-enable IME
- vo_gpu_next: take into account PAR when taking screenshots - wayland_common: guard against negative configure sizes
- ao_audiotrack: support more channel layouts - demux_lavf: detect ico as images
- osc.lua: support speed-independent time-remaining display - bash-completion: parse the mpv options lazily
- sub: fix switching tracks while paused - f_auto_filters: use bwdif_cuda for deinterlacing with cuda hwdec
- audio: fix clipping with gapless audio enabled - command: do a normal seek instead of a refresh seek when switching vo
- player/video: avoid spamming logs with EOF - ad_spdif: fix DTS 44.1khz passthrough playback
- player/command: detect aspect ratio name and show it in stats.lua - vo_dmabuf_wayland: scale smarter in hidpi situations
- wayland: keyboard input fixes - hwdec_drmprime: add P010 and P210 support
- demux_playlist: remove len restriction on headerless m3u - wayland: look for "default" cursor as well as "left_ptr"
- win32: fix display resolution calculation on mulitple monitors - wayland_common: properly handle high resolution scrolling
- vo_gpu_next: multiple adjustments and fixes to interpolation - vo_vdpau: fix timing for nanoseconds
- loadfile: avoid infinite playlist loading loops - demux_mkv: add tags for A_MPEG/L1 (mp1) audio and FFV1 video
- context_drm_egl: don't free EGL properties if they are null - osdep: fix infinite loop when cancelling subprocess
- x11: require xrandr 1.4, remove xinerama support - dec_sub: expand sub packet caching
- drm_common: skip cards that don't have connected outputs - player/sub: avoid wasteful subtitle redraws
- win32_common: fixes minimized window being focused on launch - ao_pipewire: add support for SPDIF formats
- ao/jack: set device_buffer to JACK buffer size - wayland_common: implement multi-seat support
- meson: rename all features with underscores - vo: make libmpv last in the auto-probing order for cocoa-cb only
- input: add new keys: Back, Tools, ZoomIn, ZoomOut - player/loadfile: rewrite sub autoselection logic
- win32: don't ignore --screen and --fs-screen - meson: add custom target for macOS App bundling
- input: add missing keypad key defines and Windows multimedia keys - image_writer: cleanup leftover files if image writing fails
- player: use audio pts corresponding to playing audio on EOF - sub: fix LRC lines with multiple timestamps
- command: add sub-ass-extradata property - ao: don't clip floating point formats at non-unity gain
- vo_dmabuf_wayland: unmap osd surface when not needed - wayland: remove old sway/wlroots hack
- player: always write redirect entries for resuming playback - hwdec/dmabuf_interop_gl: migrate to EXT_EGL_image_storage on desktop GL
- stats.lua: reorganize how video params are displayed - sd_ass: don't wrongly recognize \pos as \p
- stats.lua: display HDR metadata - ao_audiotrack: fix missing check for passthrough support
- osc.lua: add scrolling to the seekbar - wayland_common: log if Drag-and-Drop fails
- demux_lavf: prefer track durations over container durations to determine total - vo_gpu_next: render subtitles at video colorspace
- vo: vulkan: allow picking devices by UUID - swresample: stop using deprecated {in,out}_channel_layout options
- video: allow overriding container crop if it is present - path: don't load any files if --no-config is passed (incl. cache and state)
- vo_gpu, vo_gpu_next, screenshot: support applying crop for screenshots - vo_gpu/vo_gpu_next: fix transparency with GLX
- sd_lavc: account for floating point inaccuracy, fix sub PTS - wayland_common: require WAYLAND_DISPLAY to be set for initialization
- stream: accept dav:// and davs:// urls - vo_drm: add support for BGR formats and YUYV
- filter_kernels: refine some constants - stream: enable caching for sockets, pipes and FIFOs
- filter_kernels: add ewa_lanczos4sharpest - ao_coreaudio: stop audio unit after idle timeout
- osc.lua: add scrolling to audio/sub buttons - vo_gpu_next: add support for --dither-depth=auto
- demux_mkv: support cropping and rotation - vo_gpu_next: don't render ASS subtitles at HDR colorspace
- vo_dmabuf_wayland: support 90 degree rotations - video/image_writer: attach MDVC metadata and CLLI metadata
- filter_kernels: add hermite filter - win32: resolve dropped shell links (Windows shortcuts)
- vo: avoid unnecessary redraws when the OSD shows - af_lavcac3enc: fix memory leak on 2ch audio
- scripting: support DLL cplugins - win32: increase hires timer resolution
- af_scaletempo2: various bug fixes - input: raise maximum key down limit to 16
- sdl_gamepad: fix button detection on modern controllers - input: remove max active section limit
- vo_dmabuf_wayland: support osd rendering when there's no video - video/egl_helpers: fix fallback logic for EGL_KHR_create_context
- demux_playlist: add --directory-mode=auto - ao_pulse: reenable latency hacks by default
- vo_gpu_next: use proper color for subtitles - hwdec/vulkan: enable the stable AV1 extension
- win32: add an option to change window affinity and control title bar state - af_scaletempo2: fix false reporting of frame availability
- win32: reduce top border thickness to imitate DWM invisible borders - win32: fix native key repeat support
- wayland: remove gnome-specific idle-inhibit warning - ao_pipewire: fix some buffer size / timing calculations
- win32: pass window handle to the window-id property - audio: pause handling improvements for pull-based AOs
- osc.lua: fix calculation for slider's min-max average - ad_spdif: specify missing media type and sample rate
- recorder: fix a couple of memory leaks - mac/vulkan: add support for frame timing via presentation feedback
- af_scaletempo2: raise max playback rate to 8.0 - demux_mkv: corrected direction of ProjectionPoseRoll rotation
- osc.lua: move the idle logo behind other overlays - demux_mkv: add support for BCP 47 language tags
- hwdec_drmprime: add nv16 support - player: avoid busy looping during subtitle track switches
- various: change internal timing code to work in nanoseconds instead of microseconds
- vo: increase display refresh rate estimation limit from 99 Hz to 400 Hz
- external_files: base cover-art-whitelist on cover-art-auto-exts
- path: don't override cache and state paths with --config-dir
- codec_tags: map some more image mimetypes
- af/vf-command: add ability to target a specific lavfi filter
- win32: prevent white window flash on startup
- demux_playlist: use --metacode-codepage when parsing playlist files
- video: revert racey change that led to stutter and deadlocking
- console.lua: various improvements
- command: add playlist-next-playlist and playlist-prev-playlist
- ytdl_hook.lua: set metadata with single tracks
- defaults.lua: add a disabled parameter to timer constructors
- terminal-unix: race condition fixes
- af_scaletempo2: better defaults
- hwtransfer: handle hwcontexts that don't implement frame constraints
- stream_cdda: remove fallback for ancient libcdio versions
- osdep: drop support for C11 without atomics
- dvbin: do a big cleanup on code style and functions
- ytdl_hook.lua: parse the separate cookies field
- sub: update subtitles if current track is an image
- javascript: use --js-memory-report option instead of MPV_LEAK_REPORT
- ao_coreaudio: signal buffer underruns
- ytdl_hook.lua: support thumbnails
- demux: make hysteresis-secs respect cache-secs
- mp_image: pass rotation correctly to/from AVFrame correctly
- various: add new internal mp_thread abstraction and use it
- drm: use present_sync mechanism for presentation feedback
- vo_gpu: apply ICC profile and dithering only to window screenshots
- audio: introduce ao_read_data_nonblocking() and use it in relevant backends
- wayland: obey initial size hints set by the compositor
- command: export storage aspect ratio (sar) properties
- vo: delay vsync samples by at least 10 refreshes to improve convergence time
- vo_sdl: fix broken mouse wheel multiplier
- vo_gpu_next: simplify cache code and don't re-save when unmodified
This listing is not complete. Check DOCS/client-api-changes.rst for a history This listing is not complete. Check DOCS/client-api-changes.rst for a history
of changes to the client API, and DOCS/interface-changes.rst for a history of changes to the client API, and DOCS/interface-changes.rst for a history
of changes to other user-visible interfaces. of changes to other user-visible interfaces.
A complete changelog can be seen by running `git log v0.36.0..v0.37.0` A complete changelog can be seen by running `git log v0.37.0..v0.38.0`
in the git repository or by visiting either in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.36.0...v0.37.0 or https://github.com/mpv-player/mpv/compare/v0.37.0...v0.38.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.36.0..v0.37.0 https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.37.0..v0.38.0

View File

@ -1 +1 @@
0.37.0-UNKNOWN 0.38.0