Questions tagged [gstreamer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
228 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
206 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
0 answers
140 views

Cannot have the v4l2h264dec plugins on Raspberry Pi 4-64

I have built a custom qt5-image with Yocto on my Raspberry Pi 4 - 64 8GB box. It also builds gstreamer 1.20.3. At first, I didn't have the video4linux2 plugins installed. So I rebuilt gst-plugins-good ...
Zyend's user avatar
  • 101
0 votes
1 answer
680 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
209 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
741 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
316 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
306 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
146 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
1k 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
7k 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
552 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
2k 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
4k 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
1 vote
0 answers
3k 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
  • 19
5 votes
1 answer
929 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
536 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
768 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
960 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
391 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
214 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
176 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
445 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
767 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
346 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
754 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
289 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
310 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
987 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
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 ...
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
100 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
109 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
454 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
455 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
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 ...
ahanson's user avatar
  • 123
2 votes
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-...
Urmil Parikh's 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 ...
bma's 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 ...
Arne's user avatar
  • 2,236
7 votes
2 answers
46k 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,...
Arun's user avatar
  • 71