From 771ffe5609c36fc6afa2d72ef2bebdb3db3f2dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 12 Oct 2013 20:44:31 +0100 Subject: [PATCH] flvmux: fix broken sample pipeline which was muxing raw audio and video into flvmux, which won't work, even if there were converters. --- gst/flv/gstflvmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 2950a20226..b4fd9e311d 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -26,8 +26,8 @@ * * Example launch line * |[ - * 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. * */