OK, I've pulled the MPEG player from Sophie. It looks worlds better.
http://smalltalktelevision.com/player2.jpg
It's also at http://www.squeaksource.com/MultiMedia.html
It opens with:
MPEGMoviePlayerMorph new openInWorld
Chris
On 28.08.2010, at 02:21, Chris Cunnington wrote:
OK, I've pulled the MPEG player from Sophie. It looks worlds better.
http://smalltalktelevision.com/player2.jpg
It's also at http://www.squeaksource.com/MultiMedia.html
It opens with:
MPEGMoviePlayerMorph new openInWorld
Chris
Awesome! :)
IIRC it was rather hard to recode video to an mpeg format this would accept.
And a solution that would not require recoding would be preferable.
On Linux we have John's GStreamer plugin, and he once compiled it on OS X too. Not sure how hard it would be to port to Windows.
The Best Way would be a generic VideoPlugin that would have different implementations for each platform (e.g. QuickTime on Mac, GStreamer on Linux, DirectShow on Windows). That would be quite some development effort, however.
- Bert -
Ok, it's fairly impossible to rely on GStreamer on os-x. The problem is that you need to use MacPorts or something as root to install giga-bytes of software related to GStreamer. That's just not likely, too much magic for MacIntosh users.
Sophie btw did deal with multiple layers of codec support and would ask the plugins if they supported OGG or MPEG and work their way down to a solution. It used a weighted decision tree for that, so for example if the Ogg audio was supported by a codec in Quicktime that the user had installed it would take the quicktime logic path, versus the Ogg plugin path..
So if you had an mpeg video it would play nicely on your mac with quicktime, or on windows if quicktime was installed, or fall back to the mpeg player code if supported on linux.
On 2010-08-28, at 3:32 AM, Bert Freudenberg wrote:
On 28.08.2010, at 02:21, Chris Cunnington wrote:
OK, I've pulled the MPEG player from Sophie. It looks worlds better.
http://smalltalktelevision.com/player2.jpg
It's also at http://www.squeaksource.com/MultiMedia.html
It opens with:
MPEGMoviePlayerMorph new openInWorld
Chris
Awesome! :)
IIRC it was rather hard to recode video to an mpeg format this would accept.
And a solution that would not require recoding would be preferable.
On Linux we have John's GStreamer plugin, and he once compiled it on OS X too. Not sure how hard it would be to port to Windows.
The Best Way would be a generic VideoPlugin that would have different implementations for each platform (e.g. QuickTime on Mac, GStreamer on Linux, DirectShow on Windows). That would be quite some development effort, however.
- Bert -
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
On Fri, 27 Aug 2010, Chris Cunnington wrote:
OK, I've pulled the MPEG player from Sophie. It looks worlds better.
http://smalltalktelevision.com/player2.jpg
It's also at http://www.squeaksource.com/MultiMedia.html
It opens with:
MPEGMoviePlayerMorph new openInWorld
Hm. That's Squeak's player which was removed during 3.9/3.10 along with some other cool stuff related to audio/video, because the classes were not referenced... A tool doesn't have to be referenced by code IMHO). If you get a 3.8 full image, it will have that.
Levente
Chris
Chris Cunnington-3 wrote:
OK, I've pulled the MPEG player from Sophie. It looks worlds better.
Thanks - this is *so cool!* Multimedia is important. My secret wish is for a PdfMorph.
Sean
Chris Cunnington-3 wrote:
OK, I've pulled the MPEG player from Sophie. It looks worlds better.
Chris, have you been using this successfully? I imported a flash (.flv - H.264, 320 x 216, Millions; AAC, Stereo, 22.050 kHz) file into OpenSophie, but when I played it, the sound played for just a moment and the video only updated when I clicked pause or play.
Thanks. Sean
squeak-dev@lists.squeakfoundation.org