Python-mpv

Latest version: v1.0.7

Safety actively analyzes 641221 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 15

0.27.1

This release fixes CVE-2018-6360.

Fixes and Minor Enhancements
----------------------------
- ytdl_hook: whitelist protocols from urls retrieved from youtube-dl (5456)

0.27.0

Features

Added

- Windows: handle media keys
- libmpv: options: add a thread-safe way to notify option updates
- vd_lavc/vo_opengl: support embedded ICC profiles
- vo: rendering API abstraction for future non-GL video outputs
- vo_opengl: add a gamut warning feature to highlight out-of-gamut colors (--gamut-warning)
- vo_opengl: add direct rendering support (--vd-lavc-dr)
- vo_opengl: implement (faster) compute shader based EWA kernel
- vo_opengl: implement HLG OOTF inverse
- vo_opengl: support HDR peak detection (--hdr-compute-peak)
- vo_opengl: support float input pixel formats
- vo_opengl: support loading custom user textures (4586)
- vo_opengl: support user compute shaders


Removed

- Remove video equalizer handling from vo_direct3d, vo_sdl, vo_vaapi, and vo_xv (GPL, not worth the effort to support legacy VOs)


Options and Commands

Added

- macOS: add --no-native-fs option to disable the native macOS fullscreen (4014)
- player: add --track-auto-selection option


Changed

- input: use mnemonic names for mouse buttons, same as Qt: https://doc.qt.io/qt-5/qt.html#MouseButton-enum
- options: change --loop semantics
- player: make --lavfi-complex changeable at runtime
- vf_eq: remove this filter (GPL; uses libavfilter’s eq filter now, with changed semantics)
- video: change --deinterlace behavior
- vo_opengl: generalize HDR tone mapping to gamut mapping, --hdr-tone-mapping → --tone-mapping


Removed

- --field-dominance (GPL-only author, no chance of relicensing)
- input: drop deprecated "osd" command
- options: drop --video-aspect-method=hybrid (GPL-only)


Fixes and Minor Enhancements

- TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videos
- TOOLS/lua/autodeint: update to lavfi-bridge
- TOOLS/lua/status-line: improve and update
- af_lavrresample: don't call swr_set_compensation() unless necessary (4716)
- ao_oss: fix period_size calculation (4642)
- ao_rsound: allow setting the host
- audio: fix spdif mode
- filter_kernels: correct spline64 kernel
- macOS: fix media keys input when other Apps steal the priority (4834)
- macOS: fix the support of multiple renderers (GPU switch) (2371)
- macOS: remove the standard "Show Tab Bar" menu item
- options: fix --include (4673)
- player: fix --end with large values (4650)
- player: fix confusion in audio resync code (4688)
- player: make refresh seeks slightly more robust (4757)
- player: readd smi subtitle extension (4626)
- vd_lavc: change auto-probe order to prefer cuda over vdpau-copy
- vd_lavc: fix device leak with copy-mode hwaccels (4735)
- vd_lavc: fix hwdec compatibility with yuvj420p formats
- vd_lavc: fix mid-stream hwdec fallback
- vf_vapoursynth: fix inverted sign and restore 10 bit support (4720)
- video: increase --monitorpixelaspect range
- vo_opengl: adjust the rules for linearization (4631)
- vo_opengl: scale deband-grain to the signal range
- vo_opengl: tone map on the maximum signal component
- x11: fix that window could be resized when using embedding (4784)
- ytdl_hook: resolve relative paths when joining segment urls (4827)
- ytdl_hook: support fragments with relative paths, fixes segmented DASH


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 other user-visible interfaces.

A complete changelog can be seen by running `git log v0.26.0..v0.27.0`
in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.26.0...v0.27.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.26.0..v0.27.0

0.26.0

VA-API/VDPAU hardware decoding now requires FFmpeg > 3.2.
DVB support is disabled by default since it does not work with some older kernels.
Built-in V4L TV support is disabled by default. av://v4l2 can be used instead.
Support for C plugins is now enabled by default (4491).

Many more parts of the player are now licensed under LGPL, see Copyright file.
Thanks to all contributors who have agreed to relicensing of their changes!
See 2033 for details.


Features

Added

