Multiple ogg vorbis audio files to single tcpserversink

Tim Müller tim at centricular.com
Mon Jun 13 13:43:29 UTC 2016


On Mon, 2016-06-13 at 05:52 -0700, bomba wrote:

Hi,

> I've been trying to test splitfilesrc element - which would do the
> job quite well - with the following pipeline:
> 
> splitfilesrc location=/path/to/*.ogg ! decodebin ! autoaudiosink
> 
> The pipeline plays the first sample, then exits. Logs:
> 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0:
> stream stopped, reason not-linked

That's because oggdemux creates new pads when it finds a new stream
(each ogg file will have headers, so if you concatenate them it will
find a new stream for every chunk).

Shouldn't be a problem if you write some code or use playbin, something
like

  gst-play-1.0 splitfile:///path/to/files*.ogg

might work.

Cheers
 -Tim

-- 

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


More information about the gstreamer-devel mailing list