0

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.

CodeGuy
  • 28,427
  • 76
  • 200
  • 317

2 Answers2

0

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.

Matthew Flaschen
  • 278,309
  • 50
  • 514
  • 539
0

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.

bobby
  • 2,629
  • 5
  • 30
  • 56