# Stream GLvideo camera failed rpi 3 A+

**URL:** <https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512>\
**Category:** Processing for Pi\
**Created:** [November 15, 2019, 4:48pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512 "2019-11-15T16:48:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuzzy\_wobble](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fuzzy_wobble/32/7116_2.png) [@fuzzy\_wobble](https://discourse.processing.org/u/fuzzy_wobble)\
**Post date:** [November 15, 2019, 4:48pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/1 "2019-11-15T16:48:42Z")

</div>

Hello,

having some difficulties with Processing on rpi : (

Firstly, tried downloading the [Raspberry Pi Image](https://pi.processing.org/download/) and it would not even boot so had to add Processing manually.

Got Processing running, but when I try to stream video using GLVideo I get this error:  
_v4l2src0: Could not read from resource_  
_poll error 1_  
_v4l2src0: Failed to allocate buffer_  
_v4l2src0: Internal data stream error_

Other video examples also fail but graphic examples work (barely).

I am using:  
GLvideo @gohai  
Processing 3.5.3  
rpi model 3 A+  
128MB GPU memory  
Rpi camera module v1.3 (added “bcm2835\_v4l2” to /etc/modules)

This is my very first time using Processing on rpi, so very new to this : U

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 16, 2019, 2:00am UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/2 "2019-11-16T02:00:48Z")

</div>

there has been changes and i can not answer your question exactly  
-1- i use RPI 3B+  
-2- never use the image…

* * *

i have on it 2 systems running:  
-a- the first buster image ( for RPI4 )  
updated,

- processing installed by the

```auto
curl https://processing.org/download/install-arm.sh | sudo sh

```

- GLVideo installed only capture works
- build my own lib update and also video work

-b- the new system 2019-09-26  
not using video and GLvideo from contribution manager  
but load manually  
[https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip](https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip)  
from [https://github.com/processing/processing-video/releases/tag/r6-v2.0-beta4](https://github.com/processing/processing-video/releases/tag/r6-v2.0-beta4)  
and

- video play
- RPI CAM
- USB CAM

works.

---

<div class="post-metadata">

**Author:** ![fuzzy\_wobble](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fuzzy_wobble/32/7116_2.png) [@fuzzy\_wobble](https://discourse.processing.org/u/fuzzy_wobble)\
**Post date:** [November 16, 2019, 3:11am UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/3 "2019-11-16T03:11:59Z")

</div>

Thanks for the response.

So you are suggesting I install Processing with the curl, then manually load processing-video and GLvideo (not using contribution manager)?

Do you have a link for the GLvideo lib you recommend loading manually?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 16, 2019, 3:18am UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/4 "2019-11-16T03:18:24Z")

</div>

NO,

-a- it would depend on what system version you have  
-b- NOT load GLVideo for newest sytems until there is a new build version.  
-c- i give you link to new video lib ( FOR NEW SYSTEM ONLY )

---

<div class="post-metadata">

**Author:** ![fuzzy\_wobble](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fuzzy_wobble/32/7116_2.png) [@fuzzy\_wobble](https://discourse.processing.org/u/fuzzy_wobble)\
**Post date:** [November 16, 2019, 2:12pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/5 "2019-11-16T14:12:31Z")

</div>

Okay,

So you are recommending just to use processing-video link you sent? Install everything manually.

And if i want to use GLVideo, I have to wait for a new build version. Any idea when there will be a new version? @gohai

I would prefer to use rpi-3-A+, but I also want to try rpi-4 and compare performance. Does the processing-video link you sent work on _both_ rpi3 and rpi4 ?

The steps you are sharing are _very different_ from what [processing has in their documentation on rpi.](https://pi.processing.org/tutorial/camera/). Any idea why this documentation is so off?

Thanks!

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 16, 2019, 2:42pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/6 "2019-11-16T14:42:20Z")

</div>

possibly pre BUSTER

also about RPI 4 can not help, only 1,2,3,3+  
and only talk about systems i have tested.

---

<div class="post-metadata">

**Author:** ![fuzzy\_wobble](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fuzzy_wobble/32/7116_2.png) [@fuzzy\_wobble](https://discourse.processing.org/u/fuzzy_wobble)\
**Post date:** [November 16, 2019, 2:44pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/7 "2019-11-16T14:44:31Z")

</div>

Are you recommending I use raspbian buster for rpi3?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 16, 2019, 2:59pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512/8 "2019-11-16T14:59:18Z")

</div>

NO,

> [@kll](#):
>
> -b- the new system 2019-09-26

but all the time i talk about RASPBIAN system versions…  
like " if have this version can use that library… "

did you try the new library video ( video play, RPI cam ) already  
and does it work with your ?system?
