Question

I'm trying to use JMF (Java Media Framework) to play a video. I've tried sample code from four different websites now. I'm using a Mac running Lion.

Everytime I load an mpg file I have, I get:

Unable to handle format: MPEG, 352x240, FrameRate=29.9, Length=126720

What does this mean? Are there problems with JMF? I'm using the cross platform version.

Was it helpful?

Solution

The cross-platform version will probably not support too many formats. There are performance packs which might help. But there isn't a performance pack for MAC and probably never will be.

OTHER TIPS

You can try Jffmpeg, which provides MPEG codecs (among many other formats) for JMF. However, bear in mind that the last release is 2006.

Another alternative if FMJ.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top