Jump to content

mpv (media player)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 66.30.112.163 (talk) at 19:22, 15 June 2019 (Reworded:). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

mpv
Original author(s)MPlayer and mplayer2 developers
Developer(s)Community
Initial releaseAugust 7, 2013; 11 years ago (2013-08-07)[1]
Repository
Written inC, Objective-C, Lua[2]
Engine
  • FFmpeg
Edit this at Wikidata
Operating systemBSD, Linux, macOS, Windows
PlatformARM, PowerPC, x86 / IA-32, x86-64, and MIPS architecture[3]
SizeSource code: 2.9 MB (tar.gz)
TypeMedia player
LicenseGPLv2+, parts under LGPLv2.1+, some optional parts under GPLv3[4]
Websitempv.io Edit this at Wikidata

mpv is media player software, based on MPlayer and mplayer2. It is free and open-source software released under a mix of licenses including GNU General Public License version 2 or later (GPLv2+), with parts under GNU Lesser Public License version 2.1 or later (LGPLv2.1+), and some optional parts under GNU General Public License version 3 (GPLv3).

It runs on several operating systems, including the Unix-like operating systems Linux, BSD, and macOS, and on the non-Unix Windows, along with having an Android port called mpv-android. It is cross-platform, running on ARM, PowerPC, x86 / IA-32, x86-64, and MIPS architecture.[3]

History

mpv was forked in 2012 from mplayer2, which was forked in 2010 from MPlayer.[5] The motive for the fork was to encourage developer activity by removing unmaintainable code and dropping support for very old systems. As a result, the project had a large influx of contributions.[6]

Since June 2015, the project's source code is in the process of being relicensed from GNU General Public License version 2 (GPLv2) or later to GNU Lesser General Public License version 2.1 (LGPLv2.1) or later to allow using mpv as a library in more applications.[7]

Changes from MPlayer

mpv had several notable changes[8] since it was forked from MPlayer, the most user visible being the addition of an on-screen-controller (OSC) minimal GUI integrated with mpv to offer basic mouse-controllability. This was intended to make interaction easier for new users and to enable precise and direct seeking.

  • Video websites
    By using youtube-dl, mpv natively supports playback of high-definition video (HD) content and audio on YouTube and over 1000 other supported sites.[9] This allows mpv to replace site-specific video players based on Adobe Flash or HTML5.
  • Improved client API
    Beyond working as a stand-alone media player, mpv is designed to be used directly by other applications through a library interface called libmpv. This required making all mpv code thread safe. An example of an application which uses libmpv is Plex.[13] This form of player control, along with a JSON IPC mechanism, replaces MPlayer's "slave mode".
  • Encoding subsystem
    mpv includes a new video encoding mode that can be used to save files being played under different formats. This allows mpv to work as a transcoder, supporting many video formats.[14] This feature serves as a direct replacement for the MEncoder component of MPlayer, which was a separate program rather than being built into the player.
  • Lua scripting
    mpv's behavior and functions are customizable via use of small programs written in the Lua scripting language, which can be used for tasks like cropping video, providing a graphical user interface (GUI) or automatically adjusting the display's refresh rate.[15]

removed functions

  • all kind of support for VCD discs

Interface and graphical front-ends

Like the original MPlayer, mpv is still primarily a command-line application although it has a more advanced user interface than MPlayer that can use not only the keyboard but also the mouse for mpv’s on screen controller (OSC). However, this OSC is still not a full-featured GUI, and there are a number of front-ends available, which use GUI widgets of Qt, GTK, or some other widget toolkit to give mpv a more complete graphical interface.

