[gst-devel] How does a pipeline look that plays LPCM files

Michael Smith msmith at fluendo.com
Mon Mar 3 10:41:25 CET 2008


On Sun, 2008-03-02 at 19:07 -0700, danielkun at iremo.com wrote:
> Mike,
> 
> > > I wrote a Gstreamer plugin that converts network byte order to little
> > > endian to be able to play LPCM files.
> > 
> > audioconvert can do that, you don't need to write a new plugin.
> 
> Thank you. It played back just fine with audioconvert.
> 
> I still get the error message below though,
> (gst-launch-0.10:2321) GStreamer-CRITICAL **: gst_segment_clip:
> assertion 'segment->format == format' failed

Yes, you can't just put capsfilter after a filesrc and have things work
correctly.

You could look at using the audioparse element for this case, that does
what you need (but may require a newer set of plugins).

Your original mail said you wanted to play LPCM files - do you mean the
DVD LPCM format? If so, then that's a little more complex, but there's
already a dvdlpcmdec element you can use.

Mike




More information about the gstreamer-devel mailing list