Playing Movie Files?

Tim Rowledge tim at sumeru.stanford.edu
Fri Apr 28 16:41:57 UTC 2000


In message <Pine.LNX.4.10.10004281022360.17708-100000 at balloon.cs.uni-magdeburg.de>
          Bert Freudenberg <bert at 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.

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: XYZZY: Branch and Play Adventure





More information about the Squeak-dev mailing list