Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mmal]

MMAL stands for Multi-Media Abstraction Layer. The MMAL API runs over OpenMAX. MMAL is a Broadcom specific API used only on Videocore 4 systems.

Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

Why raspberry pi sometimes stalls after executing "vcgencmd get_camera " Command?

I frequently use vcgencmd get_camera command on the raspberry pi, It gives the following error- vc_gencmd_send returned -1 vchi_msg_dequeue -> -1(22) And then raspberry pi hangs. I then executed ...
3 votes
1 answer
343 views

Picam noir issue

when I try to take a picture using my Pi Camera this error message is returned: raspistill -o image.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component ...
0 votes
0 answers
128 views

Need help with Raspberry Pi camera - mmal error

Hello Raspberry Pi community, I'm reaching out for assistance with a recurring error related to the Raspberry Pi camera module. so it showing this error: ###############################################...
4 votes
1 answer
2k views

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

Right now, I'm building an application and one of the sub goals is to display the camera to the screen with a good resolution and frame rate. I'm also trying to keep the cpu usage as low as possible ...
1 vote
1 answer
736 views

How to set up picamera on Raspberry Pi 3 B+ with an Ubuntu 20.04 OS

I have a TurtleBot3 Burger robot which has a Raspberry Pi 3B+ on it. And the RPI has to run Ubuntu 20.04 OS, otherwise I can't use ROS and eventually the robot functionalities. The RPI has a picamera ...
1 vote
1 answer
8k views

RPI-3: Performance issue on FFmpeg with mmal support

Issue: FFMPEG GPU/Hardware acceleration is not enabled on RPI. FFPlay is jittery, patchy and takes close to 100% CPU. Description: The video streaming of mpeg4 files is very slow (the video streaming ...
6 votes
1 answer
14k views

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

I have had good success on the RPi 3 using ffmpeg to decode h.264 streams from various Ethernet video sources. However, on the RPi 4, when I include the -c:v h264_mmal directive, it appears to ...
2 votes
2 answers
4k views

Problems using bcm2835_v4l2 module w/ ffmpeg

I've run into some problems using the native bcm2835_v4l2 module on my Raspberry Pi Zero W (running Raspbian Stretch). The module is loaded and the associated video device is visible: $ v4l2-ctl --...
1 vote
0 answers
207 views

Picamera on Ubuntu 18.04 64-bit

Is there any way to get picamera to work on Ubuntu 18.04 64-bit. I have tried: Compiling a non-official version of userland for 64-bit and it compiled, but the camera does not work I have tried using ...
0 votes
2 answers
3k views

Pi camera not working

I just got my Pi camera v2.1, took 1 test photo and 2 test videos, when I wanted to record another vid (10s) it was 1kb so I tried raspistill and got mmal: No data received from sensor. Check all ...
4 votes
1 answer
7k views

Installing mmal motion on RPi

I have been trying to install motion on my Pi3, only to be chasing library errors at every step. None of the tutorials seem to say what flavor of Pi OS to use. I am beginning to wonder if I chose ...
1 vote
1 answer
393 views

PiCamera 1.13 docs MMAL example problem

I am trying to lower the time to capture a still image from the Pi camera (I have a V2 and HQ). To this end, I have found my way to the PiCamera 1.13 docs, specifically chapter 16 dealing with the ...
2 votes
1 answer
296 views

Monitoring hardware accelerated video decoding

I'm using RPi4 board with Raspbian on top of it I wonder if there is a way to tell if any process currently using hardware accelerated video playback? Ideally it would be nice to be able to say ...
0 votes
1 answer
205 views

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

I have a Python file that calls the camera to take video when a motion sensor is triggered. I am running it at startup using rc.local (I have the '&' at the end). When I run it normally, it works ...
1 vote
1 answer
283 views

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

I wanted to control the raspberry pi camera with MMAL and I used the RaspiCamControl.c file to learn how to control the camera component then I wrote a class about it. I've created and added all the ...
0 votes
1 answer
2k views

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

I'm running a program which records a 5 second video and analyses it every 30 seconds. The program runs for a while but after like an hour or so it fails saying ● clocktwist.service - My Pendulum ...
1 vote
0 answers
1k views

MMAL failing to create camera component

I've been messing around with Raspicam and MMAL on my Pi 2 for a bit now and today when I tried to run my code, I got this error. Thought it might be my code, so I tried running one of the example ...
38 votes
8 answers
96k views

RasPi Camera Board and Motion

I just got my Camera Board and a Model A Raspberry Pi to use as a security camera for my house. I had been using Motion with a Logitech C170 USB camera on my Model B board and it worked great except ...
1 vote
1 answer
2k views

Picamera get back from "Out of resources (other than memory)"

As the picamera has a lot of flexilibity, I have integrated it using boost::python to my C++ program. In my application I create a PiCamera() instance at the beginning in order to continuously update ...
2 votes
1 answer
8k views

"mmal: No data received from sensor" error

I have some problems with the raspicam,can you help me Please? In fact, It was working without problems since the last month but, yesterday, it starts to display this error when I ran raspistill -o: ...
7 votes
1 answer
1k views

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

I'm one of the developers on the Motion project. We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository. To build with ...
2 votes
0 answers
1k views

3 Camera Interfacing on Raspberry Pi B for Live Streaming [closed]

I am new to Raspberry Pi. My basic requirement is to get the live stream from 3 cameras using a Raspberry Pi B. It can be at a low fps. I'm planning to use 2 USB cameras and one RPi Camera Module ...
2 votes
2 answers
877 views

How to get Motion working "On the fly"

I'm wanting to use my Pi as a dashcam and I'll have it set ffmpeg to make mpeg4 recordings. On the Motion website here they describe you being able to generate mpeg films "On the fly." I have done ...
1 vote
1 answer
947 views

MMAL Raspberry Pi Speed

Does anyone know if there is a way to improve the speed of taking photos with raspistill? I have a Python program which basically calls "subprocess.call" - I've noticed that the speed of such an ...