Live data from Hacker News

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

mpv.io

311–320 of 576 posts

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

#311

Earlier quoted context omitted.

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?

I think technically he’s correct (I haven’t worked on media decoding code, but I understand how common video encoding formats work). If you have a long video with only a single key frame at the beginning then to step back you would need to, starting from the beginning of the video, decode every frame up to the previous frame you wanted to jump to in order to apply frame deltas, also assuming you have some sort of fra…

all that's correct, but it's besides the point since other players are able to do this.

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

#312
post #172

Earlier quoted context omitted.

I do it like this: vo=gpu-next gpu-api=vulkan hwdec=vulkan gpu-context=waylandvk You can replace hwdec=vulkan with hwdec=vaapi if Vulkan video doesn't work.

Is there a reason why one would prefer vulkan over vaapi, or the other way round?

Vulkan in theory should be more flexible, but in practice VAAPI still has some advantages when it comes to power efficiency due to Vulkan path lacking some needed features (I think something to do with color space conversions which in Vulkan now have to happen using regular GPU compute units which is inefficient). In the longer term, Vulkan should be preferable in all scenarios.

See also some details here: https://github.com/mpv-player/mpv/discussions/13909

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

#313

Earlier quoted context omitted.

>Sometimes we forget that software ought to be useful, not hypothetical ideals of truth. I've long since come to the understanding that if I want software that are useful , I must go and pay for it. Commercial software exist to make money, and to make money they must be useful. If I want software that are hypothetical ideals of truth , I go and shitpost at the nearest neckbeard communion. Free-beer software exist to…

> I've long since come to the understanding that if I want software that are useful, I must go and pay for it. Commercial software exist to make money, and to make money they must be useful. Even if it were free, wouldn't you want to do something nice (like give them money) for the person(s) who made the useful thing for you?

[flagged]

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

#314
post #123
post #121

Earlier quoted context omitted.

Yeah. I did try playing around with some of the colorspace options you can find googling, but nothing seemed to work.

That's a Dolby Vision Profile 5 file. A format that's very very proprietary. The only PC apps that can play them at all are https://apps.microsoft.com/detail/9p9zh5fl1bfk?hl=en-ms&gl=M... and https://firecore.com/infuse

Is there a way to use Infuse on PC? The only links I see are to the App Store

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

#315
post #118

Earlier quoted context omitted.

Wow those answers are indeed funny. I agree that as an OSS dev/maintainer, it's easy to fall on the vice of over-generalization and crusade for the perfect solution, and it feels that's exactly what happened there. > this feature is algorithmically impossible > You're just looking at one specific video, not the general problem. > is not generally possible. As a fellow multimedia dev, man, who cares? Sometimes we forg…

>Sometimes we forget that software ought to be useful, not hypothetical ideals of truth. I've long since come to the understanding that if I want software that are useful , I must go and pay for it. Commercial software exist to make money, and to make money they must be useful. If I want software that are hypothetical ideals of truth , I go and shitpost at the nearest neckbeard communion. Free-beer software exist to…

This might be true in some application areas, but certainly not generally.

Where is that commercial kernel that works over a wide spectrum of architectures and system sizes?

Where is that commercial compiler that works on many architectures?

Where is that commercial packet capture software that people a paying for to get work done?

Where is that commercial emulator that can run your operating system on a very different machine in countless combinations.

The list could go on and on...

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

#316
post #147
post #54

If you're on Linux, don't forget to enable hardware acceleration by adding hwdec=auto to mpv.conf. Works with AMD/Intel/NVIDIA. https://interfacinglinux.com/2024/01/10/hardware-acceleratio...

Why would that be disabled by default?

If you autodetect hw accel, even the slowest underpowered gpu might get returned, which could result in worstened user experience compared to just using cpu.

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

#317
post #50

