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.

http://www.raspberrypi.org/wp-content/uploads/2013/07/RaspiCam-Documentation.pdf

24 questions
38
votes
8 answers

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 for the quality. I was expecting the Raspberry Pi…
11chubby11
  • 4,872
  • 5
  • 26
  • 32
7
votes
1 answer

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 MMAL camera support, the libraspberrypi-dev…
JosephH
  • 173
  • 7
6
votes
1 answer

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 generate blank frames, as if the decoder never outputs…
Ryan Griggs
  • 189
  • 1
  • 1
  • 7
4
votes
1 answer

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 the wrong one? pi@raspberrypi:~/mmal $ sudo…
StephanM
  • 141
  • 1
  • 2
4
votes
1 answer

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 since there'll be other tasks running in the…
Zium
  • 61
  • 5
3
votes
1 answer

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 couldn't be enabled mmal: main: Failed to create…
skatedan
  • 51
  • 1
  • 1
  • 8
2
votes
2 answers

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 --list-devices mmal service 16.1…
larsks
  • 685
  • 1
  • 6
  • 19
2
votes
1 answer

"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: mmal: No data received from sensor. Check all…
potter1111
  • 29
  • 1
  • 2
2
votes
0 answers

3 Camera Interfacing on Raspberry Pi B for Live Streaming

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 simultaneously. (Cause using 3 USB Cams using a Hub…
Aldo
  • 121
  • 3
2
votes
1 answer

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 which process exactly is using it, but it's not…
reddot
  • 121
  • 2
2
votes
2 answers

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 tests where i cut the Pi's power as its recording to…
11chubby11
  • 4,872
  • 5
  • 26
  • 32
1
vote
1 answer

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 operation is about 2.7 seconds, is there a way to…
eWizardII
  • 165
  • 1
  • 7
1
vote
1 answer

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 functions that I needed. In this file…
1
vote
0 answers

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 raspicam_test files and I still get this error. I…
1
vote
1 answer

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 is playing like a slide show) as well as consumes…
user73636
  • 117
  • 3
  • 12
1
2