MPEG movies and yore (was Vm crashes when loading MPEG file)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MPEG movies and yore (was Vm crashes when loading MPEG file)

Chris Cunnington

Dear Possessors of Squeak Memory, 

I was playing with the Scratch source code. It's a 2.8 image. I saw it had a MoviePlayerMorph. Taking the CASTLE.mpg from the Croquet SDK, I made it play in that player in Squeak. Very cool. I don't see any movie player morph in 3.11. 

This topic may be relevant as I think I read Andreas saying he didn't want Squeak just to be another Smalltalk but to be more about multimedia, more in keeping with Guzdial's book. (You know, if anybody could tell me how to pronounce that name I'd appreciate it. I think "goooooz - die - all" has got to be wrong.)

A fellow just asked about MPEGs and plugins. I just checked both images (SmalltalkImage current listLoadedModules versus Smalltalk listLoadedModules) and I don't see any obvious plugin difference. 

SmalltalkImage current listLoadedModules #('SocketPlugin 8 June 2007 (i)' 'InternetConfigPlugin 8 June 2007 (i)' 'Matrix2x3Plugin 8 June 2007 (i)' 'FloatArrayPlugin 8 June 2007 (i)' 'BitBltPlugin 8 June 2007 (i)' 'B2DPlugin 8 June 2007 (i)' 'LargeIntegers v1.5 8 June 2007 (i)' 'SecurityPlugin 8 June 2007 (i)' 'FilePlugin 8 June 2007 (i)' 'DropPlugin 8 June 2007 (i)' 'MiscPrimitivePlugin 8 June 2007 (i)')

Smalltalk listLoadedModules ('WeDoPlugin' 'ScratchPlugin' 'BitBltPlugin 11 December 2006 (i)' 'LargeIntegers v1.5 11 December 2006 (i)' 'UnicodePlugin' 'FilePlugin 11 December 2006 (i)' 'DropPlugin 11 December 2006 (i)' 'MiscPrimitivePlugin 11 December 2006 (i)')

Does the 3.11 image have the capability to play MPEG videos and it only lacks an interface? 
Or, has that capability been removed, so that 2.8 can do something 3.11 cannot? 
And, finally, where is the locus for the capability for doing so: is it in a plugin, or is it classes such as JPEGMovieFile, MPEGFile, MovieDisplayMorph, and MoviePlayerMorph?

(We could talk about how the Croquet image comes with a Flash player, and a Flash movie, and can open and play it using the FileList, but I think this is probably enough for now.) 

Chris