| gst-launch-0.10.1 | gst-launch-0.10.1 | |||
|---|---|---|---|---|
| skipping to change at line 27 | skipping to change at line 27 | |||
| to construct pipelines from pipeline descriptions. | to construct pipelines from pipeline descriptions. | |||
| OPTIONS | OPTIONS | |||
| gst-launch accepts the following options: | gst-launch accepts the following options: | |||
| --help Print help synopsis and available FLAGS | --help Print help synopsis and available FLAGS | |||
| -v, --verbose | -v, --verbose | |||
| Output status information and property notifications | Output status information and property notifications | |||
| -v, --quiet | -q, --quiet | |||
| Do not print any progress information | Do not print any progress information | |||
| -m, --messages | -m, --messages | |||
| Output messages posted on the pipeline's bus | Output messages posted on the pipeline's bus | |||
| -t, --tags | -t, --tags | |||
| Output tags (also known as metadata) | Output tags (also known as metadata) | |||
| -e, --eos-on-shutdown | ||||
| Force an EOS event on sources before shutting the pipeline d | ||||
| own. This is useful to make sure muxers create readable files when a muxing | ||||
| pipeline is shut down forcefully via Control-C. | ||||
| -o FILE, --output=FILE | -o FILE, --output=FILE | |||
| Save XML representation of pipeline to FILE and exit | Save XML representation of pipeline to FILE and exit (DEPREC ATED, DO NOT USE) | |||
| -f, --no_fault | -f, --no-fault | |||
| Do not install a fault handler | Do not install a fault handler | |||
| --no-sigusr-handler | ||||
| Do not install signal handlers for SIGUSR1 (play) and SIGUSR | ||||
| 2 (stop) | ||||
| -T, --trace | -T, --trace | |||
| Print memory allocation traces. The feature must be enabled at compile time to work. | Print memory allocation traces. The feature must be enabled at compile time to work. | |||
| GSTREAMER OPTIONS | GSTREAMER OPTIONS | |||
| gst-launch also accepts the following options that are common to all GStreamer applications: | gst-launch also accepts the following options that are common to all GStreamer applications: | |||
| --gst-version | --gst-version | |||
| Prints the version string of the GStreamer core library. | Prints the version string of the GStreamer core library. | |||
| --gst-fatal-warnings | --gst-fatal-warnings | |||
| skipping to change at line 181 | skipping to change at line 187 | |||
| Other | Other | |||
| gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! audioresample ! osssink | gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! audioresample ! osssink | |||
| Plays a .WAV file that contains raw audio data (PCM). | Plays a .WAV file that contains raw audio data (PCM). | |||
| gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! vorbisenc ! oggmux ! filesink location=music.ogg | gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! vorbisenc ! oggmux ! filesink location=music.ogg | |||
| gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! lame ! filesink location=music.mp3 | gst-launch filesrc location=music.wav ! wavparse ! audioconv ert ! lame ! filesink location=music.mp3 | |||
| Convert a .WAV file containing raw audio data into an Ogg Vorbis or mp3 file | Convert a .WAV file containing raw audio data into an Ogg Vorbis or mp3 file | |||
| gst-launch cdparanoia ! lame ! filesink location=cd.mp3 | gst-launch cdparanoiasrc mode=continuous ! audioconvert ! la me ! id3v2mux ! filesink location=cd.mp3 | |||
| rips all tracks from compact disc and convert them into a single mp3 file | rips all tracks from compact disc and convert them into a single mp3 file | |||
| Using gst-inspect(1), it is possible to discover settings for cdpar | gst-launch cdparanoiasrc track=5 ! audioconvert ! lame ! id3 | |||
| anoia that will tell it to rip individual tracks. Alternatively, you can us | v2mux ! filesink location=track5.mp3 | |||
| e an URI and gst-launch-0.10 will find an element (such as cdparanoia) that | rips track 5 from the CD and converts it into a single mp3 file | |||
| sup‐ | ||||
| ports that protocol for you, e.g.: | Using gst-inspect(1), it is possible to discover settings like t | |||
| he above for cdparanoiasrc that will tell it to rip the entire cd or only t | ||||
| racks of it. Alternatively, you can use an URI and gst-launch-0.10 will fi | ||||
| nd an | ||||
| element (such as cdparanoia) that supports that protocol for you, e. | ||||
| g.: | ||||
| gst-launch cdda://5 ! lame vbr=new vbr-quality=6 ! filesink l ocation=track5.mp3 | gst-launch cdda://5 ! lame vbr=new vbr-quality=6 ! filesink l ocation=track5.mp3 | |||
| gst-launch osssrc ! audioconvert ! vorbisenc ! oggmux ! file sink location=input.ogg | gst-launch osssrc ! audioconvert ! vorbisenc ! oggmux ! file sink location=input.ogg | |||
| records sound from your audio input and encodes it into an ogg file | records sound from your audio input and encodes it into an ogg file | |||
| Video | Video | |||
| gst-launch filesrc location=JB_FF9_TheGravityOfLove.mpg ! dv ddemux ! mpeg2dec ! xvimagesink | gst-launch filesrc location=JB_FF9_TheGravityOfLove.mpg ! dv ddemux ! mpeg2dec ! xvimagesink | |||
| Display only the video portion of an MPEG-1 video file, outputting t o an X display window | Display only the video portion of an MPEG-1 video file, outputting t o an X display window | |||
| gst-launch filesrc location=/flflfj.vob ! dvddemux ! mpeg2de c ! sdlvideosink | gst-launch filesrc location=/flflfj.vob ! dvddemux ! mpeg2de c ! sdlvideosink | |||
| Display the video portion of a .vob file (used on DVDs), outputting to an SDL window | Display the video portion of a .vob file (used on DVDs), outputting to an SDL window | |||
| gst-launch filesrc location=movie.mpg ! dvddemux name=demuxe r demuxer. ! queue ! mpeg2dec ! sdlvideosink demuxer. ! queue ! mad ! aud ioconvert ! audioresample ! osssink | gst-launch filesrc location=movie.mpg ! dvddemux name=demuxe r demuxer. ! queue ! mpeg2dec ! sdlvideosink demuxer. ! queue ! mad ! aud ioconvert ! audioresample ! osssink | |||
| Play both video and audio portions of an MPEG movie | Play both video and audio portions of an MPEG movie | |||
| gst-launch filesrc location=movie.mpg ! mpegdemux name=demux er demuxer. ! queue ! mpeg2dec ! ffmpegcolorspace ! sdlvideosink demuxer . ! queue ! mad ! audioconvert ! audioresample ! osssink | gst-launch filesrc location=movie.mpg ! mpegdemux name=demux er demuxer. ! queue ! mpeg2dec ! ffmpegcolorspace ! sdlvideosink demuxer . ! queue ! mad ! audioconvert ! audioresample ! osssink | |||
| Play an AVI movie | Play an AVI movie with an external text subtitle stream | |||
| This example also shows how to refer to specific pads by name if an | ||||
| element (here: textoverlay) has multiple sink or source pads. | ||||
| gst-launch textoverlay name=overlay ! ffmpegcolorspace ! vid | ||||
| eoscale ! autovideosink filesrc location=movie.avi ! decodebin2 ! ffmpegc | ||||
| olorspace ! overlay.video_sink filesrc location=movie.srt ! subparse ! | ||||
| over‐ | ||||
| lay.text_sink | ||||
| Play an AVI movie with an external text subtitle stream using playbi | ||||
| n2 | ||||
| gst-launch playbin2 uri=file:///path/to/movie.avi suburi=fil | ||||
| e:///path/to/movie.srt | ||||
| Network streaming | Network streaming | |||
| Stream video using RTP and network elements. | Stream video using RTP and network elements. | |||
| gst-launch v4l2src ! video/x-raw-yuv,width=128,height=96,for mat='(fourcc)'UYVY ! ffmpegcolorspace ! ffenc_h263 ! video/x-h263 ! rtph263 ppay pt=96 ! udpsink host=192.168.1.1 port=5000 sync=false | gst-launch v4l2src ! video/x-raw-yuv,width=128,height=96,for mat='(fourcc)'UYVY ! ffmpegcolorspace ! ffenc_h263 ! video/x-h263 ! rtph263 ppay pt=96 ! udpsink host=192.168.1.1 port=5000 sync=false | |||
| Use this command on the receiver | Use this command on the receiver | |||
| gst-launch udpsrc port=5000 ! application/x-rtp, clock-rate= 90000,payload=96 ! rtph263pdepay queue-delay=0 ! ffdec_h263 ! xvimagesink | gst-launch udpsrc port=5000 ! application/x-rtp, clock-rate= 90000,payload=96 ! rtph263pdepay queue-delay=0 ! ffdec_h263 ! xvimagesink | |||
| This command would be run on the transmitter | This command would be run on the transmitter | |||
| skipping to change at line 264 | skipping to change at line 282 | |||
| When this environment variable is set, coloured debug output is disabled. | When this environment variable is set, coloured debug output is disabled. | |||
| GST_DEBUG_DUMP_DOT_DIR | GST_DEBUG_DUMP_DOT_DIR | |||
| When set to a filesystem path, store dot files of pipeline gr aphs there. | When set to a filesystem path, store dot files of pipeline gr aphs there. | |||
| GST_REGISTRY | GST_REGISTRY | |||
| Path of the plugin registry file. Default is ~/.gstreamer-0.1 0/registry-CPU.xml where CPU is the machine/cpu type GStreamer was compiled for, e.g. 'i486', 'i686', 'x86-64', 'ppc', etc. (check the output of "unam e -i" | Path of the plugin registry file. Default is ~/.gstreamer-0.1 0/registry-CPU.xml where CPU is the machine/cpu type GStreamer was compiled for, e.g. 'i486', 'i686', 'x86-64', 'ppc', etc. (check the output of "unam e -i" | |||
| and "uname -m" for details). | and "uname -m" for details). | |||
| GST_REGISTRY_UPDATE | GST_REGISTRY_UPDATE | |||
| Set to "no" to force GStreamer to assume that no plugins hav e changed, been added or been removed. This will make GStreamer skip the in itial check whether a rebuild of the registry cache is required or not. Thi s may | Set to "no" to force GStreamer to assume that no plugins have changed, been added or been removed. This will make GStreamer skip the ini tial check whether a rebuild of the registry cache is required or not. This may | |||
| be useful in embedded environments where the installed plugin s never change. Do not use this option in any other setup. | be useful in embedded environments where the installed plugin s never change. Do not use this option in any other setup. | |||
| GST_PLUGIN_PATH | GST_PLUGIN_PATH | |||
| Specifies a list of directories to scan for additional plugin s. These take precedence over the system plugins. | Specifies a list of directories to scan for additional plugin s. These take precedence over the system plugins. | |||
| GST_PLUGIN_SYSTEM_PATH | GST_PLUGIN_SYSTEM_PATH | |||
| 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 | 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 | |||
| OIL_CPU_FLAGS | ORC_CODE | |||
| Useful liboil environment variable. Set OIL_CPU_FLAGS=0 when | Useful Orc environment variable. Set ORC_CODE=debug to enable | |||
| valgrind or other debugging tools trip over liboil's CPU detection (quite a | debuggers such as gdb to create useful backtraces from Orc-generated code. | |||
| few important GStreamer plugins like videotestsrc, audioconvert or audior | Set ORC_CODE=backup or ORC_CODE=emulate if you suspect Orc's SIMD code ge | |||
| esam‐ | nera‐ | |||
| ple use liboil). | tor is producing incorrect code. (Quite a few important GStr | |||
| eamer plugins like videotestsrc, audioconvert or audioresample use Orc). | ||||
| G_DEBUG | G_DEBUG | |||
| Useful GLib environment variable. Set G_DEBUG=fatal_warnings to make GStreamer programs abort when a critical warning such as an asserti on failure occurs. This is useful if you want to find out which part of the code | Useful GLib environment variable. Set G_DEBUG=fatal_warnings to make GStreamer programs abort when a critical warning such as an asserti on failure occurs. This is useful if you want to find out which part of the code | |||
| caused that warning to be triggered and under what circumstan ces. Simply set G_DEBUG as mentioned above and run the program in gdb (or l et it core dump). Then get a stack trace in the usual way. | caused that warning to be triggered and under what circumstan ces. Simply set G_DEBUG as mentioned above and run the program in gdb (or l et it core dump). Then get a stack trace in the usual way. | |||
| FILES | FILES | |||
| ~/.gstreamer-0.10/registry-*.xml | ~/.gstreamer-0.10/registry-*.xml | |||
| The xml plugin database; can be deleted at any time, will be re-created automatically when it does not exist yet or plugins change. | The xml plugin database; can be deleted at any time, will be re-created automatically when it does not exist yet or plugins change. | |||
| SEE ALSO | SEE ALSO | |||
| End of changes. 10 change blocks. | ||||
| 17 lines changed or deleted | 47 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||