Questions tagged [gstreamer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

Gstreamer rtsp error

I want to get ip camera video stream by gstreamer: gst-launch-1.0 rtspsrc location=rtsp://user:[email protected]:554/live/ch00_0 ! rtph264depay ! autovideosink but get this error Установка ...
1 vote
0 answers
102 views

Raspberry Pi with Bullseye: how to stream from camera to Youtube Live, and simultaneously save the stream to video files locally

I have raspberry pi 3b+ with Arducam camera and Debian Bullseye, and I would like to achieve the following: get video from libcamera-vid, 800x600, 15 fps get audio from default audio source stream ...
2 votes
0 answers
71 views

Using gstreamer to record an m3u8 stream

I'm trying to use gstreamer to record a video stream for a url, https://csm-e-nineau2-eb.bln1.yospace.com/csm/extlive/nnaprd01,prod-simulcast-mel-ch9-hls-r13.m3u8 I have managed to do this with a test ...
user avatar
0 votes
1 answer
5k views

Streaming .264 file in Gstreamer 1.0

I'm trying to stream a .264 file. While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen. Direct Pipeline gst-launch-1....
0 votes
1 answer
4k views

Integrate gstreamer with Eclipse IDE

I'm new to gstreamer, currently I'm using Ubuntu 13.10 desktop, I followed the gstreamer site to install the sdk. I wrote some gstreamer based programs using gedit and compiled using terminal. If I ...
0 votes
1 answer
676 views

How to send av1 encoded stream to a mediamtx server?

I want to test streaming av1 encoded video from the command line but I don't have enough expertise to know if I'm doing something wrong or if it's simply unsupported. So far I've tried gst-launch-1.0 ...
1 vote
1 answer
8k views

GStreamer Element Dependencies: How to connect playbin to hlssink?

I'm new to GStreamer and I've been trying to build some simple pipelines using gst-launch-1.0. I'm having difficulty figuring out what elements need to go together. For example, I want to stream a ...
0 votes
1 answer
151 views

UDP video stream from FFMPG to gstreamer

Hardware: Jetson AGX ORIN Software: Jetpack 5.0.2 I have been attempting to send a video file via UDP using ffmpeg: ffmpeg -stream_loop -1 -re -i test.ts -map 0 -c copy -preset ultrafast -f mpegts &...
0 votes
1 answer
45 views

Cannot duplicate virtual camera on Orange Pi 5B

I have faced with the issue that I cannot duplicate virtual camera for SkyDroid 5.8GHz OTG Receiver on Orange Pi 5B: orangepi@orangepi-desktop:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! ...
0 votes
0 answers
17 views

GStreamer Model-Proc File Configuration for Human Pose Estimation - OpenVINO

I'm currently working on creating a GStreamer model-proc file for the OpenVINO model human-pose-estimation-0007. I already have a working example for human-pose-estimation-0001, and you can find the ...
1 vote
1 answer
5k views

How to stream screen to remote computer with gstreamer

I want to stream the screen of my computer to and other using gstreamer and generate an rtsp adresse to use in Opencv. I try few example to stream webcam between computers and it works properly: ...
0 votes
1 answer
244 views

Unable to display RTSP stream using gst-play-1.0, gst-launch-1.0

I have to display an RTSP stream using the gst-play-1.0 / gst-launch-1.0 commands on an NVIDIA Jetson-AGX device. These are the commands I have tried: 1. gst-play-1.0 $ gst-play-1.0 rtsp://192.168.1....
3 votes
0 answers
493 views

null bytes in .mkv file

I recently downloaded a movie (.mkv), it works perfectly on VLC Android, but after I moved it to my computer (with adb), mpv could not run it (Failed to recognize file format), nor parole (GStreamer ...
0 votes
1 answer
420 views

Sending EOS pipeline gstreamer

I have an example gstreamer pipeline: gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=1280, height=800, framerate=30/1 ! v4l2jpegdec ! queue ! v4l2h264enc extra-controls="controls, ...
0 votes
1 answer
1k views

How to copy audio & video streams without re-encoding in GStreamer?

In ffmpeg you can use "-c:a copy -c:v copy" to copy audio & video streams without re-encoding the output file, this is the way if you want to make little details in shorter time, like ...
1 vote
0 answers
1k views

Demux video and KLV data from MPEG-TS stream, frame-by-frame, in sync

I need to demux the video frames and KLV data from an MPEG-TS stream in sync, frame-by-frame. The following command to demux the KLV data and outputs a text file with the KLV data. gst-launch-1.0 ...
2 votes
3 answers
6k views

v4l2 issues with webcam encoded to H.264

I am trying to send a H.264 webcam video feed over wifi to another computer using gstreamer. I am using this tutorial as a guide. I am using a Creative Live! Cam Connect HD as my webcam. The website ...
1 vote
1 answer
345 views

Add new stream to Gstreamer recording

I currently have a set of streams that I record using GStreamer and an SDP with a similar command as follows gst-launch-1.0 --eos-on-shutdown filesrc location=test.sdp ! sdpdemux timeout=0 name=demux ...
5 votes
1 answer
8k views

Convert stream file (mux) to mp4 gstreamer

I used a program to capture my screen (called Kazam for linux). My computer crashed and I lost my screen capture which I cannot recreate. I found two files that seem to hold my video, a .mux and ....
0 votes
1 answer
507 views

Cannot receive multicast RIST stream using RIST protocol, but RTP works

I'm using gstreamer to multicast a RIST stream: gst-launch-1.0 filesrc location=test.mts ! tee name=t ! queue ! typefind ! rtpmp2tpay ! ristsink address=239.255.0.1 port=5004 t. ! queue ! tsdemux ! ...
0 votes
2 answers
10k views

How to stream MPEG-TS over UDP?

I'm using gstreamer to stream over a custom AppSink that mimics the UdpSink. We are doing it this way so we can incorporate listening on other ports for some metadata. Plus, the stock UdpSink is ...
0 votes
2 answers
2k views

What is the preferred GStreamer pipeline to encode a video for youtube?

I want to record a video in order to put it to youtube. What would be the pipeline that I can strap to my stream to get the best quality for youtube (minimize number of reencodings, etc)? I think it ...
0 votes
1 answer
633 views

Unable to stream audio over rtp using Gstreamer

I am using the following gstreamer command line to send audio from a QuickTime file to an port/endpoint using RTP. I can successfully send the video from the file to a port, but not the audio. I ...
1 vote
0 answers
208 views

Creating the onvif compliance camera using the GStreamer Pipeline

I have a camera and I am streaming the video data using the GStreamer. With below pipeline. gst-launch-1.0 -e camerasrc ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse config-interval=...
1 vote
0 answers
73 views

How to increase number of Xv adaptor ports?

The number of xv video ports is to low for my use cases e. g. xvinfo reports: X-Video Extension version 2.2 screen #0 Adaptor #0: "GLAMOR Textured Video" number of ports: 16 port ...
5 votes
0 answers
263 views

Access microphone with gphoto2

There is a lot of documentation for using gphoto2 to use a DSRL as a webcam. With those techniques, the system sees the camera as a new video device gphoto2 --stdout --capture-movie | ffmpeg -i - -...
27 votes
4 answers
72k views

How can I resolve gstreamer dependencies in Ubuntu

Can you please tell me how can I resolve these dependencies on ubuntu: checking for GSTREAMER... configure: error: Package requirements (gstreamer-0.10 >= 0.10 gstreamer-app-0....
1 vote
0 answers
434 views

OpenCV with Gstreamer installation...possible?

I have some Python code which utilizes OpenCV in a way to use Gstreamer pipelines in lieu of a webcam or video file as input to a 'Videocapture' command...for a simple example: send = cv2....
1 vote
1 answer
2k views

Stream linux destop as fake webcam to virtuabox windows guest

I would like to capture (a part of) my linux desktop (ubuntu 20.04), stream it as a webcam to a windows 10 guest VM running in Virtualbox. I found Using desktop as fake webcam on linux which got me ...
0 votes
1 answer
2k views

Why does OpenCV+GStreamer lags exactly two seconds behind real time?

I'm trying to capture live feed through an h264 camera on RTSP protocol. On a terminal, the following gst-launch-1.0 command gives almost real-time feed: gst-launch-1.0 playbin uri=rtsp://IP:PORT/...
0 votes
0 answers
477 views

GStreamer define port used for outgoing traffic (rtsp)

I try to get some custom rtsp software running that has an annoying quirk. It cannot negotiate the port on which it will send the video. It will always send the video to the port from which the ...
2 votes
1 answer
5k views

Can't play WAV files using standard gstreamer command

I can play mp3 files without any problem, also in my application playing PCM data from appsrc is working well, however I have a problem playing a WAV file using the gstreamer command: $ gst-launch-0....
0 votes
1 answer
382 views

what is the limitation on max cuda instances for video transcoding?

I have set up Nvidia V100 card on Azure Nc6s_v3 virtual machine. I have set up the latest CUDA driver and SDK. I compiled sample programs from "Video_Codec_SDK_9.0.20" and verified the max parallel ...
1 vote
0 answers
56 views

Gstreamer - losing "last" buffer

I'm using gstreamer with souphttp, demux and appsink. The appsink is attached to demux dynamically on new pad request. The hlsdemux, i use, seems to be dropping "last" buffer as I miss about 0.5 ...
2 votes
0 answers
1k views

Gstreamer - streaming task paused, reason not-negotiated

I am trying to stream video over local network using gstreamer between jetson tx1 and my pc. I made sure that my camera has no problem and my devices are connected via local network. Here is my ...
0 votes
1 answer
2k views

Streaming .jpg stream over RTP with gstreamer or avconv

I have image folder where is continuosly updating Photo.jpg (1 FPS). I need to be able to stream this photo as a continuous video stream via RTsP so it's viewable with VLC. What would be working ...
1 vote
0 answers
419 views

GStreamer plays video with wrong resolution when I use vaapisink in pipeline

I try to play video using gstreamer. There are two possiple output sinks to use: waylandsink and vaapisink. When I play video with waylandsink, everything is fine. When I try to play it with vaapisink,...
1 vote
1 answer
3k views

gstreamer using h264 encoding with small video size

I need to record a video using my usb webcam in my linux based pc. I found gstreamer with h264 encoding for lower the cpu percentage. But i am new to gstreamer so i had errors when running some ...
0 votes
1 answer
2k views

Gstreamer to save a video in patches

Do anyone know a gstreamer command to save webcam video in patches based on MB size. I need to record a webcam video and save it as a separate file when it reaches 100mb size. Thanks in advance.
1 vote
1 answer
6k views

Fixing an unmuxed image/jpeg stream from webcam using gstreamer

I made a broken footage using the following pipeline: gst-launch-1.0 v4l2src ! filesink location=encode.mjpeg Somehow gstreamer can still play it back: gst-launch-1.0 filesrc location=encode.mjpeg !...
0 votes
1 answer
709 views

Gstreaming - two web cams over tcp

I'm trying to stream two web cams on a single gstreaming command, I'm able to start a single camera with : gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! videoscale ! video/x-raw,width=...
0 votes
1 answer
172 views

why call the output port of a element to "src pad" in gstreamer?

I wonder the strange name policy of gstreamer. in a pipeline, the sink pad is actually a input port and the src pad is a output port, but the sink element is the end element, src element is the start ...
1 vote
0 answers
349 views

gstreamer functionality in Python?

I have a python script I want to run that uses gstreamer. the first line in my code is "import gst"...and this creates an error...when I attempt to "pip install gst" within that directory I see the ...
0 votes
1 answer
1k views

How open Gstreamer raw file?

I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise. I can shoot a RAW video using this code, and also can open the file ...
0 votes
1 answer
8k views

Save both audio and video to one file using GStreamer from camera and microphone

I need a way to record video from my camera and audio from my mic simultaneously, such that they are saved in one file. Currently, I now how to record video... gst-launch-1.0 -e autovideosrc ! ...
0 votes
0 answers
2k views

Unable to stream RTSP using GStreamer

I am trying to stream RTSP video using GStreamer. I am using test-launch example from gst-rtsp-server. Server: ./test-launch "(videotestsrc ! x264enc ! h264parse ! rtph264pay)" Client: VLC. When ...
0 votes
1 answer
290 views

Is it possible to use mopidy with Gstreamer 1.10? (Sailfish X)

I'm trying to install mopidy on Sailfish OS. However, the only Gstreamer version available is Gstreamer 1.10.4. I've compiled and installed gst-python 1.10 from source, and the Mopidy 2.1.0 with pip....
5 votes
1 answer
11k views

How can I capture the audio output with GStreamer?

I’d like to capture only the output of a machine using GStreamer. Using the following command: gst-launch-1.0 -v alsasrc ! wavenc ! filesink location="output.wav" I can record the microphone, but ...
0 votes
0 answers
198 views

Can I prioritise one UDP stream over another in linux?

I made a small program in python that produces two UDP streams through Gstreamer framework. One is the main stream, labeled A, that MUST go through on port 3333. The other one is a secondary stream, ...
0 votes
1 answer
902 views

Gstreamer udp server [closed]

Client 1 $ gstreamer1.0 v4l2src ! ... ! udpsink host=server-ip Server $ gstreamer1.0 udpsrc ! udpsink ???? Client 2 $ gstreamer udpsrc url=udp://server-ip ! ... ! xvimagesink Notes : Client 1, 2 ...