Questions tagged [gstreamer]
The gstreamer tag has no usage guidance.
77
questions
1
vote
0
answers
29
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
19
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 ...
0
votes
1
answer
37
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
1
answer
85
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
0
answers
15
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 ...
0
votes
1
answer
210
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....
0
votes
1
answer
639
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 ...
3
votes
0
answers
459
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
393
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
995
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 ...
0
votes
1
answer
488
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 ! ...
1
vote
1
answer
341
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 ...
1
vote
0
answers
201
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 ...
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 ...
5
votes
0
answers
259
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 - -...
0
votes
1
answer
622
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 ...
0
votes
0
answers
462
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 ...
0
votes
1
answer
375
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
52
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
992
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
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
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/...
1
vote
0
answers
416
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,...
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
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
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
691
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
162
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
347
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 ...
1
vote
0
answers
426
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....
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
0
answers
197
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
289
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....
0
votes
1
answer
897
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 ...
2
votes
1
answer
3k
views
concat mp4 with blank video
I want to concatenate 5 seconds of blank/black video to the end of different videos I download from net. The process I have for doing this is not working.
First I use ffprobe to the dimensions of ...
1
vote
0
answers
974
views
ssh start GUI application on remote desktop
I am trying to start a gstreamer instance and display it on a remote centos7 desktop using ssh.
I have followed a few posts on SE sites but feel I am now confused as to what is happening and why it ...
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....
1
vote
1
answer
2k
views
TS Stream Transport Over UDP from .TS files
I would like to transport ts stream (.ts files) over UDP.
I have used the below pipeline,
gst-launch-1.0 filesrc =location=a.ts ! tsparse ! rtpmp2tpay ! udpsink host="IP" port="port"
But, i am ...
1
vote
0
answers
1k
views
Attempting to stream two C920 Logitech Webcams From Fedora using GStreamer to Windows VLC Client
My apologies in advance for violating any etiquette / rules regarding posting in SuperUser. This is my first post.
First of all, I am a streaming video amateur -- the solution I have "cobbled" ...
1
vote
1
answer
1k
views
Improve performance desktop recording using gstreamer
How can I improve the performance of a desktop recording using gstreamer with integrated webcam stream?
I tried the pipeline below, and it works, but the performance is very bad. Records only a ...
0
votes
1
answer
166
views
How do I find out the detailed format of an audio file?
I am interested in very detailed information like:
content-type (raw, ac3, etc)
layout (interleaved/non interleaved)
format (F32LE, F32BE, etc)
and other properties like those present in the list ...
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 ...
1
vote
0
answers
116
views
Screencasting from IMX6 to Ubuntu PC through network
How can we do screen cast from the IMX6 screen to Ubuntu PC through network?
I tried the gstreamer commands in ubuntu and the screencasting working perfectly in localhost. I used the following ...
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
468
views
Gstreamer unable to link API's , Linker error
I was trying to read the PAT table information , Color Balance interface etc using gstreamer in ubuntu . but the the definitions of the API's used by gstreamer to achieve these are not available ....