Problem with porting playbin in a pipeline from Gst-0.10 to Gst1.0

Tim Müller tim at centricular.com
Sat Nov 1 04:12:50 PDT 2014


On Sat, 2014-11-01 at 04:30 +0100, Victor henri wrote:

Hi Victor,

> I have use playbin2 with Gstreamer-0.10 for my app and it could read
> any kind of file.
> 
> I want to port it to Gstreamer1.0. I have made some adjustments, as I
> could find from the doc. It can read only wave files now, but
> not .flac or .mp3 files! I have every possible plugins installed (I
> think). 
> 
> Could please help me with this?

The code should continue to work as is, apart from the playbin2->playbin
change.

It sounds like you're still missing some elements. Perhaps you could
send us the output of gst-inspect-1.0 ?

In particular, make sure you have parsers installed, in 1.0 we now
require parsers in front of most decoders, so for FLAC you'd need
flacparse and flacdec, and for mp3 you'd need mpegaudioparse. The
audioparsers ship as part of gst-plugins-good, most video parsers are in
gst-plugins-bad (h264parse etc.)

Cheers
 -Tim


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



More information about the gstreamer-devel mailing list