[vorbis-dev] [Fwd: Unified codec interface]

Csillag Kristóf fenwick at freemail.hu
Thu Jan 30 15:23:14 PST 2003



Oops...I missed the address

-----Forwarded mail-----

From: Csillag Kristóf <fenwick at freemail.hu>
To: vorvis-dev at xiph.org, speex-dev at xiph.org, flac-dev at lists.sourceforge.net
Subject: Unified codec interface
Date: 31 Jan 2003 00:21:35 +0100

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

pecify_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!

<p><p><p>
-- 
Csillag Kristóf <fenwick at freemail.hu>
-- 
Csillag Kristóf <fenwick at freemail.hu>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list