Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5190

Beginners • Re: Raspberry Pi 5 Graphics , good ?

$
0
0
Running any sort of video through a browser is prone to delay because of the very long path the data has to take through the system. Using dedicated player applications is much better.
What delay do you mean ? HTML5 loads the video file, decodes and displays it in a single element, so there should be no browser overhead. Also more effort goes into browser development so provided there aren't lots of tabs open it can often outperform a dedicated player.
There is a lot of full frame copying going on in the background of an HTML rendering of a video file. It has got a lot better since the days of SurfaceFlinger in Android, but it's still not the direct path with zero copies that a dedicated player can provide when rendering direct to a DRM plane.
I thought the HTML5 video tag assumed a single synced copy, and I thought most video players did something very similar, or at least they do in Windows. Does Linux add extra frame copies for browsers that Windows doesn't ? I've certainly never found any Windows player better than the one built inside Firefox.

SurfaceFlinger overcomplicated things by trying to do things nobody wanted.

Statistics: Posted by MikeDB — Sat Dec 28, 2024 10:28 pm



Viewing all articles
Browse latest Browse all 5190

Trending Articles