I have taken the code from the url and tried to play a file of mpg format as shown below:
Code URL: http://snippets.dzone.com/pos开发者_运维知识库ts/show/2912
File URL: http://www.fileformat.info/format/mpeg/sample/index.htm
I am getting an error as follows:
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
As iam new to jmf, kindly help me in this issue.
I've used that code before and that sample can play only some kind of videos with high resolution. Try getting a 720p mpg file(perhaps a tv series dvd rip) and playing it.
精彩评论