gstfunnel: avoid access of freed pad
[platform/upstream/gstreamer.git] / tools / gst-launch.1.in
index b53a694..156fd9f 100644 (file)
@@ -4,7 +4,7 @@ gst\-launch \- build and run a GStreamer pipeline
 .SH "SYNOPSIS"
 \fBgst\-launch\fR \fI[OPTION...]\fR PIPELINE\-DESCRIPTION
 .SH "DESCRIPTION"
-.LP 
+.LP
 \fIgst\-launch\fP is a tool that builds and runs basic
 \fIGStreamer\fP pipelines.
 
@@ -44,15 +44,13 @@ Force an EOS event on sources before shutting the pipeline down. This is
 useful to make sure muxers create readable files when a muxing pipeline is
 shut down forcefully via Control-C.
 .TP 8
-.B  \-o FILE, \-\-output=FILE
-Save XML representation of pipeline to FILE and exit (DEPRECATED, DO NOT USE)
+.B  \-i, \-\-index
+Gather and print index statistics. This is mostly useful for playback or
+recording pipelines.
 .TP 8
 .B  \-f, \-\-no\-fault
 Do not install a fault handler
 .TP 8
-.B  \-\-no\-sigusr-handler
-Do not install signal handlers for SIGUSR1 (play) and SIGUSR2 (stop)
-.TP 8
 .B  \-T, \-\-trace
 Print memory allocation traces. The feature must be enabled at compile time to
 work.
@@ -114,7 +112,7 @@ plugins to preload is to use the environment variable GST_PLUGIN_PATH
 
 .SH "PIPELINE DESCRIPTION"
 
-A pipeline consists \fIelements\fR and \fIlinks\fR. \fIElements\fR can be put 
+A pipeline consists \fIelements\fR and \fIlinks\fR. \fIElements\fR can be put
 into \fIbins\fR of different sorts. \fIElements\fR, \fIlinks\fR and \fIbins\fR
 can be specified in a pipeline description in any order.
 
@@ -138,7 +136,7 @@ Enumeration properties can be set by name, nick or value.
 \fI[BINTYPE.]\fR ( \fI[PROPERTY1 ...]\fR PIPELINE-DESCRIPTION )
 .br
 
-Specifies that a bin of type BINTYPE is created and the given properties are 
+Specifies that a bin of type BINTYPE is created and the given properties are
 set. Every element between the braces is put into the bin. Please note the dot
 that has to be used after the BINTYPE. You will almost never need this
 functionality, it is only really useful for applications using the
@@ -194,26 +192,17 @@ and the type can have the following case-insensitive values:
 .br
 - \fBl\fR or \fBlist\fR for lists
 .br
-If no type was given, the following order is tried: integer, float, boolean, 
+If no type was given, the following order is tried: integer, float, boolean,
 string.
 .br
 Integer values must be parsable by \fBstrtol()\fP, floats by \fBstrtod()\fP. FOURCC values may
-either be integers or strings. Boolean values are (case insensitive) \fIyes\fR, 
+either be integers or strings. Boolean values are (case insensitive) \fIyes\fR,
 \fIno\fR, \fItrue\fR or \fIfalse\fR and may like strings be escaped with " or '.
 .br
 Ranges are in this format:  [ VALUE, VALUE ]
 .br
 Lists use this format:      ( VALUE \fI[, VALUE ...]\fR )
 
-.SH "PIPELINE CONTROL"
-
-A pipeline can be controlled by signals. SIGUSR2 will stop the pipeline
-(GST_STATE_NULL); SIGUSR1 will put it back to play (GST_STATE_PLAYING).
-By default, the pipeline will start in the playing state.
-.br
-There are currently no signals defined to go into the ready or pause
-(GST_STATE_READY and GST_STATE_PAUSED) state explicitely.
-
 .SH "PIPELINE EXAMPLES"
 
 The examples below assume that you have the correct plug-ins available.
@@ -344,12 +333,12 @@ Stream video using RTP and network elements.
 .B
         gst\-launch v4l2src ! video/x-raw-yuv,width=128,height=96,format='(fourcc)'UYVY ! ffmpegcolorspace ! ffenc_h263 ! video/x-h263 ! rtph263ppay pt=96 ! udpsink host=192.168.1.1 port=5000 sync=false
 .br
-Use this command on the receiver
+This command would be run on the transmitter
 
 .B
         gst\-launch udpsrc port=5000 ! application/x-rtp, clock-rate=90000,payload=96 ! rtph263pdepay queue-delay=0 ! ffdec_h263 ! xvimagesink
 .br
-This command would be run on the transmitter
+Use this command on the receiver
 
 .B Diagnostic
 
@@ -390,7 +379,7 @@ automatically. To make this even easier, you can use the playbin element:
 .B
         gst\-launch playbin uri=file:///home/joe/foo.avi
 .br
-  
+
 
 .B Filtered connections
 
@@ -422,7 +411,7 @@ When set to a filesystem path, store dot files of pipeline graphs there.
 .TP
 \fBGST_REGISTRY\fR
 Path of the plugin registry file. Default is
-~/.gstreamer-GST_MAJORMINOR/registry-CPU.xml where CPU is the machine/cpu type
+~/.gstreamer-GST_API_VERSION/registry-CPU.bin where CPU is the machine/cpu type
 GStreamer was compiled for, e.g. 'i486', 'i686', 'x86-64', 'ppc', etc. (check
 the output of "uname -i" and "uname -m" for details).
 .TP
@@ -438,14 +427,16 @@ Specifies a list of directories to scan for additional plugins.
 These take precedence over the system plugins.
 .TP
 \fBGST_PLUGIN_SYSTEM_PATH\fR
-Specifies a list of plugins that are always loaded by default.  If not set, 
+Specifies a list of plugins that are always loaded by default.  If not set,
 this defaults to the system-installed path, and the plugins installed in the
 user's home directory
 .TP
-\fBOIL_CPU_FLAGS\fR
-Useful liboil environment variable. Set OIL_CPU_FLAGS=0 when valgrind or
-other debugging tools trip over liboil's CPU detection (quite a few important
-GStreamer plugins like videotestsrc, audioconvert or audioresample use liboil).
+\fBORC_CODE\fR
+Useful Orc environment variable. Set ORC_CODE=debug to enable debuggers
+such as gdb to create useful backtraces from Orc-generated code.  Set
+ORC_CODE=backup or ORC_CODE=emulate if you suspect Orc's SIMD code
+generator is producing incorrect code.  (Quite a few important
+GStreamer plugins like videotestsrc, audioconvert or audioresample use Orc).
 .TP
 \fBG_DEBUG\fR
 Useful GLib environment variable. Set G_DEBUG=fatal_warnings to make
@@ -457,8 +448,8 @@ a stack trace in the usual way.
 .
 .SH FILES
 .TP 8
-~/.gstreamer-GST_MAJORMINOR/registry-*.xml
-The xml plugin database; can be deleted at any time, will be re-created
+~/.gstreamer-GST_API_VERSION/registry-*.bin
+The plugin cache; can be deleted at any time, will be re-created
 automatically when it does not exist yet or plugins change.
 .
 .SH "SEE ALSO"