get sound bitrate before playing stream

classic Classic list List threaded Threaded
2 messages Options
smo
Reply | Threaded
Open this post in threaded view
|

get sound bitrate before playing stream

smo
hi

is it possible to get the bitrate of an mp3 or another sound file before
playing it ?

thanks !


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: get sound bitrate before playing stream

Stefan Sauer
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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel