Live data from Hacker News

Mpv – A free, open-source, and cross-platform media player

mpv.io

81–90 of 576 posts

Re: Mpv – A free, open-source, and cross-platform media player

#81

Mac users can get a very nice front end to mpv with https://iina.io Bonus trivia: Plex Media Player uses mpv as the video player

IINA has various issues that mpv does not have, in particular with color space conversions (see https://news.ycombinator.com/item?id=41278331 for a few more details)

Re: Mpv – A free, open-source, and cross-platform media player

#83
post #69

I use it to inspect video frames by frames, particularly being able to go back one frame. VLC doesn't support it, this thread about the feature is hilarious https://forum.videolan.org/viewtopic.php?t=120627

i wonder why he's such an ass about it, and totally adamant that it's impossible when multiple players already do this fast. ego?

Re: Mpv – A free, open-source, and cross-platform media player

#84
post #63
post #20

A fantastic mediaplayer, quite minimalistic and performant; it does what it's supposed to do! Also has a fantastic commit where the author rants about locales: https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02... worth a read for some chuckles.

As strange as it is to say, I think avoiding problems like this might be one of the biggest productivity boosts from new languages like Go, Rust, Swift, etc. New ecosystems get a chance to “do over” the standard library and flush all the horrible legacy choices made before we knew better (locales, UTF16, etc). The standard library in Zig, Go, Rust, and many others is miles ahead of the C standard library or posix api…

I'm skeptical that rust magically deals with, for example, character sets in 30 year old subtitle files, in a way that makes C seem inadequate.

Legacy compatibility has value.

Re: Mpv – A free, open-source, and cross-platform media player

#85
post #19

MPV has versatile scripts. For example you can cut and crop a video you are watching[1]. You can also introduce hotkeys for functionalities I have never seen in another player. I use this (input.conf) sometimes to normalize the brightness and colors of a scene I'm watching (may not work when using hardware decoding): n vf toggle normalize=smoothing=100 Or rotate a video: Ctrl+r no-osd cycle-values video-rotate "90" "…

it also has a robust Lua scripting interface. I made a tool in Golang and Lua that allows Mpv to treat torrent files and magnet links as if they were http links. You can then stream a torrent directly. People also don't realize that mpv not only has the ability to stream youtube videos but you can also search youtube on the CLI using mpv `mpv ytdl://ytsearch:query` it can also play videos directly in the terminal usi…

There are lua hooks for play/pause/stop which is great for dimming room lights when the video starts.

Re: Mpv – A free, open-source, and cross-platform media player

#88
post #5

This has always worked well for me, handling anything that’s thrown at it with ease. Things may have changed since then, but when I first encountered the project several years ago it seemed like the thing that made this project stand out compared to other player projects was a big emphasis on correctness and accurate playback. There have files I’ve encountered that for example VLC will play with quirks (color reprodu…

Hm, I've had (significant) issues with color representation playing back "HDR" media in mpv.

Re: Mpv – A free, open-source, and cross-platform media player

#89

I didn’t know mplayer had been forked - this looks good to me. The primary reason why I used mplayer in the early 2000s was performance, both in terms of cpu and for lack of a better word ‘ smoothness ‘. Basically all other players seemed to produce choppy videos ( including regular dvd players ) but mplayer didn’t ( and there was no motion interpolation). A friend of mine told me that mplayer was very accurate ( ie…

It's impossible for video players to be exactly accurate on normal monitors as most computer monitors don't handle movie frame rates. Either a frame gets skipped or elongated here and there, audio get resampled while video speed changes, etc. but there's definitely no silver bullet due to imperfect hardware not matching movie data formats

It's relatively easy to get 100us level precision in CPU wait and mpv has 42ms (42,000us) to emit each frame (at 24fps). Nevermind that the monitor refresh is likely 60fps or better so each frame lasts for two+ monitor frames anyway. As long as it is consistent with each frame timing it should be very rare that a video frame is skipped or doubled up.

Re: Mpv – A free, open-source, and cross-platform media player

#90
post #69

I use it to inspect video frames by frames, particularly being able to go back one frame. VLC doesn't support it, this thread about the feature is hilarious https://forum.videolan.org/viewtopic.php?t=120627

i wonder why he's such an ass about it, and totally adamant that it's impossible when multiple players already do this fast. ego?

He mentions in the thread that he had to delete posts offensive to the developers. Maybe that's why?

In fairness to him, he offers the posters an opportunity to propose a technical solution and responds to all the posts that do it. It is interesting that nobody in the thread went to check in the code of mpv, smplayer, etc. to see how it's done there. Surely this would be the best response to his request for technical suggestions?

Post reply on HN