summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5790c33)
raw | patch | inline | side by side (parent: 5790c33)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Tue, 3 Nov 2009 01:18:42 +0000 (01:18 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Tue, 3 Nov 2009 01:23:03 +0000 (01:23 +0000) |
Add an example that shows how to refer to specific pads by name
when constructing a pipeline string. Fixes #600382.
when constructing a pipeline string. Fixes #600382.
tools/gst-launch.1.in | patch | blob | history |
diff --git a/tools/gst-launch.1.in b/tools/gst-launch.1.in
index c3762e8a9c30ff2f3cbc9756f546a1e3530ff47d..8c7e8a4caa3e6a255b2875e5ca9ee531c0eb5b85 100644 (file)
--- a/tools/gst-launch.1.in
+++ b/tools/gst-launch.1.in
.B
gst\-launch filesrc location=movie.mpg ! mpegdemux name=demuxer demuxer. ! queue ! mpeg2dec ! ffmpegcolorspace ! sdlvideosink demuxer. ! queue ! mad ! audioconvert ! audioresample ! osssink
.br
-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.
+
+.B
+ gst\-launch textoverlay name=overlay ! ffmpegcolorspace ! videoscale ! autovideosink filesrc location=movie.avi ! decodebin2 ! ffmpegcolorspace ! overlay.video_sink filesrc location=movie.srt ! subparse ! overlay.text_sink
+
+.br
+Play an AVI movie with an external text subtitle stream using playbin2
+
+.B
+ gst\-launch playbin2 uri=file:///path/to/movie.avi suburi=file:///path/to/movie.srt
.B Network streaming