[Mono-list] decoding ogg vorbis

Michael Dominic K. mdk at mdk.am
Mon Jan 21 02:18:26 EST 2008


On Jan 19, 2008 6:44 PM, Martin Dederer <martindederer at gmx.de> wrote:
> hi guys,
>
> i am looking for a way to decode vorbis streams. originally i was hoping
> to find a binding for libvorbisdec but i seem to be out of luck. what
> about gstreamer-sharp? is it anywhere near useable? are there any other
> possibilities?

Gst-sharp [1] is not ready for the prime time and lacking active contributors.

It all depends what you want to do, but one tested solution is to
create a small glue/wrapper C library with high-level GStreamer
functions and call it from C#. I mean something like:

void decode_vorbis (char *in_file, char *out_file);

...and inside this function hide all the GStreamer bits needed to
decode the file. However, with this approach you need to take care
about portability issues yourself.

[1]: http://anonsvn.mono-project.com/viewcvs/branches/abock/gstreamer-sharp/


-- 
Michael.


More information about the Mono-list mailing list