Le jeu 30/01/2003 à 19:23, Drew Hess a écrit :> That's what UCI is trying to do. I'm hoping for just a simple unified Ogg > interface for the audio codecs that Ogg supports.I think that's also the purpose of OggFile that Monty's working on, right Monty? Jean-Marc -- Jean-Marc Valin, M.Sc.A. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada <p> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 242 bytes Desc: signature.asc Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030130/385261fd/signature-0001.pgp
Here is what I imagined (just vague thoughts, nothing polished): Let's suppose we have a hypotetical library called "Free Universal Codec Kit" - ..um...well.. Frunick for short :) (Of course I am not proposing this name, I'm sure the suits in the industry would not like it...but for my example its OK ;) Now, an application should do something like this: #include <frunick.h> void *my_encoder = create_frunick_encoder(); // a new encoding context char **codecs = get_available_frunick_codecs(); // returns list of available codecs load_frunick_codec(my_encoder, "vorbis"); //dynamically loads the selected codec, returns error if not available char **parameters == get_frunick_codecs_parameters(); //get a list of the tuneable params of the selected codec specify_frunick_parameter(my_encoder, "quality", "7"); //set a parameter of the codec ....and so on. I have not yet looked into nor gstreamer nor uci ( http://uci.sourceforge.net/ ), so I don't know whether this thing already exists ... but I hope once it will! -- Csillag Krist?f <fenwick@freemail.hu>
That's what UCI is trying to do. I'm hoping for just a simple unified Ogg interface for the audio codecs that Ogg supports. -dwh- On 31 Jan 2003, Csillag Krist?f wrote:> Here is what I imagined (just vague thoughts, nothing polished): > > Let's suppose we have a hypotetical library called > "Free Universal Codec Kit" - ..um...well.. Frunick for short :) > > (Of course I am not proposing this name, I'm sure the suits in the > industry would not like it...but for my example its OK ;) > > Now, an application should do something like this: > > #include <frunick.h> > > void *my_encoder = create_frunick_encoder(); > // a new encoding context > > char **codecs = get_available_frunick_codecs(); > // returns list of available codecs > > load_frunick_codec(my_encoder, "vorbis"); > //dynamically loads the selected codec, returns error if not available > > char **parameters == get_frunick_codecs_parameters(); > //get a list of the tuneable params of the selected codec > > specify_frunick_parameter(my_encoder, "quality", "7"); > //set a parameter of the codec > > ....and so on. > > I have not yet looked into nor gstreamer nor uci > ( http://uci.sourceforge.net/ ), so I don't know whether this thing > already exists ... but I hope once it will! > > > > > -- > Csillag Krist?f <fenwick@freemail.hu> > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev >