1072
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 21 Sep 2023
1072 points (97.8% liked)
Open Source
31737 readers
266 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
VLC >> everything else
One thing that I hate about VLC (hasn't made me drop it in 15 years but alas) is that you can hit E to go forward one frame but there's no key (nor capacity to set your own) to go back one frame.
Is it a niche use case? Sure probably. But not having the option to set one myself kills me whenever I frameskip one too far and have to shift-left and mash E again.
i don't think it's a niche feature, and totally agree, very annoying. there's some long technical explanation about like stream buffering but i don't care, many other players have it. you can rewind but not rewind 1 frame?
From what I recall it has to do with encoding and how the data stored references the following frame but not previous. Still seems like some engineering could be done to solve, so it it's not as simple as "current Frame--"
It's absolutely possible, though. MPV has it. It definitely takes longer than going forward, and sometimes I have to press the "back one frame" shortcut 2-5 times per frame. But, it does exist.
A simple explanation: Compressed video is typically stored in such a way that you have say, one full frame every 5 frames or so. The in-between frames are just what changed from the previous frame. (Actually, smart compression is adaptive, changing how many full frames it needs depending on what the content is.)
So going forward a frame is easy. The current view is stored in the frame buffer, and you just add the changes to the next frame.
Ah, but how to go back? There are (at least) 3 possibilities.
The best solution probably mixes 2 and 3. Maybe a double or triple frame buffer, with the option to calculate new back-frames as further needed?
Anyway, that was fun to think about!
Option 3 is the usual method, & it works quite fast on almost any machine that's even capable of decoding high bitrate video fast enough to keep up with its framerate, in the first place. On a HDD, that previous frame may briefly require seeking to get back to, but no such delay occurs with flash storage.
Of course, it doesn't need to be done fast; we're talking about long looks at single frames!
For best results, frame-capture apps use cross-frame interpolation with motion estimation (& these days, AI).
I don't remember the last device I saw, that would struggle with this in any way. It's basically just been dismissed as unimportant, by the VLC devs, rather than actually being all-that-difficult to implement.
I'm shocked that VLC doesn't offer reverse playback by now, given the absolutely enormous video resources & random access storage, we're all blessed with now.
That makes a lot of sense, thanks! I'm a dev but not in video so it's always nice to learn a few things about how problems in other domains are solved.
Reverse playback would be pretty fun! Maybe it's hard to sync up the reverse audio? ๐
Hahahah, very!
I do get annoyed, setting the hotkeys & seek distances, to something actually useful, every time I install VLC
That would be more steps than just setting the hotkeys in VLC... I haven't really had any reason to install MPC in... wow, over a decade? VLC opens everything & works with my remotes, casting, etc.
Weird: I just noticed that I have seekbar preview on my desktop install of VLC, but not mobile. Now I want to compare to the Win version as well, because I'm noticing some menus look different than I remember.
Honestly, I install VLC just to snag the file-associations away from the WMP / Windows Video apps, because they remain insecure by default.
MPV is better than VLC, but it clearly depend of the utilisation.
vlc is best for flac's
In MPV you can litteraly use shaders and upscaler to improve significantly the image.
See : https://github.com/bloc97/Anime4K https://github.com/butterw/bShaders https://artoriuz.github.io/blog/mpv_upscaling.html
VLC doesn't support shaders.
Other great stuff with MPV is change everything, from the UI to keyboard bind. And of course MPV is totaly usable with the command line (is better than use a gui btw, you can see the errors and other stuff).
excuse me but what the fuck does music have to do with shaders
nothing, but mpv supports flac's, if you want to know that :)
I have been using MPC as long as I can remember. Never could make the jump to VLC. Currently run MPC-BE.
mpv gang
I wish VLC updated their UI to include a dark mode. I've never had luck with VLC skins
Try v4 (edge)
Different tools for different purposes
No different tools. Only VLC!
The number of times I've needed to do something, then realized VLC already did it... Wow
Even had use for the video wall options, a few times.
Mpv.io if you are using low end computer to watch high bitrate videos or if you have high end computer you can use various image upscalar algorithm to improve your anime quality, Where VLC lags
IINA on macOS
for desktop I prefer mpv
Ehhhh, VLC keeps glitching on videos for me these days, I've switched to MPC and definitely prefer it.
What about media player classic black edition?
I'm gonna be the one to mention Amberol, then. If I just want to play music, and have a pretty interface while doing so, that's what I'll use.
Otherwise, VLC for everything
VLC is heavily bloated with features you need a guide to use (may as well use a command line tool if you need to refer to a guide every time). It crashes (or did about 2 years ago) some of our Linux systems. MPV spanks the piss out of it.