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

Why can't I receive an RTP video stream produced by GStreamer's appsrc?

I'm trying to use the GStreamer's appsrc element with rtpbin and udpsink to create an RTP sender using the VP8 codec (vp8enc). This program creates a fake video stream by switching black and white frames every 100 milliseconds. You can see the video…
Daniel Koch
  • 580
  • 2
  • 11
1
vote
0 answers

Multi-Camera in WebRTC application with Gstreamer C++

In my pipeline I would like to use 2 different v4l2 source. But When I used like code 1 with double v4l2src , I can get some error like "ERROR GST_PIPELINE grammar.y:740:gst_parse_perform_link: could not link h264parse1 to payloader" pipe1 = …
1
vote
0 answers

Why gstreamer GST-LAUNCH buffering frequently while running?

Im running a simple command on Ubuntu 18.04 release. gst-launch-1.0 playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm This command opens a example video window. But while running, video stops and…
muradaltay
  • 41
  • 7
1
vote
1 answer

GStreamer and RTSP stream

I'm trying to view an rtsp stream trough gstreamer but when i run this command: gst-launch-1.0 rtspsrc location=rtsp://admin:@192.168.1.27:554/ch0_0.264 ! videoconvert ! video/x-raw ! autovideosink it blocks here and doesn't display…
1
vote
0 answers

Two videos overlayed with gstreamer alpha, not playing at all

I am trying to crate a greenscreen application using gstreamer alpha. I am using ximagesrc to capture the window with a green background. Then I am using alpha to overlay green parts of the capture. However, I even do not know the reason, the new…
iamonur
  • 23
  • 1
  • 7
1
vote
1 answer

gst-launch and multiple lines of text

how do i set multiple lines of text in the textoverlay pipe in gst-launch? I want to set up a pipeline and want to have multiple lines of text both vertically and horizontally centered. I'm able to do 1 line. I'm not sure how to specify a…
Sam
  • 185
  • 1
  • 3
  • 14
1
vote
2 answers

how to find the device index of external camera for gstreamer?

gst-device-monitor-1.0 is displaying devices of class Audio/Source only. it does not display Video/Source devices at all, In addition it fails when asking explicitly for video devices only. gst-device-monitor-1.0 Video/Source Probing…
MichaelMoser
  • 3,172
  • 1
  • 26
  • 26
1
vote
1 answer

gstreamer playbin only video

I am using the following pipeline gst-launch-0.10 playbin2 uri=file:///mnt/hash.mp4 video-sink="imxv4l2sink" flags=0x57 This works fine for the video file ( mp4 ) which doesn't have video in it. But when I pass a mp4 file which has both video and…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
1
vote
1 answer

Extract h264 stream from USB webcam (logitech C920)

So, I'm starting to play around with gstreamer and I'm able to do very simple pipes such as gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,format=YUY2,width=640,height=480,framerate=10/1 ! videoconvert ! autovideosink Now, as my USB…
Nicolas Couvrat
  • 371
  • 2
  • 13
1
vote
1 answer

Can't record both video and sound from TV card using Gstreamer

I have a SAA7134 TV card. I want to record a video with sound using Gstreamer. This command I use to make sure I can hear the audio and it works gst-launch-1.0 alsasrc device="hw:1,0" ! queue ! audioconvert ! alsasink This command proves that I can…
alexanderk409
  • 138
  • 1
  • 12
1
vote
1 answer

How can I show a video at a specific posision with gst-launch?

I'm trying to play a video file with gst-launch on a embedded board. First of all, I can play a video with the command below. - gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! omxh264dec ! waylandsink Secondly, I tried to play this…
KONE Seion
  • 51
  • 1
  • 7
1
vote
2 answers

Creating a virtual webcam from jpeg using GStreamer

I'm trying to use a jpg-File as a virtual webcam for Skype (or similar). The image file is reloading every few seconds and the Pipeline should also transmit always the newest image. I started creating a Pipeline like this gst-launch filesrc…
Paul
  • 13
  • 1
  • 3
1
vote
2 answers

How to use level plugin of GStreamer to get peak and rms value of a particular audio file

I want to detect peak and rms value of particular audio files (format can be .opus, .wav etc., or it can be input from mic as well without recording a voice). Using GStreamer's good 'level' plugin I can achieve this. I tried the sample provided…
iTink
  • 129
  • 1
  • 13
1
vote
0 answers

How do I use GStreamer gst-launch to re-mux an interlaced h264 stream from an RTSP source?

Is there any way to take an interlaced h264 stream and re-mux it into Matroska or QT container form in a way that players will correctly identify it as interlaced? My basic pipeline is: gst-launch-1.0 -e souphttpsrc…
mpr
  • 3,250
  • 26
  • 44
1
vote
0 answers

GStreamer element multifilesrc does not throw EOS with stop-index parameter set

I have a pipeline which does not throw an EOS when I have the stop-indexparameter set. The pipeline looks like this: gst-launch-0.10 multifilesrc start-index=140 stop-index=145 location="ADIF%04d.jpg" ! image/jpeg, framerate=5/1 ! decodebin !…
Marcus
  • 9
  • 5