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 <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Flac-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flac-dev

Reply via email to