26 votes

How to install and use GStreamer on latest Raspbian?

Just to make sure that nobody looses two hours trying to fix this. You do not need to change anything in the sources.list anymore. Install GStreamer with: sudo apt-get install gstreamer1.0-tools
user avatar
4 votes

Webcam input / display using gstreamer

Try: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! ximagesink
user avatar
3 votes

omxplayer works but fbdevsink doesn't -- any ideas?

It turns out this issue had to do with having called tvservice to change the screen resolution. Apparently after this is done a corresponding call needs to be made to fbset. So for example if I go ...
user avatar
  • 161
2 votes
Accepted

Gstreamer with Java | WARNING and Failed to load plugin

It's resolved. I deleted all gst binaries and libraries and reinstall them. Thanks anyway. This is the command I used : apt-get install epiphany-browser evince gir1.2-gstreamer-1.0 gnome-user-...
user avatar
2 votes

GStreamer installation on Raspberry Pi for video streaming

tl;dr Start with fresh Raspbian and do not alter /etc/apt/sources.list to install GStreamer. Trying to fix APT repository is possible, but usually time-consuming task. You can install GStreamer from ...
user avatar
  • 4,244
2 votes
Accepted

Write in Gstreamer pipeline from opencv in python

Please add videoconvert after appsrc as you need to convert format of the video to display it on autovideosink or stream it using udpsink. It could be something like this: video = cv2.VideoWriter('...
user avatar
2 votes

Processing cannot load GStreamer

I was facing the same problem. Found out that Video and GLVideo from contribution manager not working anymore, instead I downloaded Video library from Github and now examples from Video library are ...
user avatar
  • 21
2 votes
Accepted

OpenCV Gstreamer pipeline doesn't work on Pi 4 Buster

Actually, I was think that problem is related to Raspberry Pi but it wasn't. Somehow, OpenCV doesn't recognize GStreamer library when building OpenCV with cmake and make. Also when I use OpenCV in C++ ...
user avatar
1 vote

What is the best codec and library in order to achieve wireless video and audio transmission through Raspberry and LoRa?

LoRa is NOT intended to be used for such a thing. LoRa operates in the free ISM band. As such there are rules that don't allow transmission over a long period (the maximum allowed transmission time is ...
user avatar
  • 2,632
1 vote

OpenCV VideoCapture not working with GStreamer plugin

I got the same problem when using raspberrypi camera the problem was that it outputs NV12 format not RGB you can use this code to test your camera https://github.com/JetsonHacksNano/CSI-Camera or just ...
user avatar
1 vote

How can I stream the pi camera stream from my raspberry with python?

I solved the problem by using the following code from here. import io import picamera import logging import socketserver from threading import Condition from http import server PAGE="""...
user avatar
1 vote
Accepted

Pi4B how to rtp UDP stream video with webcam and Gstreamer

Figured it out! It works fine on my pi cam because it supported H264 natviely. You could check the format supported by the webcam by doing: v4l2-ctl --list-formats-ext -d /dev/video0 For my webcam, ...
user avatar
1 vote

how to capture a single frame using gstreamer

After a lot of research we have got to the following solution: gst-launch-1.0 tcpclientsrc host=192.168.1.2 port=5000 num-buffers=100000 ! gdpdepay ! jpegparse ! jpegdec ! videoconvert ! pngenc ...
user avatar
1 vote

Take 5 images a second, triggered by motion sensor, switching between 2 cameras depending on time

Question Let me summarize your project. You have two cameras, one day camera, another, night camera. You have one PIR sensor, connected to Rpi which gets alerted if a naughty cat comes in. If it is ...
user avatar
  • 4,314
1 vote

Stream Raspberry pi cam to webbrowser

I have found that the solution mentioned in https://www.linux-projects.org/uv4l/installation/ works well. Out-of-the box, the video will have a text overlay, but if you give a "contribution" of $...
user avatar
1 vote

GStreamer - converting ts to mkv. No audio in video file

Ok, finally I have two options for converting .ts file. First option is with audio conversion: gst-launch-1.0 filesrc location=1.ts \ ! tsdemux parse-private-sections=false name=demux \ ! queue max-...
user avatar
1 vote

GStreamer full HD video RTP stream on Raspberry Pi

The glimagesink seems to have a problem with Raspbian running xserver. Using Raspbian Light with glimagesink works like a charm. So no need for the "hello_video" workaround. So the final pipeline is: ...
user avatar
  • 39
1 vote
Accepted

What is the proper gstreamer format to support Pi Camera v2 raw format?

If you load the v4l2 driver sudo modprobe bcm2835-v4l2 instead of raspivid and try gst-launch-1.0 v4l2src ! "video/x-raw,height=640,width=480,framerate=30/1" ! ximagesink` you'll get the raw output ...
user avatar
  • 978
1 vote

How to transcode an mkv video to mp4 using gstreamer and omg?

MKV is just another container format. If it contains H.264 you can unwrap it and repack it into MPEG-4 using ffmpeg. ​ffmpeg -i vid.mkv -c copy -bsf:a aac_adtstoasc vid.mp4
user avatar
  • 2,632
1 vote

How to install and use GStreamer on latest Raspbian?

You need to install the debian-keyring. Then replace the key 1F41B907 in both placed below with the key that shows up after the "NO PUBLIC KEY" from the end of the update list. I'm still getting a ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible