我从网址获取了代码并尝试播放mpg格式的文件,如下所示:
代码网址:http://snippets.dzone.com/posts/show/2912
文件网址:http://www.fileformat.info/format/mpeg/sample/index.htm
我收到如下错误:
Unable to handle format: MPEG, 320x200, FrameRate=23.9, Length=96000
Failed to realize: com.sun.media.PlaybackEngine@75982fc1
Error: Unable to realize com.sun.media.PlaybackEngine@75982fc1
作为jmf的新手,请在这个问题上帮助我。
答案 0 :(得分:1)
之前我使用过该代码,该示例只能播放某种高分辨率的视频。尝试获取720p mpg文件(也许是电视连续剧dvd rip)并播放它。