hi,
On 07/25/11 21:20, Krishnan wrote:
> Hi,
>
> 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
> pipelines.
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).
Stefan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel