Lagging when playing video with Javascript - Raspberry Pi Forums


i built electron application play videos on raspberry pi. download videos internet , play videos video.js videos laggy when playing. i've read somewhere:
and known without gpu cpu of pi far slow decode such content!
since i'm not using video player application, can play videos smoothly, without lags?

thanks.

1) modify electron runtime (webkit ?? ) gstreamer pipelines include gst-omx.
2) call native application (omxplayer)
3) write stuff in proper runtime , language (qt/c++) :

http://www.youtube.com/watch?v=wulbr2r1gpm
http://www.youtube.com/watch?v=sejxqn-w2ua

ghans


raspberrypi



Comments