Can it do smooth scrubbing (i.e. scrolling the progress bar)? So many media players only show the key frames when scrubbing, making it a much less pleasant experience. Some mobile phones (Apple, Samsung) built-in media players seem to do it nicely, but I've never found a desktop media player that does it (VLC can't). Probably would require a lot of extra decoding behind the scenes to extract all the frames, but worth…

I don't really know what "scrubbing" is, but If you add "exact" to seek then it will use exact (non-keyframe) seeks. I think that's what you want? For example from my input.conf: Right seek 5 # In seconds; these are limited by keyframes Left seek -5 Shift+Right seek 2 exact # Smaller non-keyframe-limited, seeks with shift Shift+Left seek -2 exact Obviously, this is slower. Sometimes much slower (depending on the file…

> Obviously, this is slower. Sometimes much slower (depending on the file).

Anecdotally, I’d change that “sometimes” to “often”. After years of using `exact` I finally stopped. It always felt that the wait was longer than going to the previous keyframe and rewatching the bit. Now if I could only find the perfect timing to go back, though.

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

#318

Earlier quoted context omitted.

The developer responds to a comment: But many players are able to do it for years. with: If it's so easy, why are you not doing it? He's not just a butthole, he's a stereotypical open source developer butthole. On the other hand, if he worked for Microsoft, he'd be claiming that it takes a PhD to do it...

You need to send an email to the admin and ask for approval in order to register an account on VLC website to report bugs. This says it all.

That's the result of being successful for wide non-technical audience. The signal over noise would approach zero if everybody could create a bug report when something does not work as they wanted.

Have you tried to create a meaningful bug report (not feature request) that has not been previously reported and were rejected? If so your complaint is valid. I haven't so I don't know.

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

#319
post #177

Earlier quoted context omitted.

That strikes me as such a strange statement, I’ve always considered it to be among the most impressive OSS projects out there. It tackles enormous complexity, works everywhere, and has a trove of a million hidden features. For example, I use it to headless play streams from CLI.

If you enter video-related enthusiast scenes, such as fansubbed anime releases, mpv is recommended over anything else across the board. There are releases that break in VLC, and mpv is usually first to support new features. It also has particularly good defaults in terms of good and accurate playback, so where you might see some people say "install mpc-hc and these scripts and change these settings", with mpv it's ju…

> I even use it when an image I saved ends up as .html for some reason and then use the info screen to determine the real extension it should be so I can rename it

If you’re on Linux on macOS, you’ll have access to the `file` command-line tool which can do it effectively. In a couple of lines of shell scripting you can even have it auto-change the extension.

https://en.wikipedia.org/wiki/File_(command)

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

#320
post #123

Earlier quoted context omitted.

That's a Dolby Vision Profile 5 file. A format that's very very proprietary. The only PC apps that can play them at all are https://apps.microsoft.com/detail/9p9zh5fl1bfk?hl=en-ms&gl=M... and https://firecore.com/infuse

Is there a way to use Infuse on PC? The only links I see are to the App Store

Macs are PC's, you can also make a hackintosh.

EDIT2: if you consider an ARM board that you can install custom OS on as a PC – admittedly, bit of a stretch – then you can grab UGOOS AM6B plus / AM6 plus / Minix u22x-j max

install CoreELEC on it and enjoy DV.

https://github.com/CoreELEC/CoreELEC/releases https://discourse.coreelec.org/t/dolby-vision-for-minix-u22x... Recommended settings: https://justpaste.it/divn9 Installation instructions 1: https://discourse.coreelec.org/t/guide-s922x-j-ugoos-am6b-co... Installation instructions 2: https://www.reddit.com/r/PleX/comments/1ajszn9/remux_lovers_...

EDIT: I forgot that for Windows playback, you also need the HEVC and DoVi codec packages.

https://apps.microsoft.com/detail/9P9ZH5FL1BFK https://apps.microsoft.com/detail/9PLTG1LWPHLF https://apps.microsoft.com/detail/9nmzlz57r3t7

Post reply on HN