Menu

Unable to load uncompressed AVI

user
2008-02-18
2013-05-09
  • Nobody/Anonymous

    Hi,
    I'm quite new at JMF and FOBS, so maybe this is a stupid question...
    I want to play XviD compressed data, but I also want to be able to play uncompressed files. Unfortunately I get an error message when I load an uncompessed AVI file.

    Output, when opening a uncompressed AVI file:

    Closing Thread[AWT-EventQueue-0,6,main]
    deleting wrapper
    OpenError: Video end reached
    Fobs Java2DRenderer: setInputFormat
    Fobs Java2DRenderer: setInputFormat
    java.lang.ClassCastException: [B cannot be cast to [I
        at com.omnividea.media.renderer.video.Java2DRenderer.bufferToImage(Java2DRenderer.java:131)
        at com.omnividea.media.renderer.video.Java2DRenderer.process(Java2DRenderer.java:105)
        at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:727)
        at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
        at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
        at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
        at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    seek: java.io.IOException: Das Handle ist ungültig
    FobsVideoTrack: mapFrameToTime

    How can I solve this problem?
    Cheers,
    Mirko

     
    • dekoffie

      dekoffie - 2008-05-02

      I am having the exact same problem when playing an uncompressed avi file!
      All other types that I have tried to play, seemed to work flawlessly until now, except for this avi.

      Also, I could not manually register the classes through JMFStudio (/JMFRegistry), I always got a "could not add item" error and no warning/error messages whatsoever in the console, so I am using the jmf.properties file that came with the binary build. (classpath etc all checked and should be ok) As a result, I can't use another renderer because I can not move it up (and commit) in JMFRegistry..
      Perhaps this could have something to do with it?
      The same avi is played without a problem when using JMF without Jobs4Jmf.

      Anyone who found out what was wrong? :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.