Live data from Hacker News

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

mpv.io

191–200 of 576 posts

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

#192
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

Slightly related: mpv also has excellent backward playing capability! Of course video encodings aren’t optimized for this so it does some work to make the performance reasonable.

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

#193
post #78

In my input.conf file I've created filter keyboard shortcuts: F1 af toggle "acompressor=ratio=4,loudnorm" F2 vf toggle "bwdif" First one is an alright dynamic range compressor (makes the loud parts quieter and quieter parts loud). Second is a deinterlace at default settings. These are standard ffmpeg filters and mpv let's you turn these on in real time.

I amalgamated some audio filters to cycle through on a F1 press

- Loudness Normalization: "lavfi=[loudnorm=i=-14.0:lra=13.0:tp=-1.0]"

- Loudness Normalization + Mild Tinnitus Filter: "lavfi=[loudnorm=i=-14.0:lra=13.0:tp=-1.0,equalizer=f=6000:width_type=o:w=2:g=-20]"

- Mild Tinnitus Filter: "equalizer=f=6000:width_type=o:w=2:g=-20"

- Aggressive Tinnitus Filter: "equalizer=f=4000:width_type=q:w=1:g=-30,equalizer=f=6000:width_type=q:w=1:g=-30,equalizer=f=8000:width_type=q:w=1:g=-30"

- Bass Reduction: "bass=f=210:g=-17.7"

- Alternative Loudness Normalization: "loudnorm=linear=no"

- Dynamic Audio Normalization: "dynaudnorm=s=0"

- None: ""

F1 cycle-values af "lavfi=[loudnorm=i=-14.0:lra=13.0:tp=-1.0]" "lavfi=[loudnorm=i=-14.0:lra=13.0:tp=-1.0,equalizer=f=6000:width_type=o:w=2:g=-20]" "equalizer=f=6000:width_type=o:w=2:g=-20" "equalizer=f=4000:width_type=q:w=1:g=-30,equalizer=f=6000:width_type=q:w=1:g=-30,equalizer=f=8000:width_type=q:w=1:g=-30" "bass=f=210:g=-17.7" "loudnorm=linear=no" "dynaudnorm=s=0" ""

https://reddit.com/r/mpv/comments/xf8p9t/movie_volume_compre...

https://pastebin.pl/view/2f48e64c

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

#194
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

You can press e to frame advance. Can't go back though.

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

#195
post #175

Earlier quoted context omitted.

Compared to mpv. Some would also say compared to mpc-hc.

The first sentence on https://mpc-hc.org/ is, "MPC-HC is not under development since 2017. Please switch to something else."

search engines and wikipedia point to actively maintained versions

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

#197

Earlier quoted context omitted.

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…

Wouldn’t creating in-memory key frames for every nth frame resolve substantial computations on a frame-by-frame basis?

you'd have to "rebase" all the other frames to be derived from those

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

#198

Earlier quoted context omitted.

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…

> If you have a long video with only a single key frame at the beginning then ...you can't support the scrub bar efficiently either, so no one encodes video that way. Typically to go to a frame you find the last IDR frame before it (and in reasonable encodings those are frequent enough) and decode forward until you get to the frame of interest. Doing that every time the user presses the single frame back button reall…

> It's of course work to do, and I'm not super motivated to send them that patch, and there's the question of it it would be merged

That's my issue; he calls for people to send patches, but anyone capable of writing such a patch is also probably going to see that he's not positive on the matter, and that his "patches welcome" is really pretty passive aggressive in this instance. At least, that's how it comes off to me. I would expect that, should I submit such a patch, it would simply be rejected on the basis that "it is not a general solution".

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

#199
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

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...

The dev said they are happy to accept patch for this feature. Remember that you're not entitled to demand new features, as a (non-paying) user, you can't allocate dev's time to work on what you want.

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

#200
post #175

Earlier quoted context omitted.

Compared to mpv. Some would also say compared to mpc-hc.

The first sentence on https://mpc-hc.org/ is, "MPC-HC is not under development since 2017. Please switch to something else."

Instead of MPC-HC v1.7.13 (2017) maybe try MPC-HC v2.3.4 (2024)

https://github.com/clsid2/mpc-hc

In many ways it's a display wrapper about codec components, the display part is in active maintainance and bug fix mode (last update two weeks ago) and the codecs are constantly being improved (and expanded as new ones emerge).

https://www.codecguide.com/

There are two or three MPC-HC spin offs that are tweaking the core to do new things.

Post reply on HN