balena-labs-projects / balena-dash

Build a Raspberry Pi based desktop dashboard for stats, photos, videos and more!
https://balena.io/blog/make-a-web-frame-with-raspberry-pi-in-30-minutes/
MIT License
431 stars 136 forks source link

Low framerate and choppy videos #20

Open mathdufort opened 5 years ago

mathdufort commented 5 years ago

Hi balenaDash team,

Thank you for this great project. I'm trying to setup 2 displays in my university to display content for the IT department : web pages, announcements, newsfeeds, videos, etc. I find that I'm getting really choppy videos on youtube, twitch, etc. As suggested in a tutorial, I cranked the GPU memory to 296Mb but I'm still getting poor video performance. Should the videos be fullspeed or am I doing somethign wrong?

Thank you for your help and for this project!

chrisys commented 5 years ago

@mathdufort what device are you using and what's your display resolution?

mathdufort commented 5 years ago

Hi, I'm using a raspberry pi 3 and displaying at 1920x1080 on a lcd screen hooked up via HMDI.

kwazi commented 5 years ago

@mathdufort A board or B board?

MathewHD commented 5 years ago

It would help if the videos were transcoded to h.264 to take advantage of the onboard decoding chip. I've used https://github.com/Screenly/screenly-ose which can take advantage of this and will transcode youtube videos to the local file system then play them using the h.264 on the pi.

ColinTravis commented 1 year ago

I've also noticed that on a Pi3, with 128-192mb of allocated GPU memory, any video played on a website or YT just crawls. Curiously, the digital signage company Yodeck has an image that allows rendering a webpage and that was streaming 4k@60 flawlessly on the same Pi3, so the hardware is definitely capable.