27
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
5
votes
Webcam input / display using gstreamer
Try:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! ximagesink
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 ...
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 ...
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('...
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-...
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++ ...
2
votes
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 ...
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 ...
1
vote
no audio with playbin or autoaudiosink on gstreamer, but plays with alsasink
I had the same issue. Turned out it was because I have the packages gstreamer1.0-omx* installed, that include omxanalogaudiosink and omxhdmiaudiosink (audio via OMX chip without alsa involved):
gst-...
1
vote
Accepted
Gstreamer: Stream low latency video from Raspberry Pi (Tx) to Raspberry Pi (Rx)
I found a usefull tutorial that gives some examples: Here
Transmitter:
gst-launch-1.0 -v ximagesrc use-damage=false xname=/usr/lib/torcs/torcs-bin ! videoconvert ! videoscale ! video/x-raw,format=I420,...
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 ...
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="""...
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, ...
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 ...
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 ...
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 $...
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-...
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:
...
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 ...
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
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gstreamer × 50streaming-video × 11
python × 6
camera × 6
video × 5
opencv × 5
raspbian × 4
pi-4 × 4
raspicam × 4
webcam × 4
v4l2 × 4
hardware × 3
omxplayer × 3
raspivid × 3
h264 × 3
pi-3 × 2
python-3 × 2
ubuntu × 2
java × 2
alsa × 2
picamera × 2
networking × 1
ssh × 1
pi-3b+ × 1
audio × 1