[gst-devel] why i cannot get the audio output from MKV?

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jun 3 11:56:35 CEST 2010


On Thu, 2010-06-03 at 17:41 +0800, michael young wrote:

>    I write a simple video player, but when I play the MKV file, I
> cannot get the audio output, and Gstreamer give this Message:
> 
> ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)138856e5a0, channels=(int)1,
> rate=(int)44100
> ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)1290, channels=(int)2,
> rate=(int)32000

This means you are missing an AAC decoder (e.g. faad). You probably also
got a missing-plugin message on the pipeline bus.


>     bin = gst_element_factory_make ("playbin", "bin");

You should use playbin2 for new projects/code.

Cheers
 -Tim






More information about the gstreamer-devel mailing list