In message Pine.LNX.4.10.10004281022360.17708-100000@balloon.cs.uni-magdeburg.de Bert Freudenberg bert@isgnw.CS.Uni-Magdeburg.De wrote:
On Thu, 27 Apr 2000, Duane Maxwell wrote:
Well, there's actually UNIX C source for an MPEG1 and MPEG2 video codec at:
http://www.mpeg.org/MPEG/MSSG/#source
It's really just a matter of some masochist reimplementing it in Slang - something I'm not currently brave enough to do.
You don't have to recode plugins in Slang! Look, for example, at sqGSMCodecPlugin.c which just includes the original GSM C-code. The same would be true for all other libraries you want to access from Squeak.
Quite - just look at theplugins for sockets/serial/etc. All the interface is in Slang, the rest in plain old ugly C (or I guess anything that can be linked to make a library. Cobol anyone?)
That said, I don't believe software decoding of MPEG is a good idea anyway ...
Me neither, though sometimes it's the only choice. Like I said, we made it work, just, at Interval. The hard part was integrating it into the rest of the system, since the sample code expects to be completely in charge, not sharing with another environment.
squeak-dev@lists.squeakfoundation.org