Skip to content
GStreamer element for the Raspberry Pi camera module
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
examples webrtc: Add a STUN server to the configuration Jun 21, 2018
src rpicamsrc: Attempt to workaround MMAL timeout bug Jul 16, 2018
.gitignore
AUTHORS
COPYING Remove MMAL headers, rely on system install Oct 2, 2016
COPYING.LGPL Initial commit Oct 11, 2013
ChangeLog Initial commit Oct 11, 2013
Makefile.am
NEWS Initial commit Oct 11, 2013
README
REQUIREMENTS Add pkg-config to the REQUIREMENTS list Aug 6, 2015
autogen.sh Don't let autoreconf run make May 8, 2015
configure.ac Add webrtc streaming example May 12, 2018
meson.build
meson_options.txt

README

gst-rpicamsrc is a GStreamer wrapper around the raspivid/raspistill
functionality of the RaspberryPi, providing a GStreamer
source element capturing from the Rpi camera.

To use it, you need GStreamer 1.0. As of the last time this README
was updated, Raspbian Jessie has GStreamer 1.4.4, which is recent enough.

Install the GStreamer 1.0 dev packages, then just build and install this module.

apt-get install autoconf automake libtool pkg-config libgstreamer1.0-dev \
 libgstreamer-plugins-base1.0-dev libraspberrypi-dev

For example, again on Raspbian:

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

Then, you can try out the camera with a pipeline line:
gst-launch-1.0 rpicamsrc bitrate=1000000 ! filesink location=test.h264
should produce a file called test.h264, while showing a preview window
on the screen.

gst-inspect-1.0 rpicamsrc to get an idea of the properties that have been
implemented.

See the REQUIREMENTS file for the full list of build requirements.
You can’t perform that action at this time.