Questions tagged [gstreamer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

JPEG decoding using gstreamer on RPI 4

I have the following pipeline: gst-launch-1.0 v4l2src device=/dev/video0 ! 'image/jpeg, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1' ! jpegdec ! ...
user avatar
0 votes
1 answer
27 views

receiving RTP stream on RPi

Need to receive RTP stream with lowest possible latency and CPU load. I need to always read the latest frame, that is, as if I had a buffer equal to 1. What is the best way? I need it to be possible ...
user avatar
0 votes
0 answers
71 views

Gstreamer OpenCv on Mac to Raspberry Pi

I am working on a VR display using a Raspberry Pi. After thorough testing, I have determined the Pi is not powerful enough to do the processing I need locally, so I have turned to Gstreamer. I want to ...
user avatar
0 votes
1 answer
283 views

What am I doing wrong with my Gst pipeline for v4l2 mjpg/yuvy to h264 rtp stream?

I am trying to stream webcam video to tcp or rtp, or whatever. The destination part is not what is bothering me, I know that might be erronous, but I have a mind to try some tcp/http and rtsp/rtp ...
user avatar
  • 101
0 votes
0 answers
50 views

GStreamer stops after a few minutes

I'm currently setting up a PiCam on a Pi Zero low latency streaming setup to another Raspberry Pi. The pipeline I got going on works wonderfully except the Pi Zero seems to stop streaming after ~10-15 ...
user avatar
  • 1
0 votes
1 answer
92 views

How do I fix poor video quality from rpicamsrc?

After weeks of research, my understanding is that using rpicamsrc to stream video via rtsp is the preferred method. If you do something like raspivid piped to cvlc, you increase latency, etc. Right ...
user avatar
  • 141
0 votes
1 answer
69 views

v4l2src zooms when I change resolution

I have a camera module v2, which supports 1080p@30. Following this answer, I am streaming it with gstreamer using: gst-launch-1.0 -e v4l2src do-timestamp=true ! video/x-h264,width=640,height=480,...
user avatar
0 votes
1 answer
88 views

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

I am currently working on a project where i want to create 2 wireless push to talk voice transmitters. I paired 2 Raspberry Pi with 2 LoRa antennas respectively in order to achieve that. However i am ...
user avatar
  • 1
0 votes
1 answer
457 views

Gstreamer: Stream low latency video from Raspberry Pi (Tx) to Raspberry Pi (Rx) [closed]

Goal I'm working on a project with modules. A module contains for example a Raspberry Pi and some additional hardware. What I'm currently trying to do is using the camera of Pi A as input and stream ...
user avatar
0 votes
1 answer
4k views

OpenCV VideoCapture not working with GStreamer plugin

Running the following code on my raspberry pi 4b with the camera v2 and OpenCV installed via pip install opencv-python I have no issues: import cv2 cam = cv2.VideoCapture(0) cam.isOpened() # True ...
user avatar
2 votes
0 answers
274 views

Streaming video from OpenCV with GStreamer over UDP to PC

I'm trying to stream a video that has been processed by OpenCV using GStreamer over UDP from a RPi4 (Ubuntu 20.04 LTS 64bit without any GUI) to a PC (Ubuntu 18.04). I'm sharing Wifi connection to the ...
user avatar
0 votes
3 answers
1k views

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

How can I have a stream like rtsp, that is accesible in a program on another computer?
user avatar
2 votes
1 answer
2k views

Pi4B how to rtp UDP stream video with webcam and Gstreamer

I have a fresh installed Buster(Release Date: 2020-08-20) on my Pi4B I am able to stream with pi Camera by doing gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,...
user avatar
1 vote
0 answers
2k views

RaspberryPi 4B Gstreamer for hardware acceleration VideoCapture and VideoWriter in OpenCV

After much reading and trial-and-error... I have successfully got my RPi Model 4B (w/4GB RAM) working with Gstreamer pipes using hardware decoding and encoding in OpenCV 4.4.0 with 1920x1080 video ...
user avatar
  • 19
2 votes
1 answer
743 views

Raspbery camera, video stream at 3280x2464

According to this page Raspberry camera v2 can produce video stream with resolution of 3280x2464. However, all my tries with raspivid and gstreamer/v4l2 fails. Knows someone how to reach this video ...
user avatar
1 vote
0 answers
112 views

Using gstreamer with openvino opencv in rpi4 without installing gstreamer packages

I am trying to use gstreamer pipeline with openvino opencv-4.1. I don't have the root permission so can't install any packages. So I copied all the needed libs for gstreamer into /usr/local/lib. But ...
user avatar
1 vote
0 answers
328 views

Getting gstreamer to produce out of usb-audio

I cannot get gstreamer on raspbian (buster) to play through a usb-audio device, despite other players (vlc, aplay) being able to do so. but i need gstreamer because of its API access, for mpd players ...
user avatar
  • 111
2 votes
1 answer
564 views

Processing cannot load GStreamer

I'm trying to play a video on Processing 3.5.3 with the GLvideo library, but I am getting an error message that Processing cannot load GStreamer. import gohai.glvideo.*; GLMovie video; boolean ...
user avatar
2 votes
0 answers
789 views

Raspbian, gstreamer glimagesink without x

I am running a raspbian setup on my RPI4 which invokes a gstreamer pipeline upon startup. Part of this gstreamer pipeline is output to HDMI which I want to achieve without using X. Gstreamers fbdev ...
user avatar
  • 121
2 votes
0 answers
866 views

no audio with playbin or autoaudiosink on gstreamer, but plays with alsasink

recently upgraded my raspian, and installation of RPi with Hifiberry AMP. and my python application that utilizes gstreamer's api is no longer working. as a test to figure out why I am using the gst-...
user avatar
  • 121
1 vote
1 answer
1k views

OpenCV Gstreamer pipeline doesn't work on Pi 4 Buster

I'm studying about object tracking and detecting in Gazebo Simulation. So, I'm trying to send Simulation video(Gst Plugin) to Raspberry Pi 4 via ethernet cable over UDP stream. And Pi 4 side, catch ...
user avatar
1 vote
0 answers
359 views

Gstreamer OMX encoder doesn't accept parameters?

I'm trying to use Gstreamer 1.0 to send a USB webcam feed over RTMP. I have the following working pipeline that uses the OMX h264 encoder on a Raspberry Pi: gst-launch-1.0 v4l2src device=/dev/video0 !...
user avatar
  • 111
0 votes
0 answers
171 views

Binding PiCamera stream to GstWidget

Well, today I began to program in Python and I'm doing a graphical app with PyGtk in Anjuta. My first objective is to get the stream of the PiCamera in a window. But I'm getting problems to manage the ...
user avatar
1 vote
0 answers
157 views

Collect video from camera and display it in a navigator

I'm trying to collect live video stream from a camera. The camera output is analogic so I'm using an Analogic to USB converter connected to my Raspberry. I'm looking for a good solution to collect the ...
user avatar
1 vote
1 answer
2k views

how to capture a single frame using gstreamer

I am using the following command to capture multiple frames: gst-launch-1.0 tcpclientsrc host=192.168.1.2 port=5000 num-buffers=100000000 ! gdpdepay ! jpegparse ! jpegdec ! multifilesink location="...
user avatar
3 votes
1 answer
385 views

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

I'm working on a project similar to a security camera with a Raspberry Pi NoIR Camera Module v2 and a FLIR Lepton 3.5 on a purethermal 2. I am somewhat new to this and am not sure how to proceed. ...
user avatar
  • 31
1 vote
2 answers
4k views

Stream Raspberry pi cam to webbrowser

I am trying to stream my rpi-camera to my webbrowser. I would like to use webrtc. I have tried using (and modifying) this GStreamer WebRTC demos for webrtc using gstreamer. I can successfully stream ...
user avatar
  • 131
0 votes
0 answers
644 views

raspicam TCP video streaming over ssh - almost there.... but need help

I am trying to pipe raspivid over ssh to my main computer, and then via gstreamer send the stream to a dummy video device (thanks to V4l2loopback) environment : v4l2loopback version: 0.12.0 kernel ...
user avatar
1 vote
1 answer
298 views

Should playing uncompressed RGB video files consume strictly less resources than playing encoded files?

I don't know much about video, but to play an h264 encoded file into a screen, don't you have to decode it to something like RGB first? I would expect playing a video that is in RGB format to skip the ...
user avatar
1 vote
1 answer
632 views

Gstreamer with Java | WARNING and Failed to load plugin

I try to launch the gst1-java binder on the Raspberry Pi 3B with the latest Raspbian Stretch and latest firmware. If I launch anything with gst-launch-1.0 it work great, I have hardware ...
user avatar
0 votes
1 answer
269 views

Output Kivy video sound to 3.5mm jack

I'm trying to play a video with sound using Kivy video. When the Pi is attached to a 7" touchscreen it plays the soundtrack from the audio jack as expected. However, when attached to a VGA or DVI ...
user avatar
3 votes
1 answer
275 views

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

I'm trying to output video content on the Pi without X11. I'd like to use tvservice to set the resolution settings then be able to run pipelines like this: gst-launch-1.0 videotestsrc ! videoconvert ...
user avatar
  • 161
1 vote
0 answers
919 views

I keep running into missing elements with GStreamer

I have tried uninstalling and reinstalling GStreamer on the Raspberry Pi 3 and I keep finding that I have missing elements. This is the Pi on Log Level 4 (GStreamer): This is my laptop, running ...
user avatar
1 vote
2 answers
1k views

Videoplayer in Kivy GUI not working. GStreamer problem?

I'm trying to create a video player GUI for my Raspberry Pi (Raspbian Linux 9 Stretch) using python 2.7 and Kivy. The GUI was created, but the video refused to load or play. I think the problem may ...
user avatar
1 vote
2 answers
2k views

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

I'm using RPi2 with Raspbian. I'm trying to find best solution for transcoding .ts files from tvheadend. At the moment the best is using GStreamer because I can handle best performace. With GStreamer ...
user avatar
4 votes
1 answer
9k views

Write in Gstreamer pipeline from opencv in python

I'm trying to stream some images form opencv using gstreamer and I got some issues with the pipeline. I'm new to gstreamer and opencv in general. I compiled opencv 3.2 with gstreamer for python3 on a ...
user avatar
0 votes
0 answers
22 views

How to monitor the available bandwith without impacting an already running stream?

I have a RTP stream called 'X1' running from a Pi to a Linux PC. At the same time I want to create more streams, for example X2, X3 e.t.c... Depending on the available bandwidth, I would like to ...
user avatar
  • 101
1 vote
0 answers
90 views

Gstreamer compile gives "undefined reference" error

I'm trying to compile a newest version of gstreamer in raspberry pi. First of all a tried to download from here. i Run sudo ./configureand next sudo makeand i get the following error: /usr/local/lib/...
user avatar
1 vote
1 answer
2k views

GStreamer STRP for full HD H.264 video

I am trying to implement a Full HD video conferencing solution on a Raspberry Pi 3. As I only need the the latency I just wanted to create one simple pipeline for audio and video. I compiled gstreamer ...
user avatar
  • 39
1 vote
1 answer
4k views

GStreamer full HD video RTP stream on Raspberry Pi

I am trying to build a video pipeline with GStreamer. In the end it should be a full duplex Full HD video conferencing solution. As the Raspberry Pi 3 is not capable to encode and decode the video ...
user avatar
  • 39
1 vote
0 answers
95 views

Gstreamer doesn't work (shows the same image everytime)

I'm trying to connect an IP Camera to my gtk+ application. In order to accomplish this I'm using gstreamer with videooverlay like in this tutorial. The problem I have is the video doesn't run and ...
user avatar
3 votes
0 answers
422 views

How to control the delay perference of GStreamer OpenMAX H.264 encoder module?

I am trying to build up a streamed network video using Raspberry Pi 3 Model B and a USB camera. After reading this tutorial, I made a working pipeline, but the software H.264 encoder is very CPU ...
user avatar
0 votes
0 answers
436 views

Raspivid fails only when used with gstreamer?

I have a Pi Zero running Raspbian Jessie and a pi camera. I've installed gstreamer with: sudo apt-get install gstreamer1.0 If I run: raspivid -w 1280 -h 720 -v -fps 10 -b 500000 -t 0 -o - | \ gst-...
user avatar
2 votes
1 answer
3k views

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

I'm working on a streaming solution and I want to combine two sources into one output stream, a Pi Camera and a webcam. Rather than decode the h264 output and then encode it again after it gets mixed ...
user avatar
  • 123
1 vote
2 answers
10k views

Webcam input / display using gstreamer

I have connected Logitech C170 webcam to one of the USB port of raspi and I can confirm it is working using the motion utility. I have also installed gstreamer (sudo apt-get install -y gstreamer1.0-...
user avatar
0 votes
1 answer
10k views

GStreamer installation on Raspberry Pi for video streaming

I am trying to install GStreamer. I have added the following line /etc/apt/sources.list: deb http://vontaene.de/raspbian-updates/ .main Calling the apt-get update command generates the following ...
user avatar
  • 1
3 votes
2 answers
2k views

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

I have noticed that gstreamer1.0 on Raspbian comes with the omx plugins: pi@pi ~ $ gst-inspect-1.0 | grep omx omx: omxh264enc: OpenMAX H.264 Video Encoder omx: omxvc1dec: OpenMAX ...
user avatar
  • 2,216
7 votes
2 answers
42k views

How to install and use GStreamer on latest Raspbian?

I have downloaded the latest version of Raspbian today, in the hope of being able to download and use GStreamer. I need to use GStreamer to stream video across to another computer with minimal delay,...
user avatar
  • 71