- Universal Windows Plaform (UWP) support (libmpv only)
- csputils: implement sony s-gamut
- js: add javascript scripting support using MuJS
See DOCS/man/javascript.rst for more details
- vo_opengl: add new HDR tone mapping algorithm (mobius, now default)
- vo_opengl: hwdec_cuda: Support separate decode and display devices
- vo_opengl: implement sony s-log1 and s-log2 trc
- vo_opengl: implement support for OOTFs and non-display referred content


Removed

- vf_dlopen: remove this filter


Options and Commands

Added

- vo_opengl: add --tone-mapping-desaturate
- vo_opengl: support tone-mapping-param for `clip`
- ytdl_hook: add option to exclude URLs from being parsed


Changed

- allow setting profile option with libmpv
- audio: move replaygain control to top-level options
- external_files: parse ~ in --{sub,audio}-paths
- options: change --sub-fix-timing default to no (4484)
- options: expose string list actions for --sub-file option
- options: slight cleanup of --sub-ass-style-override
* signfs → scale
* --sub-ass-style-override → --sub-ass-override
- renamed the HDR TRCs `st2084` and `std-b67` to `pq` and `hlg` respectively
- replace vf_format's `peak` suboption by `sig-peak`, which is relative to the reference white level instead of in cd/m^2
- the following options change to append-by-default (and possibly separator):
* --script
- video: change --video-aspect-method default value to `container`


Deprecated

- m_option: deprecate multiple items for -add etc.
- player: deprecate "osd" command
- --audio-file-paths => --audio-file-path
- --sub-paths => --sub-file-path
- --opengl-shaders => --opengl-shader
- --sub-paths => --sub-file-paths
- the following options are deprecated for setting via API:
* "script" (use "scripts")
* "sub-file" (use "sub-files")
* "audio-file" (use "audio-files")
* "external-file" (use "external-files")
(the compatibility hacks for this will be removed after this release)


Removed

- chmap: remove misleading "downmix" channel layout name (4545)
- demux_lavf: remove --demuxer-lavf-cryptokey option (4579)
- input.conf: drop TV/DVB bindings
- options: remove remaining deprecated audio device selection options
* --alsa-device
* --oss-device
* --coreaudio-exclusive
* --pulse-sink
* --rsound-host/--rsound-port
* --ao-sndio-device
* --ao-wasapi-exclusive
* --ao-wasapi-device
- remove option --target-brightness
- remove property "video-params/nom-peak"


Fixes and Minor Enhancements

- TOOLS/lua/autoload.lua: actually sort files case insensitive (4398)
- TOOLS/lua/autoload.lua: ignores all files starting with "."
- ao_openal: kill off device listing (4311)
- ao_pulse: reorder format choice to prefer float and S32 over S16 as fallback format
- ao_wasapi: try correct initial format (4582)
- command: add missing change notification for playlist-shuffle (4573)
- demux_disc: fix bluray subtitle language retrieval (4611)
- demux_mkv: fix alpha with vp9 + libvpx
- demux_mkv: support FFmpeg A_MS/ACM extensions
- ipc-unix: don’t truncate the message on EAGAIN (4452)
- ipc: raise json nesting limit (4394)
- macOS: fix mpv-wrapper.sh when used with csh or tcsh shell
- macOS: properly unhide Dock when quitting during System fs animation
- mpv_identify: replace deprecated fps property (4550)
- options/path: fallback to USERPROFILE if HOME isn't set
- player: close audio device on no audio track
- player: fix potential segfault when playing dvd:// with DVD disabled (4393)
- player: prevent seek position to jump around adjacent keyframes, e.g. when dragging the OSC bar on short videos (4183)
- vo_opengl: bump up SHADER_MAX_HOOKS and MAX_TEXTURE_HOOKS to 64
- vo_opengl: correct off-by-one in scale=oversample
- vo_opengl: do not use vaapi-over-GLX (4555)
- vo_opengl: fall back to ordered dither instead of blowing up (4519)
- vo_opengl: tone map in linear XYZ instead of RGB
- x11: add 128x128 sized icon support
- ytdl_hook: add a header to support geo-bypass
- ytdl_hook: don't override start time set by saved state
- ytdl_hook: don't override user-set start time
- ytdl_hook: treat single-entry playlists as a single video


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 other user-visible interfaces.

A complete changelog can be seen by running `git log v0.25.0..v0.26.0`
in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.25.0...v0.26.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.25.0..v0.26.0

0.25.0

