aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Mediaplayer framework and avi files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Mediaplayer framework and avi files" Watch "Mediaplayer framework and avi files" New topic
Author

Mediaplayer framework and avi files

Sandra Stone
Greenhorn

Joined: Jun 30, 2004
Posts: 6
I've got a large number of avi videos that i want to display using the java media framework. In the documentation i find that the framework supports avi files. However, it seems like it can't handle the type of avi-files that I've got, because when i try running my program, i error messages like this:
Unable to handle format: CRAM, 452x452, FrameRate=4.0, Length= 0 1024 extra bytes

If the java mediaplayer can't handle my avi format, i can't use it. Does anyone know why this avi format isn't supported (what is cram?), and what can i do ? (I would rather not convert the avi's to another format). Will this format be supported in the future, does anyone know?
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

I have run into similar problems. Some of my .avi files play while others don't. I believe it has to do with .avi files that use compression - JMF out of the box does not support playback of any movies that are compressed.

Would love to hear if you can get it to work.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mediaplayer framework and avi files