[英]Using JMF on Mac OSX
I'm trying to use JMF (Java Media Framework) to play a video. 我正在尝试使用JMF(Java Media Framework)播放视频。 I've tried sample code from four different websites now.
我现在尝试了来自四个不同网站的示例代码。 I'm using a Mac running Lion.
我正在使用运行Lion的Mac。
Everytime I load an mpg file I have, I get: 每次加载mpg文件时,都会得到:
Unable to handle format: MPEG, 352x240, FrameRate=29.9, Length=126720
What does this mean? 这是什么意思? Are there problems with JMF?
JMF有问题吗? I'm using the cross platform version.
我正在使用跨平台版本。
You can try Jffmpeg , which provides MPEG codecs (among many other formats ) for JMF. 您可以尝试Jffmpeg ,它为JMF提供MPEG编解码器(在许多其他格式中 )。 However, bear in mind that the last release is 2006.
但是,请记住, 最新版本是2006。
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.
但是没有针对MAC的性能包,可能永远不会。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.