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
1
vote
1 answer

Compress mpeg stream and send through network gstreamer

I want to build a pipe that sends a mpeg file with the gstreamer 1.0 through the network. I've tried some pipes and and examples but neither was the element known nor was it able to link two elements. Can somebody show me a pipe for examlple with…
Archimedes
  • 231
  • 1
  • 2
  • 13
1
vote
1 answer

How to convert raw BGRA image to JPG using GStreamer 1.0?

I'm trying to display a raw image (1.8MB) with gst-launch-1.0. I understand that the data needs to be encoded to JPG before this can be achieve. If image was already stored as a jpg file the story would be quite simple: gst-launch-1.0.exe -v filesrc…
karlphillip
  • 92,053
  • 36
  • 243
  • 426
1
vote
1 answer

gstreamer uri format on windows

I am trying to play media files with gstreamer ,mp3 currently but I am getting the uri format wrong and it can't find the file. The original command from the documentation is gst-launch-1.0 playbin uri=file:///home/joe/my-random-media-file.mpeg I…
musimbate
  • 347
  • 6
  • 25
1
vote
1 answer

gstreamer recording m3u8 stream

I'm trying to record stream from m3u8 file. This pipeline works: gst-launch-0.10 -e souphttpsrc location=(mysrc.m3u8) ! queue ! hlsdemux ! queue ! mpegtsparse ! queue ! mpegtsdemux ! queue ! audio/mpeg ! queue ! filesink location=test.ts and…
user3921796
  • 117
  • 3
  • 13
1
vote
1 answer

How to stream a file.avi over network using gstreamer

I'm trying to use gstreamer to send a sample file .avi over a network. The code that I'm using to build my pipeline is the following: gst-launch-1.0 -v rtpbin name=rtpbin latency=200 \ filesrc location=filesrc location=/home/enry/drop.avi !…
felix1188
  • 13
  • 5
1
vote
1 answer

How to get Pipeline created by playbin in Gstreamer?

i am creating a player which uses playbin2 to create pipeline. in my code I'm using the following line to create the pipeline. pipeline = gst_parse_launch("playbin2", &error); so pipeline will get created and the player is working. Now I wish to…
jithin
  • 637
  • 2
  • 14
  • 26
1
vote
1 answer

Gstreamer problems network streaming with gst-launch

quite new to Gstreamer, but I'm trying to implement a network stream using the gst-launch command. So far I've managed to get the pipeline working with the videotestsrc but when I try to put a filesrc in it's place I have trouble. the following is…
Stu
  • 11
  • 3
1
vote
2 answers

Gstreamer on OSX

I'm trying to create a very simply Gstreamer pipeline where I have a source element that is my FaceTime camera and a sink element that is a udp sink. I first install Gstreamer using the instructions here. I ran some of the basic pipelines no…
Przemek Lach
  • 1,348
  • 2
  • 19
  • 42
1
vote
1 answer

gst-launch to demux an RTMP stream

I'm using the latest stable version of gstreamer and all plugins, and when I try to play and rtmp stream using this pipeline: gst-launch-0.10 rtmpsrc location='rtmp://server/app/stream flashver=MediaMagic' ! flvdemux name=d d. ! queue ! decodebin !…
user1355355
  • 11
  • 1
  • 3
0
votes
1 answer

How to use the gst-launch to play unaligned raw video data files?

I have a 426x240 nv12 data file, I use the following command to play it, the resulting playback picture is distorted. gst-launch-1.0 filesrc location=426x240-nv12-25fps-5s.yuv ! videoparse format=nv12 width=426 height=240 framerate=1/1 !…
dave
  • 41
  • 3
0
votes
1 answer

Last clip created by splitmuxsink is not working

I am working on a pipeline to screen record and save them regularly like once in 10 mins. This pipeline is recording and saving properly but when I terminate the program with CTRL-C or the system falls abnormally the last clip created is not working…
0
votes
0 answers

Gstreamer: gst-launch ICYDEMUX output as textoverlay

I am trying to use gst-launch to extract radio metadata and textoverlay onto video/goom visualization.I am stuck at the overlay part. Hope someone can give me some pointers on how to do this, GStreamer is too complex even for ChatGPT. Please see…
0
votes
0 answers

GStreamer Custom GstPlugin uses same instance for multiple pipelines

Frames from multiple pipelines are overlap after my plugin uses. I have developed a custom gst plugin using python.It is working fine with single pipeline. Whenever i'm using multiple pipelines (*even in different process), the final videos are same…
0
votes
0 answers

Demuxing RTSP stream using GStreamer and sending to FFmpeg using MPEG-TS via TCP

I am trying to run a pipeline that will read an h264/aac stream from RTSP and push it to an FFmpeg TCP socket (that FFmpeg instance will re-publish as another RTSP stream, I know it's odd). Requirements: The RTSP client at the start of this…
Brian Schrameck
  • 588
  • 1
  • 5
  • 22
0
votes
0 answers

Resetting default camera settings each time gst pipeline launched

I am launching a pipeline using gst-launch-1.0 on a Jetson Nano, within which I set the brightness of the camera to 1 using the v4l2src plugin: gst-launch-1.0 v4l2src device=/dev/video0 extra-controls="c,brightness=1" ! video/x-raw, format=UYVY,…
fjhj2
  • 293
  • 1
  • 2
  • 9