Encoder-decoder interface question.
Kondoros Attila <[email protected]> Thu, 17 Oct 2002 04:10:48 -0700 (PDT)
| Newsgroups | gmane.comp.multimedia.ogg.tarkin.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I thought I ask this here because it's not clear to me what is in the best interest for tarkin right now/in the future. My concern is that right now tarkin encoder/decoder is very strongly coupled with the ogg file format (IMHO too strongly coupled). I know that the Ogg will be Tarkin's first container but I think that we should not limit the Tarkin stream only to Ogg. An interface layer between the encoder/decoder and the file itself would be very needed for many reasons: 1. To have an easy way to test the encoding/decoding cycle if I try something new (easy in memory "unit testing" and not the pnm->encoder->ogg->decoder->pnm->psnr cycle). 2. Could help others that want to put the stream in some other file format. There is no clear way right now for this... 3. Easier understanding of the code for the starters. I know I had wandered somethimes and get confused is this is ogg or tarkin's functionality at what I was looking at. 4. If something new comes in the tarkin stream format then it is no clean way to put those fields in ogg right now. And a lot of fields are "hard-wired" to some specific ogg containers. 5. It's tough to debug that "encoder/ogg coupling" too. This was not meant to be a critique to anyone's code just wanted to know how to proceed next. I isolated the code that does the encoding/decoding and have put a small interface around it. It does require some cleanup and I had not conected yet to ogg but this will come soon. Am I wasting my time or is there an interest in this interface-around-tarkin thing? I know that that there is some effort in the "UCI Project" but that wants to be much more than a simple encoder/decoder interface... Should I try to use "UCI Projects"'s encoder/decoder interface? (I haven't checked on it yet to see what it takes...). My interface is very thin and because of that I know that some things are missing from it, and I should not invent another interface if there is one we should standardize on (UCI or something else anyone?). I'll gladly accept any critique, comment or idea you might have on this! If I'm missing something please let me know. Thanks. Best Regards, Kondoros Attila __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com --- >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 '[email protected]' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.