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
3
votes
1 answer

Gst-launch: Saving every image of a video stream while watching it

I'm currently trying to save a video stream into files using gst-launch while simultaneously watching the video itself (using v4l2src). As of now I got this by doing a work around with saving the images to files using ! multifilesink while having a…
miorli
  • 53
  • 1
  • 5
3
votes
0 answers

Gstreamer how to record, take screenshot of a stream

I am streaming video from my raspberry using gstreamer and h264 decoder as below: raspivid -t 999999 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink…
Deepak Battu
  • 149
  • 1
  • 1
  • 5
2
votes
1 answer

gst_parse_launch there is no proper conversion function from string to gchar

I have a simple code with c++ using gstreamer to read rtsp video. I'm new to gstreamer, I couldn't concatenate gst_parse_launch() with a URL_RTSP variable for my rtsp links. here is no variable URL_RTSP, that works: /* Build the pipeline */ …
l12
  • 61
  • 4
2
votes
0 answers

Gstreamer pipeline hangs at EOS

I'm developing a video recording application on NVIDIA Jetson Nano. My application runs on more than 200 Jetson Nano devices, each record 3-10 videos per day. A single device usually records 40-45 minutes with a 5 minute interval in-between. The…
2
votes
2 answers

How to kill a subprocess in python

I have code which runs a webcamera on a linux pc using the gst-launchcommand. When I kill the process, the webcamera window does not turn off, but the program stops running. I want the webcamera window also to be closed. Can you help me on…
Mahima K
  • 85
  • 2
  • 11
2
votes
0 answers

How to change rtp payload type when using gst-launch with rtph264pay

I'm streaming h264 from a file using gst for python and triggering the video sending using gst.parse_launch(...). I need to change the payload type to 35 from default 96. According to examples and documentation it seems like one should be able to do…
Kristofer
  • 3,201
  • 23
  • 28
2
votes
1 answer

Gstreamer Tee with different capabilities on each branch

I have a gstreamer pipeline similar to this. Queue -> videoscale -> videosink / appsrc -> h264_decoder -> Tee \ Queue -> jpegenc…
Ajith
  • 613
  • 1
  • 15
  • 32
2
votes
2 answers

How to use gstreamer for transcoding and resizing from mp4(h264/aac) to mp4(h264/mp3)?

I want to transcode and resize mp4.(mp4-h264_1920x1080/aac => mp4-h264_640x480/mp3) using gstreamer. I wrote down this command. $ gst-launch-0.10 filesrc location=./gain_1.mp4 ! qtdemux name=demux demux.video_00 ! queue ! ffdec_h264 ! videoscale !…
Lionel.J
  • 65
  • 1
  • 1
  • 9
2
votes
2 answers

Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu

I'm trying to fetch the video file from my local directory,enable the stream from server and capture these frames from my Client side.I have used the following pipelines: Server side: gst-launch -v filesrc…
vgokul129
  • 777
  • 12
  • 31
2
votes
2 answers

gst-launch return value

What will be the return value of gst-launch application? Will it return '0' on success and non-negative number (ERROR CODE) on failure? Where can I fild list of all possible error codes of gst-launch.
Raju
  • 403
  • 1
  • 6
  • 19
2
votes
2 answers

gstreamer rtmpsrc to rtmpsink

I want to capture the live incoming flash media stream generated via webcam from client machine using gstreamer rtmpsrc plugin and convert it to some processable format. The problem is when i try to view the incoming rtmp flash media stream using…
Devendra
  • 89
  • 2
  • 11
1
vote
0 answers

Conditionally build a gstreamer pipeline for processing video or video+audio using gst-launch-1.0

Consider the following gst-launch-1.0 command to play an input stream containing video and audio tracks: gst-launch-1.0 \ uridecodebin uri=${INGRESS_URL} name=decodebin \ \ decodebin. ! "video/x-raw" ! queue name=decodebin_video_queue !…
jadarve
  • 309
  • 3
  • 7
1
vote
1 answer

How can I choose which stream to display using gst-launch-1.0?

I have a parrot drone that has 4 cameras being streamed with RTSP. The 4 cameras are being streamed by the same location (rtsp://192.168.53.1:554/live). Is it possible to choose which stream I want to be displayed using gst-launch-1.0? When I…
madswamp
  • 11
  • 2
1
vote
0 answers

Play video from a UNIX SOCKET using gstreamer (gst-launch-1.0)

I need to play video from a UNIX SOCKET using gstreamer (gst-launch-1.0) example gst-launch-1.0 socketsrc socket-path=/tmp/unixSocket ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 min-threshold-buffers=0 ! h264parse ! avdec_h264 !…
1
vote
0 answers

Gstreamer queries NVR with wrong startTime having a pattern

I'm a newbie in gstreamer and I am trying to query a NVR(Network Video Recorder) to get recorded videos of my rtsp camera. Here is my gst pipeline: gst-launch-1.0 rtspsrc location="rtsp://-NVR…