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
0
votes
0 answers

How to restream a rtsp from camera using gstreamer?

I need to restream a camera's rtsp with a gstreamer. So the clients will connect to the gstreamer server like rtsp://GSTERAMER_IP:PORT/streamname. Is it passable to take a rtsp url from a camera and just restream is by gstreamer server as…
Victor
  • 81
  • 8
0
votes
1 answer

I want to create a HLS (HTTP Live Streaming) Stream using Gstreamer but Audio only

what I want to do is create an m3u8-file out of an alsa soundcard input. Like: arecord hw:1,0 -d 10 test.wav | gst-launch-1.0 .... I tried this for testing: gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! hlssink but it doesn't work.…
Boke
  • 75
  • 2
  • 7
0
votes
1 answer

Clear /dev/fb0 last video frame after using gst-launch using command line or Qt API

I'm using gst-launch to start streaming a camera in the /dev/fb0 framebuffer in an embedded linux system. I don't have access to ioctl.h or fb.h to do a memset manually. The command is something like this: gst-launch-1.0 imxg2dcompositor…
0
votes
1 answer

How to convert I420 frames to BGRA format with gst-launch-1.0?

I had a raw video file named video.i420 based on I420 format. And I tried to convert it into BGRA format using gst-launch-1.0: gst-launch-1.0 filesrc location=video.i420 ! videoparse width=1920 height=816 format=2 framerate=24/1 ! videoconvert !…
user5345121
0
votes
0 answers

Gstreamer file stream to UDP

Im trying to stream a mp4-file from one pc and open it on another by using Gstreamer Reciever gst-launch-1.0 -e -v udpsrc port=9002 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, ssrc=(uint)1" !…
rednael
  • 1
  • 5
0
votes
1 answer

Play streaming content using Gstreamer

I wanted to use gstreamer for network steaming. Intention is to launch a video content (from Transmitter) and play it on receiver side. I wrote a sample test code for steaming network content. At transmitter side: GST_DEBUG="*:2" gst-launch-1.0…
deepu
  • 147
  • 2
  • 12
0
votes
1 answer

gst-launch won't play to alsasink device=hw:2

Using the following works fine gst-launch-0.10 filesrc location=temp.wav ! wavparse ! audioconvert ! alsasink device=hw:0 as does gst-launch-1.0 filesrc location=temp.wav ! wavparse ! audioconvert ! alsasink device=hw:0 When I use hw:2, I get a…
shao.lo
  • 4,387
  • 2
  • 33
  • 47
0
votes
0 answers

GStreamer command line to concatenate two .avi videos

Could someone give me an example gst-launch-0.10 command line pipe, which concatenates two videos together and outputs a single .avi video file. I've seen a few examples which use gnlcomposition and smpte, however being honest I don't know too much…
Marcus
  • 9
  • 5
0
votes
1 answer

gstreamer1.0 with logitech c920 webcam Pipeline doesn't want to pause

I'm attempting to make use of the hardware h264 compressor in a logitech c920 usb camera. I am using the gstreamer1.0 package provided by Ubuntu 14.10. gst-launch-1.0 -v -e uvch264src device=/dev/video0 name=src auto-start=true \ src.vfsrc ! queue !…
lysdexia
  • 1,786
  • 18
  • 29
0
votes
2 answers

How to play the video stream from an OGG file using gstreamer in Linux

I am trying to setup a pipeline to play just the video stream from an OGG file in Linux using gstreamer-0.10. I need to do this from the command line using the gst-launch utility. I am successfully able to play both the audio and video streams using…
linsek
  • 3,334
  • 9
  • 42
  • 55
0
votes
1 answer

Gstreamer UDPSink output issue

I have the following command I am using but somehow its not letting me send it over network(local). if I view local it works but not when I try with IP-address. gst-launch-0.10 v4l2src device=/dev/video0 ! video/x-raw-yuv,width=320,height=240 !…
user2962635
  • 151
  • 1
  • 4
  • 16
0
votes
0 answers

dvswitch, v4l2loopback and gst-launch to v4l2sink give too high framerate

I'm testing two webcams with dvswitch: dvswitch -h localhost -p 2000 using avconv to generate dv streams, piping them to dvsource-file: avconv -y -f video4linux2 -s 640x480 -r 15 -i /dev/video0 -f s16le -ar 48000 -ac 2 -i /dev/zero -target pal-dv -…
0
votes
1 answer

play and record stream in the same time using gstreamer

Hi to all i try to play and record mp3 souphttpsrc in the same time but i don't have a good result someone can help please? gst-launch-1.0 -e filesrc location=/dev/fd/0 ! h264parse ! tee name=myvid \! queue ! decodebin ! xvimagesink sync=false \…
user2936743
  • 61
  • 5
  • 13
0
votes
1 answer

How combine uridecobin and videomixer with a videoscale for each sink?

I try to make a vector of image that I get to many URI. I have succeeded to display an image with videomixer and uridecodebin plus a videoscale cap. gst-launch -e videomixer name = mixer \ sink_0::xpos = 0 sink_0::ypos = 0 \ ! xvimagesink…
Mathieu Dachy
  • 27
  • 1
  • 7
0
votes
1 answer

Gstreamer pipeline to play mpegts file works in version 0.10 but not 1.0

I have a working gst-launch pipeline in 0.10 : gst-launch-0.10 \ filesrc location=c:/prog4.mpg \ ! tsdemux name=dem \ ! queue \ ! ac3parse \ ! a52dec \ ! audioconvert \ ! audioresample \ ! autoaudiosink \ …
rubndsouza
  • 1,224
  • 15
  • 23