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
0 answers
54 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: ###############################################...
ms pi's user avatar
  • 1
1 vote
1 answer
461 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 ...
JollyRoger's user avatar
1 vote
0 answers
186 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 ...
Klemen's user avatar
  • 11
3 votes
1 answer
1k 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 ...
Zium's user avatar
  • 41
1 vote
1 answer
365 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 ...
rohal's user avatar
  • 21
2 votes
1 answer
259 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 ...
reddot's user avatar
  • 121
6 votes
1 answer
12k 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 ...
Ryan Griggs's user avatar
0 votes
1 answer
182 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 ...
RPi user's user avatar
1 vote
1 answer
277 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 ...
Orkun Kasapoglu's user avatar
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 --...
larsks's user avatar
  • 656
4 votes
1 answer
6k 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 ...
StephanM's user avatar
  • 141
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 ...
Aliya Petranik's user avatar
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 ...
Baba's user avatar
  • 13
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 ...
user73636's user avatar
  • 117
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 ...
sonko's user avatar
  • 1
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 ...
Adrian Antunez's user avatar
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 ...
JosephH's user avatar
  • 173
3 votes
1 answer
336 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 ...
skatedan's user avatar
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: ...
potter1111's user avatar
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 ...
Aldo's user avatar
  • 121
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 ...
11chubby11's user avatar
  • 4,764
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 ...
11chubby11's user avatar
  • 4,764
1 vote
1 answer
945 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 ...
eWizardII's user avatar
  • 165