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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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? :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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? :)