multifilesrc and looping wav files: success story, sort of

Antonio Ospite ao2 at ao2.it
Sat Sep 13 06:00:19 PDT 2014


On Sat, 13 Sep 2014 13:15:12 +0100
Tim Müller <tim at centricular.com> wrote:

> 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
> 

Ah, good to know, I never heard of gst-play-1.0 before.

Just for the records, Debian ships it in the
gstreamer1.0-plugins-base-apps package.

Ciao,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the gstreamer-devel mailing list