multifilesrc and looping wav files: success story, sort of

Tim Müller tim at centricular.com
Sat Sep 13 05:15:12 PDT 2014


On Sat, 2014-09-13 at 12:37 +0100, Tim Müller wrote:

> > Does anyone know the proper way to loop an audio file in GStreamer
> > from gst-launch?
> 
> From gst-launch-1.0 it's not so easy. multifilesrc is not suitable for
> this, because the demuxer/parser usually won't handle that right. If
> that works, it's likely only by accident.
> 
> The best way is to write some code. (...)

Or you just do something like:

args="" ; for i in `seq 1 9999`; do args="$args foo.wav"; done;
gst-play-1.0 --gapless $args

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list