Hot answers tagged

11 votes

RasPi Camera Board and Motion

to load the model after each reboot, use this setting sudo nano /etc/modules enter bcm2835-v4l2 exist and save the fle sudo reboot
jefwu's user avatar
  • 111
6 votes

How to add raspberry pi / raspbian distro specific build-deps to a Debian package

You're correct that you can't add a build-dependency on libraspberrypi-dev to the Debian package, since there is no such package in Debian. You can't even limit the build-dependency to an architecture ...
Stephen Kitt's user avatar
3 votes

Problems using bcm2835_v4l2 module w/ ffmpeg

This appears to be code for "you haven't assigned enough memory to the GPU". Using the raspivid command in this situation resulted in: mmal: mmal_vc_component_enable: failed to enable component: ...
larsks's user avatar
  • 656
3 votes

RPI 4 - ffmpeg - how to get hardware h.264 decoding to work?

As of July 2021 you can get half way there. There is a V4L2 M2M (memory to memory) interface that is used to access hardware encoders and decoders, and the Pi seems to have pretty good support for ...
Malvineous's user avatar
  • 1,864
2 votes

PiCamera fails after a while: Out of resources other than Memory

Might be a bit late on this, but I had a similar problem. I think your problem lies with you instantiating picamera.PiCamera() again. i.e. inside your with statement you are instantiating a PiCamera() ...
cbett's user avatar
  • 21
2 votes
Accepted

How to directly render pi camera output to display using C++

Nevermind, got it working! I was missing the code to link up the preview component to the camera. Here's the missing code: ... MMAL_CONNECTION_T *preview_connection; // Global variable ... ...
Zium's user avatar
  • 61
1 vote
Accepted

PiCamera 1.13 docs MMAL example problem

Well, it appears it is a timing issue. I modified the code to include a loop to capture an image and finish when the size of image.data is greater than zero. Obviously slower than the first version ...
rohal's user avatar
  • 21
1 vote

Monitoring hardware accelerated video decoding

I would approach this by checking the output of lsof | grep /opt/vc This will list all processes which access videocore libraries. This can be further narrowed down to a specific library you're ...
Dmitry Grigoryev's user avatar
1 vote

Installing mmal motion on RPi

Install motion from github and build it yourself. This is how to do it: sudo mkdir motion sudo cd motion sudo apt-get install autoconf automake autopoint build-essential pkgconf libtool libzip-dev ...
zenofall's user avatar
1 vote

Camera errors when running Python script at boot from rc.local

OK, I fixed it. I hope this helps someone... I had used ~/path/to/file.py as the directory to which I wanted to store the footage taken by my Python code. I replaced this with absolute reference: /...
RPi user's user avatar
1 vote
Accepted

Undefined Reference to `vc_gencmd(char *, int, char const *, ...)`

Undefined reference errors have gone when include the vc_vchi_gencmd.h file with extern "C"... declaration; extern "C" { #include "interface/vmcs_host/vc_vchi_gencmd.h" }
Orkun Kasapoglu's user avatar
1 vote

Problems using bcm2835_v4l2 module w/ ffmpeg

As an Update, it looks like this needs 256MB now (got the hint from github)
cvo's user avatar
  • 11
1 vote

RPI-3: Performance issue on FFmpeg with mmal support

After working some frustrating days on same problem, I came to a conclusion: It seems that ffmpeg-versions > 3.1.x are not able to use accelerated (mmal) decoding anymore! I compiled on rpi3 with ...
sagiadinos's user avatar
1 vote

Pi camera not working

Burnt camera module. Happened to me once, I had killed the cam although I was super careful.I ran all troubleshooting possible. Apparently, it got fried when I pulled it out while the pi was still on. ...
nawf's user avatar
  • 41

Only top scored, non community-wiki answers of a minimum length are eligible