This release drops support for OS X 10.7 and earlier.
Support for some optical media functionality (DVD/CD) is now disabled by default.

More parts of the player are now licensed under LGPL. In particular:

- OSD symbol font
- ass_mp, sd_ass
- common.h
- demux/packet
- demux_mkv (with minor exceptions), ebml, matroska.h
- sd_lavc
- sub/osd

Thanks to all contributors who have agreed to relicensing of their changes!
See 2033 for details.

Starting with this release, releases will be tagged on the master branch.
The release/current branch is thus abandoned.


Features

Added

- TOOLS: add acompressor.lua script for runtime acompressor ffmpeg filter control
- dvb: add support for DVB-T2
- lavfi: support hwdec filters for --lavfi-complex
- macOS: initial Touch Bar support
- osc: add volume button (mouse wheel to change volume)
- sub: add SDH subtitle filter
- vo_opengl: add experimental vdpauglx backend
- vo_opengl: implement videotoolbox hwdec on iOS


Removed

- image_writer: remove useless formats (PPM, PGM, TGA)
- af_drc: remove (use --af=acompressor instead; higher quality)


Options and Commands

Added

- --demuxer-lavf-probe-info
- --sub-filter-sdh, --sub-filter-sdh-harder
- add automatic libavfilter bridges to option parsing
- command: add better runtime filter toggling method
- command: add demux-start-time property
- command: add property notifications for hwdec properties (4289)
- input: add "async" flag
- osc: add user_opts.boxmaxchars for box layout title limit
- player: add --keep-open-pause=no option
- va_vavpp: reversal-bug=no
- vo_opengl: --opengl-es=force2
- vo_opengl: add --opengl-shader-cache-dir option for caching shaders on disk (mostly for ANGLE)
- vo_opengl: angle: add --angle-flip to set the ANGLE present model


Changed

- command: update sub-fps etc. options on runtime changes
- vo_opengl: prefer X11 backends over Wayland backends
- options: change --audio-file-auto default to not to load any files


Deprecated

- audio: deprecate most non-lavfi audio filters
(channels, equalizer, pan, volume)
- video: deprecate almost all non-lavfi video filters
(buffer, crop, dlopen, dsize, eq, expand, flip, gradfun, mirror, noformat,
pullup, rotate, scale, stereo3d, sub, yadif)
- options: deprecate --loop semantics (planned alias to --loop-file)


Fixes and Minor Enhancements

- Windows: demux_cue: fix UTF-8 paths
- Windows: fix mismatched free/talloc_free (4315)
- Windows: fix undefined behaviour when toggling fullscreen
- ao_alsa: close lost audio devices (4189)
- ao_alsa: filter fewer devices
- ao_alsa: fix an error check (4188)
- ao_jack: update latency on buffer_size/graph change
- ao_wasapi: do not pass nonsense to drivers with double precision formats
- ass_mp: reallocate cached subtitle image data on format changes (4325)
- build: decouple dvdnav check from dvdread (4290)
- build: encode_lavc: fix build failure after libavcodec major bump
- build: fix build with HAVE_GL==0
- build: replace android-gl check with a standard GLES3 check
- build: update bundled waf to 1.9.8
- build: vd_lavc: fix potential build failure with vaapi
- demux_lavf: disable half-working mp4 edit list support in libavcodec
- demux_lavf: skip avformat_find_stream_info() for some formats (hls, mp4, mkv by default)
- etc/encoding_profiles.conf: update and remove deprecated stuff
- etc/mpv.conf: remove deprecated options
- external_files: actually try to autoload from fallback paths
- external_files: enable autoloading with URLs (3264)
- image_writer: make it work with libavcodec's jpg encoder
- macOS: add --ontop-level option for modifying ontop window level (2376, 3974)
- macOS: add key mappings for previous and next Media Keys (4204)
- macOS: add option to force dedicated GPU (3242)
- macOS: fix autofit options on HiDPI resolutions without HiDPI scaling (4194)
- macOS: fix black edges on live resize
- macOS: fix cursor hiding in the Dock area and top of the screen
- macOS: fix event propagation of menu bar item key shortcuts
- macOS: fix first responder when borderless window is used
- macOS: fix key input in certain circumstances
- macOS: fix retrieval of non-fullscreen window size, also while animating (4323)
- macOS: fix scroll wheel input with Shift modifier (3506)
- macOS: improve bundle environment variable handling (2061)
- macOS: make window draggable on init
- macOS: only move window into screen bounds when changing screens (4178)
- macOS: only report mouse movements when window is not being dragged (might have triggered OSC and other scripts)
- macOS: properly restore shell state when quitting from the Dock's context menu
- macOS: refactor mouse events and cursor visibility (1817, 3856, 4147)
- macOS: set background of the title bar from black to white
- osc: bottom/topbar: add fullscreen button
- osc: bottom/topbar: don't clip title vertically
- osc: bottom/topbar: increase timecodes width a bit (3952)
- osc: fix PlayResX undefined warning when aspect is 0
- osc: fix window dragging with showwindowed=no (1819)
- osc: make title configurable and use property expansion on it (4221)
- osc: refactor osc message scaling (4081, 4083, 4102)
- player: don't block playback stop when seeking
- player: enable "buffering" pausing for DASH streams too
- player: fix core-idle and eof-reached update notifcations
- player: make screenshot commands honor the async flag (4250)
- player: reduce blocking on VO when switching pause (4152)
- sd_ass: disable --sub-fix-timing if sub style override is fully disabled
- stream/stream_dvdnav: don't ignore setting title (4283)
- stream_dvd: fix subs/audio detection on DVDs containing multi-PGC titles
- vf_vavpp: add advanced deint bug compatibility for Intel vaapi drivers
- vf_vavpp: fix first-field mode
- vo_opengl: fix crash with temporal dithering in dumb mode
- vo_opengl: hwdec_d3d11egl: make it work with some ANGLE DLL versions
- vo_x11: reduce flickering on playlist navigation
- wayland: correctly map mouse buttons


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 other user-visible interfaces.

