docs: add some pipeline examples to webmmux docs

This commit is contained in:
Tim-Philipp Müller 2010-05-23 11:17:27 +01:00
parent 1eee6f4e85
commit 9bdfc7254a

View file

@ -25,11 +25,16 @@
* <refsect2> * <refsect2>
* <title>Example launch line</title> * <title>Example launch line</title>
* |[ * |[
* FIXME: add example pipeline * gst-launch-0.10 webmmux name=mux ! filesink location=newfile.webm \
* ]| This pipeline muxes this and that into a WebM file. * 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 * gst-launch-0.10 webmmux name=mux ! filesink location=test.webm \
* ]| This pipeline muxes something else into a WebM file. * 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> * </refsect2>
*/ */