summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-05-23 11:17:27 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-05-23 11:17:27 +0100
commit9bdfc7254ae93ca2edcf36a663f1c7b3e69316ae (patch)
tree71eaae720e03ae80498cd7490a8635c970bd88ef
parent1eee6f4e85c1533ea3c170003ac0f6ee3e22ca14 (diff)
docs: add some pipeline examples to webmmux docs
-rw-r--r--gst/matroska/webm-mux.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/gst/matroska/webm-mux.c b/gst/matroska/webm-mux.c
index 09a437d54..2644a79ea 100644
--- a/gst/matroska/webm-mux.c
+++ b/gst/matroska/webm-mux.c
@@ -25,11 +25,16 @@
* <refsect2>
* <title>Example launch line</title>
* |[
- * FIXME: add example pipeline
- * ]| This pipeline muxes this and that into a WebM file.
+ * gst-launch-0.10 webmmux name=mux ! filesink location=newfile.webm \
+ * uridecodebin uri=file:///path/to/somefile.ogv name=demux \
+ * demux. ! ffmpegcolorspace ! videorate ! vp8enc ! queue ! mux.video_0 \
+ * demux. ! progressreport ! audioconvert ! audiorate ! vorbisenc ! queue ! mux.audio_0
+ * ]| This pipeline re-encodes a video file of any format into a WebM file.
* |[
- * FIXME: add example pipeline
- * ]| This pipeline muxes something else into a WebM file.
+ * gst-launch-0.10 webmmux name=mux ! filesink location=test.webm \
+ * videotestsrc num-buffers=250 ! video/x-raw-yuv,framerate=25/1 ! ffmpegcolorspace ! vp8enc ! queue ! mux.video_0 \
+ * audiotestsrc samplesperbuffer=44100 num-buffers=10 ! audio/x-raw-float,rate=44100 ! vorbisenc ! queue ! mux.audio_0
+ * ]| This pipeline muxes a test video and a sine wave into a WebM file.
* </refsect2>
*/