-
Notifications
You must be signed in to change notification settings - Fork 115
Video performance #9
Comments
I have attempted to get this working, unfortunately chromium (on which electron is based) does not support the GPU used in the RPi, this means that it is unable to use hardware acceleration and the full load is dumped onto the CPU, which does not handle video decoding very well. |
maybe by activating WebGL but don't know how to do that within a resin image ? |
This is actually my main use case for wanting to buy a raspberry pi: An electron app meant for video playback. |
@TomAshley303 In my experience, until they update to the 4.4 kernel which has the (experimental) OpenGL support you will pretty much HAVE to rely on omxplayer for video playback. I know the resin team is working on the update as we speak. For now, I am running an electron app based on this template and then triggering videos via |
Hi, any updates on OpenGL support? |
It seems to be on chromium's side with a lack of support for mali GPUs on linux |
@danielmahon Do you know anything about the progress on the Resin team side? |
Hello, it turns out the issue is with the mesa libraries that are installed by more info here balena-os/balena-up-board#26 |
Sorry, that is related to Intel based devices, while this thread is about the rpi3 - my fault :/ |
@curcuz Thanks for the quick reply. This only works on Intel based boards, not the Raspberry Pi 3(which is ARM based). Is there any solution that you know of for ARM based devices? |
I need this working too... Is there anything? |
Maybe someone with enough experience in building electron/chromium could apply one of these patches and build a custom electron binary for the rpi: https://github.com/raspberrypi-ui/chromium_patches |
Adding |
i'm experiencing the same problems with the rpi3 using the video tag and a 1080p mp4 video. omxplayer does a decent job and the playback is flawless. but since i want an overlay (text, images, ..) on top of the video, omxplayer won't work for me - omxplayer OR html content :/ does someone know if another board is capable of smooth 1080p video playback using the html5 video tag? what about the intel nuc? thanks! |
@Addflow I‘m using a Celeron NUC with Ubuntu 16.04 and Chromium and it plays 1080p H264 fine. |
Has chromium fixed this yet? Is it a problem with chromium? |
I'm trying to solve this, too. Adding I briefly tried to use omxplayer, but battled to install it. @danielmahon can you share how you went about using omxplayer? |
I follow tutorial on this site https://thecodersblog.com/hardware-accleration-in-linux-with-chrome/ This can increase performance, not much but still. |
Hello,
I have been checking resin-electronjs today and I am not able to get any decent performance on a raspberry pi 3. I have tried with the master branch as well as with the framebuffer one. Also, I noticed that the image quality is not so good, it seems as if the graphics are quantized, i.e. running in maybe 16bits/pixel instead of 24. Do you have any advices? is it even possible to get an acceptable performance to play videos using electron on a rpi?
The text was updated successfully, but these errors were encountered: