changes to mpeg plugin to support in memory buffer, versus file

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

changes to mpeg plugin to support in memory buffer, versus file

johnmci
I altered the mpeg plugin code and built a new plugin for the mac.

This change enables the plugin to read the mpeg file from a memory  
buffer versus from a file, thusenabling the usage of small in memory  
mpeg audio or video files
which could be contained within your image.

See http://www.smalltalkconsulting.com/squeak.html and pick the .mac  
server or the ftp server and look in the experimental directory for  
the plugin

mpeg3Plugin.1.4.0b2.bundle.zip

It's likely you'll need to visit my .mac idisk and pickup the
JMMMpegBuffer.1.cs
in experimental/mpeg3pluginChangesetsForInMemoryBuffer directory
to enable access to the primitive call.

Also see

JMMMpegBufferTest.1.cs
which alters the mpeg morphic player as a test to enable the use of  
the in memory buffer, but should not
be considered as the final changes for this feature in the morphic  
player.

If you need to build a windows or unix plugin, note the  
JMMMpegPluginBuffer.1.cs
All three change sets are in the mac os plugin tree on SVN, along  
with the changes to the libmpeg source in the cross platform tree.

--
========================================================================
===
John M. McIntosh <[hidden email]> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===