Re: 3ivx decoder and Haiku

Marcus Overhagen <[email protected]> Tue, 17 Aug 2004 12:50:21 +0200 (CEST)
Newsgroups gmane.os.openbeos.mediakit
Message-ID <32295323.1092739821546.JavaMail.ngmail@webmail05.arcor-online.net>
Axel D=F6rfler  <[email protected]> wrote:

> "David McPaul" <dmcpaul-bzGI/[email protected]> wrote:
> > The main problem I had was that the new codec code seems to be=20
> > expecting the avi fourcc to be swapped using B_SWAP_INT32 and this is=
=20
> > different to the R5 media kit.
>=20
> If that's the case, the AVI extractor is likely to be the culprit.
As far as I know, FOURCCs are defined to be stored in big endian.
Thus, the fourcc "1234" must be stored as [1][2][3][4].
However, it might have been a mistake to keep them inside the
API as big endian.

> > Seeking seems to not work correctly but I think that is currently an=20
> > issue with the extractor not yet implementing seeking yet.
Yes, the AVI reader doesn't do any seeking.
I'll implement that when my Media Player replacement requires it.
However, I just resumed work on the media kit, so it may take
two or three weeks.

> > Since the 3ivx decoder handles many different MPEG-4 content it  clas=
hes=20
> > with the avcodec and the codec's it registers for.  Are we looking at=
=20
> > adding functionality to let the user choose the decoder using some so=
rt=20
> > of priority or niceness factor?
Priority or niceness isn't a good idea.

> IIRC that's the plan, although I don't exactly remember how it was=20
> planned - we've changed plans at least once there :)
We planed to allow the user to configure which codec is chosen for
a particular format (from a list of codecs that support the format),
but nobody implemented it.

> But some sort of priority expressed by the codec would be great anyway.
I don't think this is a good idea.

Marcus


Arcor-DSL: jetzt ohne Einrichtungspreis einsteigen oder wechseln
Sie sparen 99,95 Euro. Arcor-DSL ist in vielen Anschlussgebieten
verf=FCgbar. http://www.arcor.de/home/redir.php/emf-dsl-1