The reason for that is actually the codec. The video on the left is likely encoded in h.264 where, I shit you not, the relationship between frames is a directed acyclic graph - any frame can depend on any previous frame. In contrast, the video on the right is likely a .mov [1/2]
-
-
The codec commonly used in .mov, Quick Time Animation, encoded all frames independently which allows for instant scrubbing. But modern codecs such as HAP still allow to that on our modern computers... except they allow it in 4K+ resolutions. Also, thanks for ripcord :D
1 reply 2 retweets 51 likes -
Replying to @jcelerie
yeah, the video on the left is an MP4 re-encoding of the video on the right. the video on the right, in the .mov container, is Sorenson video. which is easier to scrub through. but the point of the comparison was software in 2020 vs 2002. which includes the codec. so that's 1/2
1 reply 0 retweets 26 likes -
why I re-encoded it. but it's not an excuse for the modern software. there's so much computing power in this machine. it could easily make scrubbing responsive if it wanted to. (and some software can.) the people who made it just don't care enough.
7 replies 0 retweets 30 likes -
It's not possible to make scrubbing universally responsive in h.264 except post facto by caching the hell out of everything. Keyframe intervals can be arbitrarily long and smooth scrubbing requires being able to decode one whole GOP per screen frame.
2 replies 0 retweets 6 likes -
i've got 8gb of video memory and hundreds of milliseconds between clicking the mouse button down and moving the playhead. and even updating the player window every 100 milliseconds would be a huge improvement.
1 reply 0 retweets 2 likes -
if you look at these old players they are actually doing all of these dirty tricks to make things responsive that you may be writing off in your head as not worth it.
1 reply 0 retweets 1 like -
Citation needed. Scrubbing is trivial when all your frames are I frames and requires no more memory or CPU than normally playing the video. It's literally zero extra code. That stops working when you introduce interframe compression.
1 reply 0 retweets 2 likes -
the computer on the left is fast enough and has enough memory to store the entire video decoded as raw framebuffer in free video memory.
1 reply 0 retweets 1 like -
And if Chrome attempted to do that, then everyone would complain about how it's crashing their videogames while multitasking. Plus you'd have to cache aggressively to allow smooth seeking. And then it only works for HD videos up to 30 seconds which is what you can fit in there.
2 replies 0 retweets 6 likes
It's fun to complain that "modern software sucks" and that it "technically could do that" and that "computing is worse than it was", but no, sorry, this is all based on entirely reasonable trade-offs. What you're asking for is not reasonable.
-
-
modern software does suck. the player on the left does suck. there are players that don't suck that bad. but that's the one that's default on this computer.
1 reply 0 retweets 1 like -
No player is going to do what you want as smoothly as the old player on modern video formats universally, which is why many players make no attempt to pretend to do it. Yes, if you *really* want it, go use mpv and turn on exact seeks. It'll work, to varying degrees.
1 reply 0 retweets 0 likes - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.