File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mediaplayer framework and avi files

 
Sandra Stone
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic