Questions tagged [gst-launch]

Questions related to gst-launch command line tool, used to build and run a GStreamer pipeline.

gst-launch is a command line tool that builds and runs basic GStreamer pipelines. gst-launch is primarily a debugging tool for developers and users.

110 questions
6
votes
2 answers

Which elements are contained in decodebin?

I'm looking to decode and demux an mp4 file with gst-launch-1.0. Instead of using a bin - decodebin - I'd rather work with the seperate elements. Unfortunately, I did not find this. My question is simple: what basic elements are contained in the…
Ricardo
  • 335
  • 1
  • 4
  • 13
6
votes
1 answer

WARNING: erroneous pipeline: could not link customsrc0 to mpegtsmux0

I cannot create a pipeline with gstreamer and I don't know how I can debug it further. gst-launch-1.0 --gst-debug=GST_CAPS:4 -v -e customsrc num-buffers=1000 ! video/x-h264,width=600,height=600,framerate=1/12,stream-format=byte-stream ! mpegtsmux !…
Umut
  • 2,317
  • 1
  • 17
  • 19
5
votes
0 answers

GStreamer: no element

I am trying to run UDP streaming from a Raspberry Pi 4, and have installed gstreamer using this, found on gstreamer's docs: $ sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \ libgstreamer-plugins-bad1.0-dev…
5
votes
1 answer

Use gstreamer to stream video and audio of Logitech C920

I'm quite a newbie on using gstreamer. I want to stream video and audio from my C920 webcam to another PC but I keep getting wrong in combining things.. I can now stream h264 video from my C920 to another PC using: gst-launch-1.0 v4l2src…
skipx
  • 53
  • 1
  • 1
  • 5
5
votes
0 answers

Syncing audio and video when mp4muxing in gst-launch-1.0

I have a Logitech C920 webcam that provides properly formatted h264 video, and a mic hooked up to an ASUS Xonar external USB sound card. I can read both and mux their data into a single file like this: gst-launch-1.0 -e \ mp4mux name=muxy ! filesink…
Anders Bylund
  • 81
  • 1
  • 6
5
votes
2 answers

How can I create a live steam using gstreamer?

I would like to stream my webcam, I tried with vlc, but I'm getting a 10-15s delay between the server and client on the same network vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-width=640 :v4l2-height=480…
Mokus
  • 10,174
  • 18
  • 80
  • 122
4
votes
1 answer

How to use gst-launch to streaming mp4 audio and video via rtp and play it?

I use these commands to send and recieve rtp data: Send rtp data to UDP port 5000 gst-launch-1.0 -v filesrc location = haizeiwang.mp4 ! decodebin ! x264enc ! rtph264pay ! udpsink host=192.168.1.101 port=5000 Receive rtp data from udp port 5000 and…
ZhangFei
  • 71
  • 1
  • 6
4
votes
1 answer

playing a raw video using gst-launch

I've created a raw video file using filesink, I am able to play the file with vlc with the following command vlc --demux rawvideo --rawvid-fps 24 --rawvid-width 1920 --rawvid-height 816 --rawvid-chroma I420 /home/user/Videos/out.yuv But, with …
neeru
  • 259
  • 1
  • 3
  • 11
4
votes
1 answer

How to demux audio and video from rtspsrc and then save to file using matroska mux?

I have been working on an application where I use rtspsrc to gather audio and video from one network camera to another. However I can not watch the stream from the camera and thereby cant verify that the stream works as intended. To verify that the…
GurgL
  • 103
  • 1
  • 7
4
votes
1 answer

Gstreamer RSTP server

I want to setup a RTSP server stream with Gstreamer 1.0 (gst-launch-1.0). My "Server" currently looks like this gst-launch-1.0.exe videotestsrc ! x264enc ! rtph264pay ! udpsink host=localhost port=5000 And my Client looks like…
Soccertrash
  • 1,830
  • 3
  • 28
  • 48
4
votes
2 answers

How to play .flv(h.264 aac) file without playbin2 in gstreamer?

I've got a FLV file and the gstreamer playbin2 could work well, but if I try to manually construct the pipeline, the result is negative. Can anyone show me what's wrong with my pipeline? Or, how to construct the pipe-line to play FLV file correctly…
user1547688
  • 121
  • 1
  • 8
3
votes
1 answer

Feeding gstreamer fdsrc via STDIN only produces fraction of expected result

I am using gstreamer windows port OSSBuild. I want to feed gst-launch with video data via its STDIN using the fdsrc element. Doing so it seems as if the pipline is consuming just a small fraction of the input. For instance type source.yuv |…
lakai
  • 31
  • 1
  • 2
3
votes
2 answers

Convert gst-launch command to Python program

How do I implement the following gst-launch command into a Python program using the PyGST module? gst-launch-0.10 v4l2src ! \ 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! \ tee name=t_vid ! \ queue ! \ videoflip…
Yajushi
  • 1,175
  • 2
  • 9
  • 24
3
votes
1 answer

Gstreamer pipeline in Opencv videoCapture()

I'm trying to open an IP camera in OpenCV using gstreamer pipleine. I can open the IPcamera using Gstreamer in terminal, using : gst-launch-1.0 -v rtspsrc…
Sam
  • 169
  • 1
  • 13
3
votes
1 answer

How to change aspect-ratio with gstreamer?

I have this command: gst-launch-1.0 ximagesrc startx=1920 starty=0 endx=2943 endy=768 use-damage=0\ ! video/x-raw,framerate=15/1 \ ! videoscale method=0 \ ! video/x-raw,width=640,height=360 \ ! videoflip method=horizontal-flip \ ! ximagesink It…
Mario Mey
  • 1,582
  • 3
  • 13
  • 13
1
2 3 4 5 6 7 8