A complete changelog can be seen by running `git log v0.24.0..v0.25.0`
in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.24.0...v0.25.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.24.0..v0.25.0

0.24.0

Features

Added
- Windows: allow snapping to screen edges (2248)
- macOS: add border cycling (2430)
- player: add experimental C plugin interface
- player: add experimental stream recording feature (--record-file)
- player: add prefetching of the next playlist entry (--prefetch-playlist; does NOT work with URLs resolved by youtube-dl)
- stream_lavf: add support for data URIs (4058)
- vaapi: add support for 10-bit video formats (requires patched Mesa and capable hardware)
- x11: pseudo HiDPI scaling

Options and Commands

Added
- sub: add --sub-justify and --sub-ass-justify options
- sub: add option to force using video resolution for image subtitles (--image-subs-video-resolution)

Changed
- command: rename framedrop properties
- drop-frame-count → decoder-frame-drop-count
- vo-drop-frame-count → frame-drop-count
- input.conf: change "L" to change loop-file by default

Deprecated
- --hwdec-preload (replaced with --opengl-hwdec-interop)

Removed
- options: drop deprecated --sub-codepage syntax
- options: drop deprecated --vd/--ad codecs selection features
- player: remove --stream-capture option/property

Fixes and Minor Enhancements
- Windows: update the fullscreen state on restoring
- ad_spdif: fix obscure cases of AC3 passthrough (e.g. 44100 Hz AC3)
- ao_oss: use --audio-device if --oss-device isn't set (4122)
- build: fix --disable-gl if cuda is enabled
- build: rpi: rely on pkgconfig for compiler flags to ease cross compilation
- charset_conv: fallback to interpreting subs as latin1 if iconv fails
- charset_conv: fix "auto" fallback with uchardet not compiled (3954)
- client API: fix freeze when destroying mpv_handle before mpv_initialize
- client API: fix mpv_set_property() return value before init (3988)
- command: fix potential crash for script-binding with multi-commands
- command: nicer OSD formatting for loop-file
- command: shorten long playlists on OSD
- config: do not resolve default profile during "include" processing (4024)
- cuda: fix 10 bit decoding
- cue: accept lower-case cue commands (4057)
- demux_mkv: any reference makes a frame not a keyframe (fixes seeking in WebM files with alpha channel)
- lavfi: slightly better disconnected output handling (4118)
- lua: close directory after reading its entries (4045)
- macOS: consistent normalization when searching for external files (4016)
- macOS: don't change Space on quit in fullscreen (3957)
- macOS: don't constrain window frame for fullscreen (4044)
- macOS: don't init displaylink on reconfig (4031)
- macOS: fix build on OS X 10.9 (3946)
- macOS: fix color profile retrieval
- macOS: fix displaylink refresh rate retrieval
- macOS: fix dropping of files and URLs (4036)
- macOS: fix handling of geometry option (3867)
- macOS: fix unwanted behavior with window level other than the default (1757, 1884)
- macOS: fix window size in certain circumstances
- macOS: properly recover from toggleFullscreen fail (4035)
- osc: allow playlist buttons when looping (4092)
- osc: bottom/topbar: clip title instead of stretching
- osc: bottombar/topbar: make chapter markers slightly bigger
- osc: box: clip with ellipsis after too much stretching
- osc: fix crashes related to field eventresponder being nil (3210)
- player: add .scc subtitle extension
- stream_bluray: use proper 0-based index
- sub: remove .txt as text subtitle extension
- tv: fix segfaults on TV input (4096)
- vaapi: set libva > 0.39.4 message callbacks to prevent it from printing messages to the terminal
- vd_lavc: improved fallback behavior for --hwdec=cuda (3914)
- vdpau: reject decoding of non-4:2:0 (would decode to garbage)
- vf_lavfi: don't crash with VOs without hardware decoding support (4064)
- vo_opengl, vo_opengl_cb: better hwdec interop backend selection
- vo_opengl: angle: rewrite with custom swap chain (fixes problems with e.g. 24 fps video on 24 Hz monitors, avoids problems with DirectComposition, enables "screenshot window" command on Windows 8 and newer)
- vo_opengl: partially fix rotation for 4:2:2 content
- vo_opengl: x11egl: fix alpha mode
- wayland: fix high CPU usage with mpv paused and visible
- ytdl_hook, edl: implement pseudo-DASH support
- ytdl_hook: add non-dash fallbacks to default formats
- ytdl_hook: fix opening hitbox.tv rtmp stream
- ytdl_hook: respect --no-audio, don't force-select track
- ytdl_hook: support livestream segmented DASH VODs
- ytdl_hook: support segmented dash

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 other user-visible interfaces.

