On Mon, Nov 18, 2002 at 03:02:17PM +0100, Kevin Koeser wrote:
> Thank you for spending your time on my newbie questions !
>
> I am sorry that I cant support your work for now, since I am not yet
> that familiar with solaris or video file formats.
> My main interest is getting single frames in and out of an avi file, and
> this should be somewhat platform independant, thus I tried to use
> avifile as a library for reading/writing avi files (and their frames
> respectively), which worked quite well under linux. :-)
Well I remmeber one thing - I've tried about Sun long time ago -
this system was quite old - and it has some serious problems with
C++ usage - it was not calling constructors for default objects.
I've tried later to removed them and replace them with some
basic types and delayed initilization - most probably I've not
replaced them all (and I'm not even sure if it actually possible
because this would most probably brake compatibility of the API
(which is now >2 years old and still the same ;) - sure there
are some enhancements but it should be still compliable even with
older code)
>
> Under Solaris I always get some kind of "no codec" exception.
Hmm if you could give me an access to decently fast and fresh Solaris
system I may try to play with this a bit once again - otherwice
I affraid I couldn't help you much here...
> I think, my problem is to choose the correct FCC and how to tell avifile
> that there IS an ffmpeg or mjpg codec somewhere in the system. This is
ffmpeg is a part of avifile (though it's compilation for Solaris
isn't tested at all in avifile build process)
> NO SOLARIS SPECIFIC problem, I guess, it is more my lack of knowledge
> how the self-built codecs fit in / register their fccs with avifile.
There could be a problem that codecs do not get initializaed because
of some problems with dllopening them - hard to say...
> But for the very beginning I could use uncompressed video. But then,
> this fails, too.
Hmm looks like some constructor has been still left somewhere
and I would have to check which one...
(try to past startup message)
> What is the fcc for uncompressed video (RGB-24) to pass to
you want to use uncompressed video - which is 0 (15 or 24) bit
and the bit specification is given via BITMAPINFOHEADER
(there are methods to set BitmapInfo to 15bit or 24bit surface)
You might as well use YV12 I420 UYVY - as fcc and BitmapInfo)
--
.''`. Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `' Overclocker's house :)
`- http://www.bbspot.com/News/2002/08/house.html
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile