flvmux: fix broken sample pipeline
authorTim-Philipp Müller <tim@centricular.net>
Sat, 12 Oct 2013 19:44:31 +0000 (20:44 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 12 Oct 2013 19:44:31 +0000 (20:44 +0100)
which was muxing raw audio and video into flvmux, which won't work,
even if there were converters.

gst/flv/gstflvmux.c

index 2950a20..b4fd9e3 100644 (file)
@@ -26,8 +26,8 @@
  * <refsect2>
  * <title>Example launch line</title>
  * |[
- * gst-launch-1.0 -v filesrc location=/path/to/audio ! decodebin2 ! queue ! flvmux name=m ! filesink location=file.flv   filesrc location=/path/to/video ! decodebin2 ! queue ! m.
- * ]| This pipeline muxes an audio and video file into a single FLV file.
+ * gst-launch-1.0 -v flvmux name=mux ! filesink location=test.flv  audiotestsrc samplesperbuffer=44100 num-buffers=10 ! faac ! mux.  videotestsrc num-buffers=250 ! video/x-raw,framerate=25/1 ! x264enc ! mux.
+ * ]| This pipeline encodes a test audio and video stream and muxes both into an FLV file.
  * </refsect2>
  */