At a typical GOP interval of 30, you need 30 times the CPU power required to decode a video normally for smooth scrubbing to arbitrary frames. GOPs can be even larger than that.
-
-
the computer on the left is 500 times more powerful just in CPU than the computer on the right
1 reply 0 retweets 3 likes -
And h.264 is probably over 20 times more complex to decode than the older codec. Times 30 you're at 600. And nobody is putting exact seek into browser players because it's not going to work for HD video which multiplies the CPU usage again.
1 reply 0 retweets 5 likes -
i don't understand what the times 30 is here
1 reply 0 retweets 0 likes -
h.264 frames can depend on an infinite number of frames before them. A more common setting is 30. That means decoding frame 30 requires decoding frames 1-29 too. So you need 30 times the CPU power to decode any *random* arbitrary frame in the time it normally takes to decode one.
2 replies 0 retweets 8 likes -
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.
1 reply 0 retweets 2 likes -
(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.
-
-
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 - 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.