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

danielkun at iremo.com danielkun at iremo.com
Mon Mar 3 12:45:35 CET 2008


Mike,

Once again, Thank you!

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

Thanks, audioparse got rid of the error message.

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

I need to play back plain .pcm files, but thank you anyway. 

Daniel






More information about the gstreamer-devel mailing list