The following are all open source front-ends of mpv (based on "libmpv" or the command-line version of mpv) which try to provide more features and more user-friendly interface than mpv, and/or better integration with various operating systems or desktop environments.

  • Baka MPlayer - media player on Windows, Linux, and macOS although macOS version requires user to compile from source, with Qt5 widgets, written in C++. Its main goal is uncluttered, simple design. Its development stalled in January 2017 in favor of another mpv frontend by the same developers, Mochi Player, which is not quite finished yet.
  • Deepin Movie - for Linux - Written by and default video player for the Chinese Deepin distro and desktop environment with Qt5 widgets, written in C++.
  • IINA - macOS 10.10+ media player with native macOS Cocoa interface, written in Swift. It is a full-featured native macOS graphical interface for mpv that makes use of new features in the most recent versions of macOS. mpv config file and script system are also integrated.
  • Media Player Classic Qute Theater (mpc-qt) - Linux and Windows media player with Qt5 widgets, written in C++. Its goal is to reproduce and ultimately improve upon the functionality of Media Player Classic Home Cinema (mpc-hc), a Windows-only program, as a cross-platform mpv-based multimedia player that also works on Unix-like operating systems like Linux.
  • mpv-android - Android media player with native Android interface, written in Kotlin. Its goal is to be a fully functional, full-featured port of mpv (which primarily targets desktop operating systems) to the mobile operating system Android.
  • OvoPlayer - Linux and Windows music player that supports many backends, based on LCL widgetsets, written in Pascal. Its goal is to be a flexible audio player that supports as many audio engine backends like mpv as possible.
  • Sugoi Player - media player on Windows (that might work on Linux and macOS but those are untested) forked from Baka MPlayer, with Qt5 widgets, written in C++. It aims to improve upon and continue development of an mpv frontend based on Baka MPlayer, since Baka MPlayer’s development stalled in January 2017.
  • xt7-player-mpv - Linux media player with Qt5 or Qt4 widgets, written in Gambas 3 (a dialect of BASIC). Its goal is usability, and a variety of extra features like YouTube and SHOUTcast integration, media tagging, library and playlist management, as well as adding more features beyond that.

See also

References

  1. ^ wm4 (2013-08-07). "Release 0.1". MPV.{{cite web}}: CS1 maint: numeric names: authors list (link)
  2. ^ "mpv-player", Analysis Summary, Open Hub, retrieved 2016-08-11
  3. ^ a b Debian - Details of package mpv
  4. ^ "Copyright". mpv. Retrieved 2015-03-21.
  5. ^ "MPV, A New Fork Of MPlayer/MPlayer2". Phoronix. Retrieved 2015-01-28.
  6. ^ "Contributors to mpv-player/mpv". Retrieved 2016-03-21.
  7. ^ wm4. "LGPL relicensing (#2033)". mpv-player/mpv (source code repository). GitHub. Archived from the original on 2017-09-14. Retrieved 2017-09-14. ... GPL-incompatible dependencies such as OpenSSL are a big issue for library users, even if the library user is ok with the GPL. ... {{cite web}}: Unknown parameter |dead-url= ignored (|url-status= suggested) (help)CS1 maint: numeric names: authors list (link)
  8. ^ "list of changes from MPlayer". Retrieved 2018-04-05.
  9. ^ "youtube-dl: Supported sites". Retrieved 2016-03-21.
  10. ^ Sneddon, Joey (2017-09-13). "MPV 0.27 Released with Minor Fixes, New OpenGL Options". OMG! Ubuntu!. Ohso Ltd. Retrieved 2017-02-13. {{cite news}}: Unknown parameter |dead-url= ignored (|url-status= suggested) (help)
  11. ^ Larabel, Michael (2017-12-25). "MPV Player 0.28 Adds Initial Vulkan Support". Phoronix. Phoronix Media. Archived from the original on 2017-12-26. Retrieved 2017-12-26. {{cite news}}: Unknown parameter |dead-url= ignored (|url-status= suggested) (help)
  12. ^ "mpv manual (opengl video output driver section)". Retrieved 2016-03-21.
  13. ^ "Introducing the Plex Media Player". Retrieved 2015-03-21.
  14. ^ "mpv manual (encoding section)". Retrieved 2016-03-21.
  15. ^ "User Scripts - mpv-player/mpv Wiki". Retrieved 2016-03-21.