[gst-cvs] gst-plugins-good: docs: add some pipeline examples to webmmux docs

Tim Müller tpm at kemper.freedesktop.org
Sun May 23 03:18:51 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 9bdfc7254ae93ca2edcf36a663f1c7b3e69316ae
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9bdfc7254ae93ca2edcf36a663f1c7b3e69316ae

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Sun May 23 11:17:27 2010 +0100

docs: add some pipeline examples to webmmux docs

---

 gst/matroska/webm-mux.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gst/matroska/webm-mux.c b/gst/matroska/webm-mux.c
index 09a437d..2644a79 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>
  */
 





More information about the Gstreamer-commits mailing list