custom variables in gst_launch
ensonic at hora-obscura.de
Mon Jul 25 13:04:19 PDT 2011
On 07/25/11 21:20, Krishnan wrote:
> Is it possible to set custom variables in gst_launch pipeline? For eg, can I
> specify a timer variable in gst_launch pipeline (to run the pipeline for
> certain minutes). Example: gst-launch (timer=3! videotestsrc=1 ! x264enc !
> rtph264pay name=pay0 pt=96), by which I can use the 'timer' variable in my
> program? I presume, gst-launch makes use of gst_parse_launch() to parse the
there is no such things are variables for gst-launch. You could set
num-buffers on videotestsrc to e.g. 500 to make it eos after 500 frames.
But for anything more sophisticated you need to write an application
(that can be a simple python script).
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/custom-variables-in-gst-launch-tp3693701p3693701.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel