mpv - a free and open-source general-purpose video player
mpv.io
mpv.io
mpv is a free and open-source general-purpose video player. It is based on the MPlayer and mplayer2 projects which it greatly improves.
Changes from mplayers: https://github.com/mpv-player/mpv/blob/master/DOCS/man/en/ch...
Quoting JEEB's explanation from IRC:
> sounds like mplayer2, which used to be uau's patchset for mplayer. And then mpv was forked out of mplayer2 because uau wouldn't merge things from other developers
Lachs0r's Windows binaries: http://mpv.srsfckn.biz/
What are the main pros comparing to, lets say, VLC?
Minimalism is also something people are interested in. mpv has 1/5 the code of mplayer and 1/6 of VLC but still has relevant features.
They appeal to different kind of users. For example, even if I am in the mpv team, I will recommend VLC to my 'average Joe' friend as I know he would be put off by the CLI usage and config file editing.
I think many distributions would consider mpv a duplicate of mplayer, so for one to be packaged officially the other would have to be removed. Realistically that's not going to happen anytime soon.
In the past VLC used to display wrong colors or downgrade video quality for better performance, not sure how it is now (possibly a bit better).
Relevant: http://www.cccp-project.net/wiki/index.php?title=Media_Playe...
Don't be fooled by simplified mpv --help output. :)
Usage: mpv [options] [url|path/]filename
Basic options: (complete list in the man page)
--start=<time> seek to given (percent, seconds, or hh:mm:ss) position
--no-audio do not play sound
--no-video do not play video
--fs fullscreen playback
--sub=<file> specify subtitle file to use
--playlist=<file> specify playlist file
There is much more in man page.https://github.com/mpv-player/mpv/blob/master/DOCS/man/en/op...
While a nice effort, this will really put a fast freshness date to their builds. Popular streaming sites continuously changes their api's to prevent third-party software from using their service.
1. It plays any local video I throw at it. Other people tell me "It doesn't play some of my videos" but I haven't seen this actually occur. Or when I do, it's because they're using a newer version of VLC which has removed support or changed processing. VLC has terrible license problems and awful feature creep. I had some .mkv files which didn't play correctly, so I downgraded from 1.1.10 to 1.1.5, and they play just fine. That's right, the 3-year old player plays the newest .mkv files much better than the 2-year old player or the newest player.
And unlike mplayer, mplayer2, wmp, and most other players out there, you don't have to goto some random website and download some random codec pack, and install it with who knows what malware.</FUD> All the codecs are included with the program.
Reading this github doesn't tell me why I should use mpv instead of vlc 1.1.5. Actually, it tells me I'll have to go find these random codec packs again, opening myself to possible CSRF attacks and other malware from poorly-secured or malicious codec providers. I'm already trusting the media player install package to not be evil, and I'd rather only have to trust 1 install package instead of it and several codec install packages.
2. I actually downgraded from VLC 2.0 to 1.1.10 because of VLC's terrible responsiveness. I don't know what changed, but it has made VLC 2.0 too annoying to use. The delay is a second or 2, which is a second or 2 longer than it used to be, and a second or 2 longer than it needs to be. When I go from a quiet video to a loud video, and I roll the mousewheel to lower the volume, that volume change needs to happen immediately, not after a 1-2 second delay.
I like that responsiveness is one of the bullet points.
I would have downloaded it and tried it out, but I don't know how to make this on Windows.
You're absolutely right to tag that as FUD, because I have never had to download "random codecs" from "random codec packs" in order to get videos to play in MPlayer on Linux (I don't know how it is on Windows).
Second that. I have had videos which couldn't be played on VLC (codecs or missing frames) play nicely with mplayer. Easily the best versatile player, especially if you are conversant with the command line options ( or take a quick look at man page).
Playing a video usually means having to learn about codec packs like ffdshow from Google searches and random internet forums, and then finding the legitimate website for the codec pack (not a linkspam site or a rehosting company like cnet who bundle Ask toolbar into the installer), then locating and downloading the codec pack on the (sometimes intentionally) badly designed website, and giving it blanket permission to alter files on your hdd.
I don't want this to become a fanboy flamewar, but the above process is time consuming, technically difficult & also requires a broad and complex network of social trusts. Whereas VLC "just works", well at least the older versions.
---
I don't know where my responses would lead a media player developer. I don't like licensed codecs, but I understand that encoding groups will use the codecs which work best; illegally if necessary since encoding tv & movies for free downloading are all still legal and moral grey-areas. And I know people want to be paid for their art which others have demand for. And free media player developers don't want to pay to license codecs when they gain no benefit over just supporting whatever codec libraries the OS has installed.
Thanks!
The UI is plain, but all of the controls I regularly need are there. And I ABSOLUTELY LOVE that every hotkey is rebindable. If you don't like "change subtitles" to be V, you can change it to be P or even Alt-V. (Why can't we rebind Windows Copy to be Alt-W instead of Ctrl-C?)
And last I checked, the UI can be skinned too, but I grew up with plain interfaces.
I particularly like how difficult it is to toggle full-screen playback with the keyboard. F11 makes it full screen, but doesn't hide the controls. Ctrl-H hides the controls, but also disables keyboard shortcuts!
So now, when you want to get out of full-screen mode, you have to know that you need to press Esc followed by F11. Not even double-click gets you back to windowed mode.
This kind of asymmetric mode toggling drives me up the walls. That, and the fact it doesn't pause when you click the video.
That's why I stick to the 1.1.5 version!
F11 and Alt-Enter are generally the two idioms for getting full-screen behaviour on Windows. Both work in Media Player Classic. Alt-Enter comes from the old DOS box from Windows 3; I'm not sure, but I think IE 4 pioneered F11. In any case, F11 works with Firefox, Chrome and IE; Alt-Enter also works with IE, Mintty, etc.
http://forums.logitech.com/t5/G-Series-Gaming-Keyboards/G19-...
"In VLC, as of 1.1.11, you have to go to interface, preferences, hotkeys, and doubleclick the GLOBAL hotkey you need to set. Press the media key on the keyboard, and it'll return but will act like nothing changed. Click "Apply" and it should show you the media key identification of the key you pressed. Once you have setup all your keys, save, and completely exit and restart VLC."
For me, on both Mac and Windows, VLC key bindings fail to take effect until I restart it (any key bindings, not just global media hotkeys), and many options simply don't get saved at all. I have to hand edit the configuration text file. Ridiculous.
http://forum.videolan.org/viewtopic.php?f=14&t=91154
"Saving can fail. And sometimes it can even output corrupted file."
http://forum.videolan.org/viewtopic.php?f=14&t=13340
"As for saving, make sure you click 'Save' on the options dialog. OK applies them without saving, while Save applies and saves them."
Yes I am pressing the "Save" button. There is no "OK" button, and if there was both an OK and a Save button, that would still be a terrible user interface design.
Basic simple things like that just don't work. Maybe my preferences file keeps getting corrupted, but that should NOT happen, ever. At least it should give me an error message instead of just silently losing. Shameful.
Then there's the way it decides to resize the playlist window really big for no reason at all. Why can't the playlist window just stay the same size?
It crashes all the time, and then when I restart it, it ALWAYS asks if I want to report the last crash to the development team. No I don't, and I also don't want it to ask me that every fucking time. I just want it to shut the fuck up and play a video. Of course there is no option I can find to turn off that annoying modal pop-up dialog. A not-terribly-designed user interface would have a checkbox on the annoying modal dialog that says "Never ask me this ever again", and I wouldn't have to go through an unsuccessful wild goose chase through the millions of advanced options searching for a way to turn that dialog off.
The simple preference user interface has checkbox options to disable video and audio. What's the point of that? In fact, those are the first options in the video and audio sections! Who would ever want to disable video or audio in a video player? You already have a volume and mute control, and you can disable video and audio tracks from the menus. So why is that the first option in the simple preferences user interface? Was there a huge demand from novice users for that option? Terrible user interface design.
There are many other things about the UI design that are extremely annoying, a lot having to do with the out of control feature creep and totally uncoordinated committee design. All those advanced options, yet there is no way to set it to always show advanced options every time. Isn't it ironic that it has millions of options, but no option to always show the millions of options by default? Or maybe it's just failing to save the "advanced mode" option. So lame.
It gives me the distinct impression that nobody on the development team gives a shit.
The programs that have a problem are the ones that dumb-down the UI to the point that it's impossible to deviate from the defaults.
Here's hoping the various groups resolve their differences somehow or a clear winner emerges.
mplayer still doesn't support mkv segment linking.
Let’s see when/what Debian releases…
The -opengl-hq option is a great option to easily get acceptable quality playback without the hassle.
But even still, Windows is so much ahead in video playback by just a hobby of one guy (Madshi, software being Madvr) that it is a shame to Os X and desktop linux. FRC (smooth motion without any of the soap opera effect people hate) completely removes the need to use 23.976 Hz on your monitor, so you can use what your monitor is build to use. With Jinc + anti-ringing filter as the scaler, your image looks gorgeus even how much you need to upscale it.
These are the reasons my HTPC still runs Windows even though I love mpv and would like to change but my eyes can't make the jump just yet.
While mpv sounds like a good thing in theory, I might just remain content with mplayer2. Now at least a single point has been given.
The switch changed from mplayer/mplayer2 and mpv uses the new hwaccel api where available (instead of the custom decoder).
Development is fast and the developers are friendly and helpful. It's exciting to see improvements in the accuracy and quality of the GL video output and, since I like to use the same video player on Windows and Linux, it's also nice to see much needed attention to detail in the Windows port, including support for Unicode filenames. Overall, mpv is probably my favourite media player and I recommend it to any MPlayer/mplayer2 user.
The lack of a GUI may be a problem for some users, but hopefully that's fixed soon. A new slave mode is planned that doesn't suffer from the problems of the old MPlayer one, which was always very incomplete and required GUI frontends to parse MPlayer output that was intended for users. There's also the possibility of using lua and libass to draw a minimal QuickTime-like on screen display with a seekbar.
I suppose mplayer and its forks are good for cross platform.
On Windows, and if you ask me, the best experience i have now is MPC-BE. Which is based on MPC-HC, which is based on MPC.
Nope. sigh
[X11, SDL, FrameBuffer] These are all basically dumb framebuffers.
[XVideo] Ahh, the X Video Extension... from 22 years ago. It only accelerates some specific parts of the process such as the final colorspace conversion.
[ASCII Art] I assume they mean libaa. How last decade. Besides, everybody knows the Cool Kids all moved on to libcaca's seductive ECMA-48 color escape sequences anyway. :p
In all seriousness, I've used mplayer{,2} because it brings my CPU usage down into to the <1%-2% range on most videos thanks to pretty much all of the work being done on the video card by way of VDPAU. How much do I care about this? Well let's see:
(100% == one fully ussed core of my old 3GHz Core2, gpu is a 9800gtx)
video is: 1280x720 23.976fps h.264 High profile L4.0 (no audio)
CPU usage w/ vdpau: mpv 2.8%, /usr/bin/X 5.2%
CPU usage w/ x11: mpv 10.4%, /usr/bin/X 36%
[aside]Wow; it seems mpv has improved the software
rendering engine. mplayer{,2} used to be about 10% to 15% higher![/aside]Even on non-Nvidia hardware, the software has always had a very strong focus on efficiency. Their GL output drivers are great, and even the bad, old Matrox G200 I was stuck for far too long was fully supported. I wouldn't have been able to watch some videos without the hardware-assist.
There are other reasons I've always liked mplayer too, but the fact that it actually plays the videos that were a slideshow in vlc (and most other players) made the choice obvious.
VLC also seems to mandate a larger performance hit while playing a video, no matter what.
For the most part, VLC and mplayer provide a similar experience, and both tools have major dependencies on ffmpeg. It's just a matter of preference on the interface, and if you utilize any of VLC's niceties that justify its performance decrease (I've heard this happens because VLC forces software processing of the image at some stage to facilitate easy application of filters, and mplayer (and its descendants) doesn't. I don't know if this is true or not).
Besides that theres a zillion little usability improvements that make using it much better than mplayer, which is one of the main reasons why I stuck with it.
The integration of libquvi is also pretty nice; Just throw a youtube URL into mpv and it'll play - even the ones you can only view with flash in the browser. :)
But beware, this was a bitch to get running on Gentoo. YMMV.
It always uses the BT.601 colormatrix to perform the YUV -> RGB colorspace conversion. While for HD material one should use the BT.709 colormatrix.
In practice you will notice darker reds that are closer to purple for this implementation error.
Some general comments about comments here:
Never checked back on VLC, back when I tried it 4-5 years ago it was terribly buggy and crashed all the time.
Codec Packs are a thing of the past for me ever since I discovered CCCP [1] many years ago
MPC-HC [2] or SPlayer [3] (back when it was released there were some GPL violations,open sourced afterwards [4]) are my go-to players. MPC with CCCP plays everything, SPlayer is extremely simple while maintaining top quality.
[1] http://www.cccp-project.net/
[3] http://www.splayer.org/index.en.html (down, cache: http://webcache.googleusercontent.com/search?q=cache:www.spl...)
But does anyone know of a program or library with a proper interface for controlling a music player?
I use mplayer almost daily for no-frills internet radio listening. I have my terminal window open all day anyway, so no need to waste resources (screen real-estate or otherwise) on iTunes or VLC.
For example, Groove Salad's AAC stream:
mplayer -playlist http://somafm.com/groovesalad130.pls
Seeing a focus on OSX improvements in mpv, I am hoping we'll see it installable via homebrew some day soon.
The formula also builds `mpv.app`, I use that to open files directly from the Finder.
I ran in to a few speedbumps along the way, but it turns out I just needed the HEAD version of FFMPEG installed first.
If you can reproduce it, I'd love a bug report.
Baka MPlayer - http://bakamplayer.netii.net/index.php