Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmal: mmal_component_create_core: could not find component 'vc.ril.camera' Ubuntu mate 20.04 64 bit RPi 4B #112

Open
fjp opened this issue Jun 3, 2021 · 2 comments

Comments

@fjp
Copy link

fjp commented Jun 3, 2021

Hi, on a Raspberry Pi 4B running Ubuntu Mate 20.04 64 bit I am getting the following error when trying to run gst-launch-1.0 rpicamsrc bitrate=1000000 ! filesink location=test.h264

Setting pipeline to PAUSED ...
mmal: mmal_component_create_core: could not find component 'vc.ril.camera'
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRpiCamSrc:rpicamsrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3468): gst_base_src_start (): /GstPipeline:pipeline0/GstRpiCamSrc:rpicamsrc0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...

raspivid is working and with the following I can stream a video from the RPi:

raspivid -t 0 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse !  rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=YOUR_RPI_IP_ADDRESS port=5000

I have installed rpicamsrc following the instructions in the readme:

./autogen.sh --prefix=/usr --libdir=/usr/lib/arm-linux-gnueabihf/
make
sudo make install

And I also installed with meson/ninja explained here in #92.

My GStreamer version is 1.16.2

Do you have any hints on how to get this working?

@tprins228
Copy link

I've got the same issue while trying to install and run this in a 20.04 ubuntu arm7 docker image.

@tp-m
Copy link
Contributor

tp-m commented Jun 7, 2021

Possible that some of the recent commits in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commits/master/sys/rpicamsrc might be relevant, up to including https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/477eba2dd7aff757f34566af28bf2e77c5e4227b (there were some follow-up build fixes to that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants