[gst-devel] mp3 decoder

Edward Hervey bilboed at gmail.com
Wed Nov 19 12:36:54 CET 2008


So...

  Let me get this right. You want to create your own plugin using
'libmad' and for that you're looking at the code from the mad plugins
which ... already uses 'libmad'.

  You realize you're trying to do the EXACT SAME THING as the mad
plugin ?

    Edward


On Wed, 2008-11-19 at 14:59 +0530, Gnanasekar wrote:
> Hi all,
> 
>           I am working on developing plug-in for mp3.From the help of 
> mad plugin i found some of the ideas.from this what i came to know is 
> filesrc is getting an every 4K of data and passing it to chain function 
> of mad plugin.Here in chain this 4K is processed in some manner and 
> pushed to ( gst_pad_push (filter->srcpad, buf) ) source pad.
> 
>           But the thing is that i dont want to use this mad .. i have to 
> use my own plugin for mp3 decoder ... for this i found a decoder called 
> libmad. which is having some decoding algorithm.
> But it is getting data as a single buffer of whole data.
> 
>           My query is that
>          1. how to pass whole data from filesrc to plugin decoder?
>          2. how to use libmad in my plugin ?
>          3. how to pass output of decoded data to alsasink or osssink ?
> 
> Thanks and regards,
> SK.Gnanasekar,
> 
>          
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list