get sound bitrate before playing stream

Stefan Kost ensonic at hora-obscura.de
Sun Jun 12 14:05:34 PDT 2011


On 06/11/2011 09:43 AM, laguillaumie sylvain wrote:
> hi
>
> is it possible to get the bitrate of an mp3 or another sound file
> before playing it ?
you can use GstDiscoverer. You can also play it and use a fakesink on
playbin2.

Stefan

>
> thanks !
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list