diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-10-12 20:44:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-10-12 20:44:31 +0100 |
commit | 771ffe5609c36fc6afa2d72ef2bebdb3db3f2dfa (patch) | |
tree | 17b06f78d387ad48a9fca967d6a41264f32bcaee /gst/flv | |
parent | 29effb522a91986ebf96c60e0c6ed0de6ffc385d (diff) |
flvmux: fix broken sample pipeline
which was muxing raw audio and video into flvmux, which won't work,
even if there were converters.
Diffstat (limited to 'gst/flv')
-rw-r--r-- | gst/flv/gstflvmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 2950a2022..b4fd9e311 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -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> */ |