A complete changelog can be seen by running `git log v0.23.0..v0.24.0`
in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.23.0...v0.24.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.23.0..v0.24.0

0.23.0

Now requires at least FFmpeg 3.2.2.

Features
- vo_rpi: partially undeprecate

Added
- vo_opengl: hwdec_cuda: Support P016 output surfaces

Removed
- charset_conv: drop enca and libguess support in favor of uchardet
- vf_vdpaurb: remove this filter in favor of --hwdec=vdpau-copy

Options and Commands

Added
- TOOLS/autoload: allow disabling through script-opts
- demux, stream: add --access-references to prevent opening referenced files

Deprecated
- options: deprecate codec family selection in --vd/--ad

Removed
- macOS: remove --fs-black-out-screens
- options: remove deprecated sub-option handling for --vo and --ao

Fixes and Minor Enhancements
- Windows: window styles improvements (allow minimizing borderless/fullscreen window) (2229, 2451)
- ad_spdif: Fix crash when spdif muxer is not available
- audio: fix --audio-stream-silence with ao_alsa
- audio: fix --audio-stream-silence with ao_wasapi
- build: drop build-time dependency on Perl
- build: support linking ANGLE (previously loaded dynamically)
- d3d11va: unconditionally load D3D DLLs (3348)
- demux_mkv: fix seeking in some broken files (3920)
- hwdec_cuda: allow building without CUDA SDK (load CUDA dynamically)
- macOS: fix dropping of URLs containing query strings on the window
- macOS: fullscreen refactoring (2857, 3272, 1352, 2062, 3864)
- macOS: support append file to paylist on drop (2166)
- macOS: update the menu and remove conflicting “Quit & remember position” item (3865)
- osc: don't hide playlist buttons, just disable
- osc: fix possible race condition in right timecode
- osc: topbar: use same styles as bottombar
- player: don't print format detection error when aborting loading
- vdpau: fix vaapi probing if libvdpau-va-gl1 is present
- video: use demuxer-signaled duration for last video frame (3924)

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 other user-visible interfaces.

A complete changelog can be seen by running `git log v0.22.0..v0.23.0`
in the git repository or by visiting either
https://github.com/mpv-player/mpv/compare/v0.22.0...v0.23.0 or
https://git.srsfckn.biz/mpv/log/?qt=range&q=v0.22.0..v0.23.0

Page 4 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.