Try encoding your video on the left with GOP size 1 and I bet it'll seek as smoothly as the video on the right.
-
-
(It will also be much larger, but still smaller than the video on the right since h.264 is still going to be a better codec even in intra only mode)
2 replies 0 retweets 1 like -
ok but here's a non-defective video player doing it just fine despite you saying it's impossible (same video as on the left in my original) this is running on 8 year old hardware on mac os 10.12pic.twitter.com/GApgFA82Oe
5 replies 6 retweets 57 likes -
@marcan42 didn't say "it's not possible" but rather "it's not possible to make scrubbing universally responsive" Modern considerations go further than those from 20+ years ago, and will skew heavily towards reduced power usage.2 replies 0 retweets 4 likes -
It doesn't need to scrub a 90 hour 8k video file. It's just a regular, short video file, at low resolution. It fails at it.
1 reply 0 retweets 0 likes -
Scrubbing a 90 hour 8k video file visually smoothly takes *less CPU* than scrubbing an 8 second 480p file at libx264 default settings, because non-exact seeks don't matter when your video is 90 hours long.
1 reply 0 retweets 1 like -
The 8 second video can be completely decoded into memory easily. It's the codec is irrelevant at that point.
1 reply 0 retweets 0 likes -
That 8 second video takes 300MB of memory to completely decode into RAM. Do you seriously think it's acceptable for a browser to eat 300MB of RAM for every video you might play or embed into a webpage?
1 reply 0 retweets 1 like -
Where do you draw the line? Are we decoding 80 second long 480p videos into 3GB of RAM? Stop and think about the nonsense you're asking the browser to do for a second.
1 reply 0 retweets 3 likes -
I'm not playing a bunch of videos at the same time. I'm playing one video, in one tab. If I was playing multiple videos, then it could just unload the ones it doesn't need. Or only do it when I start scrubbing.
2 replies 0 retweets 0 likes
Because clearly browsers should implement a whole set of dynamic video frame cache memory management code just to make people who want to play 8 second 480p videos with smooth seeking and long GOPs happier (since none of this would be useful for longer videos anyway). Right.
-
-
Stop. Leave.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.