From 6ee9a7d2281bf3d426cd16809cc9994011a2fe87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 17 Aug 2012 20:52:42 +0100 Subject: [PATCH] multifilesrc: fix example pipeline in docs --- gst/multifile/gstmultifilesrc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/multifile/gstmultifilesrc.c b/gst/multifile/gstmultifilesrc.c index e79d837fce..611abb7c50 100644 --- a/gst/multifile/gstmultifilesrc.c +++ b/gst/multifile/gstmultifilesrc.c @@ -25,7 +25,8 @@ * Reads buffers from sequentially named files. If used together with an image * decoder, one needs to use the #GstMultiFileSrc:caps property or a capsfilter * to force to caps containing a framerate. Otherwise image decoders send EOS - * after the first picture. + * after the first picture. We also need a videorate element to set timestamps + * on all buffers after the first one in accordance with the framerate. * * File names are created by replacing "\%d" with the index using printf(). * @@ -33,7 +34,7 @@ * Example launch line * |[ * gst-launch multifilesrc location="img.%04d.png" index=0 caps="image/png,framerate=\(fraction\)12/1" ! \ - * pngdec ! ffmpegcolorspace ! theoraenc ! oggmux ! \ + * pngdec ! videoconvert ! videorate ! theoraenc ! oggmux ! \ * filesink location="images.ogg" * ]| This pipeline creates a video file "images.ogg" by joining multiple PNG * files named img.0000.png, img.0001.png, etc.