jaruba / wcjs-player

Node Player made for WebChimera.js (libVLC wrapper)
http://webchimera.org/
GNU Lesser General Public License v2.1
178 stars 46 forks source link

Error when try in raspberry 3 #45

Open creativefull opened 8 years ago

creativefull commented 8 years ago

hi jaruba,. I get an error when I run in raspberry 3. or maybe I need a WebGL?

RSATom commented 8 years ago

it will not work on RPi, at least while X11 will not have hardware accelerated drivers there...

jaruba commented 8 years ago

@RSATom although WebChimera.js VLC won't work because of the lack of hardware acceleration, I think WebChimera.js GStreamer might, as stated on this wiki page:

gstreamer-1.0 features gst-omx, a module which can do hardware-accelerated video decoding on the Raspberry Pi.

@creativefull but the api for WebChimera.js GStreamer is too different from WebChimera.js VLC, so wcjs-player won't work with it..

jaruba commented 8 years ago

@creativefull If you want to test this theory though, you'd need to enable hardware acceleration in NW.js too (as rendering the video uses WebGL), from what I've read here: https://github.com/nwjs/nw.js/issues/1151#issuecomment-120854731

It seems that people did manage to get hardware acceleration working in NW.js on the RPI before.

RSATom commented 8 years ago

I think there are more reasons use QML based players on RPi. I'm working on porting https://github.com/RSATom/WebChimera-desktop to RPi right now.

jaruba commented 8 years ago

@RSATom but isn't it still based on VLC, I thought VLC had an issue with hardware acceleration on RPI..

RSATom commented 8 years ago

it's only the part of the problem, second part - missing hardware acceleration of frames display on RPi. It could not be fixed only by using GStreamer (which could use hardware decoder) - it require hardware accelerated renderer too.

creativefull commented 8 years ago

meaning i must be install GStreamer first, ?

creativefull commented 8 years ago

yes my RPI did'nt have hardware acceleration ,. just software only ,.

RSATom commented 8 years ago

meaning i must be install GStreamer first, ?

no, we mean you have no any easy way to get it working.

creativefull commented 8 years ago

do yo have any solution ?

RSATom commented 8 years ago

No, I don't. And please read this: https://github.com/RSATom/WebChimera.js/wiki/Limitations-%28Read-this-for-Android-|-Raspberry-Pi-|-performance-issues%29

creativefull commented 8 years ago

Ok thnks :)