Questions tagged [gstreamer]

The tag has no usage guidance.

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

Camera not being enabled when program is run

I am trying to use the raspberry pi to do object detection and identification with voice feedback. The program was working well but recently my sd card got corrupted and so I got a new one and ...
The Man's user avatar
0 votes
0 answers
24 views

Failing to use gst-launch-1.0

I have a camera connected to my raspberry pi 4. When I try libcamera-video -t 5000 I can see the video no problem. I still might have to investigate its options to correct certain details but it is ...
KansaiRobot's user avatar
1 vote
0 answers
57 views

gstreamer pipeline doesn't play when using `omxh264dec`

I would like to decode H.264 video with gstreamer, taking advantage of hardware acceleration on a Raspberry Pi 3 Model A+. My pipelines work when using avdec_h264, but when I substitute this for the ...
Ian Mackinnon's user avatar
0 votes
0 answers
1k views

Gstreamer and Raspberry Pi 5

For a couple of days I'm trying to make the gstreamer work on my new RPI5 PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION=&...
Gnioco's user avatar
  • 1
1 vote
0 answers
217 views

gstreamer problem

I want to try gstreamer to do live video streaming with VLC player. Raspberry pi 4 model B. Bookworm OS, 32 Bit Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05)...
DM 256's user avatar
  • 11
0 votes
0 answers
259 views

GStreamer: Mjpeg to H264 with hardware encoding

I'm having trouble with my pipeline for taking mjpeg video from a USB webcam and encoding it into H264 with the hardware encoding through GStreamer on a PI4 (ubuntu 22.04, but I have tried pi os 64 ...
Ethanator10000's user avatar
0 votes
0 answers
511 views

Trying to do hardware H264 encoding with gstreamer on a Raspberry Pi 4B

I am attempting to do hardware-accelerated H264 encoding on a Raspberry Pi 4B. I am running bullseye with an aarch64 kernel and a 32-bit userland: ben@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME=&...
Ben Mesander's user avatar
1 vote
1 answer
406 views

gstreamer playbin on Raspberry Pi OS 64-bit

I am simply trying to play video with gstreamer on a Raspberry Pi Model 3B+ running Raspberry Pi OS 64-bit. ffplay and vlc work fine, but gstreamer doesn't. The command and output are: gst-launch-1.0 ...
Dane's user avatar
  • 11
0 votes
1 answer
944 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 ! ...
Essam Gouda's user avatar
0 votes
1 answer
261 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 ...
Mapache's user avatar
0 votes
1 answer
939 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 ...
rasmus91's user avatar
  • 101
0 votes
1 answer
417 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 ...
cat pants's user avatar
  • 141
0 votes
1 answer
427 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,...
JonasVautherin's user avatar
0 votes
1 answer
170 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 ...
Spiros's user avatar
  • 1
0 votes
1 answer
2k 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 ...
Pippeloo's user avatar
0 votes
1 answer
8k 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 ...
sergmister's user avatar
2 votes
0 answers
646 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 ...
Louis Etienne's user avatar
0 votes
3 answers
3k 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?
TiimmyTurner's user avatar
2 votes
1 answer
5k 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,...
Marcus L's user avatar
2 votes
0 answers
4k 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 ...
DaveK's user avatar
  • 39
5 votes
1 answer
967 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 ...
pasaba por aqui's user avatar
1 vote
0 answers
147 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 ...
Kazi Sohan's user avatar
1 vote
0 answers
598 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 ...
rikb's user avatar
  • 111
2 votes
1 answer
861 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 ...
evvvonder's user avatar
2 votes
0 answers
1k 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 ...
stylesuxx's user avatar
  • 121
2 votes
1 answer
1k 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-...
simon's user avatar
  • 121
1 vote
1 answer
2k 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 ...
Bozkurthan's user avatar
2 votes
0 answers
398 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 !...
Nick's user avatar
  • 121
0 votes
0 answers
225 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 ...
David Zamudio's user avatar
1 vote
0 answers
180 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 ...
Rosbibif's user avatar
1 vote
1 answer
3k 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="...
user1322801's user avatar
3 votes
1 answer
500 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. ...
Ben0547's user avatar
  • 31
1 vote
2 answers
5k 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 ...
Kevin's user avatar
  • 131
0 votes
0 answers
796 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 ...
ghislain airieau's user avatar
1 vote
1 answer
375 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 ...
tlongeri's user avatar
1 vote
1 answer
816 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 ...
Julien Planchet's user avatar
0 votes
1 answer
296 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 ...
user167210's user avatar
3 votes
1 answer
327 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 ...
mpr's user avatar
  • 161
1 vote
0 answers
1k 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 ...
Alexis Evelyn's user avatar
1 vote
2 answers
2k 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 ...
user167210's 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 ...
fufu2000's user avatar
4 votes
1 answer
10k 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 ...
WisdomPill's user avatar
0 votes
0 answers
23 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 ...
Andi Domi's user avatar
  • 101
1 vote
0 answers
105 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/...
R. Rodrigues's 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 ...
maunza's 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 ...
maunza's user avatar
  • 39
1 vote
0 answers
110 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 ...
R. Rodrigues's user avatar
3 votes
0 answers
469 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 ...
jiandingzhe's user avatar
0 votes
0 answers
461 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-...
user2989813's user avatar
2 votes
1 answer
4k 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 ...
ahanson's user avatar
  • 123