Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6245070
Votes 116
Synopsis JMStudio doesn't playback any .avi file correctly, video always fail
Category jmf:player
Reported Against
Release Fixed
State 3-Accepted, bug
Priority: 3-Medium
Related Bugs
Submit Date 23-MAR-2005
Description
FULL PRODUCT VERSION :
java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

asadmin version
Version = Sun Java System Application Server Platform Edition 8.0.0_01
Command version executed successfully.


ADDITIONAL OS VERSION INFORMATION :
Windows XP home editino version 2002 service pack 1

EXTRA RELEVANT SYSTEM CONFIGURATION :
JMF 2.1.1e


A DESCRIPTION OF THE PROBLEM :
I tested the JMStudio executable from sun, as well as a version I compiled myself and they both have the same problem. All the .avi files play OK with windows media player. However, I couldn't play any of them from JMStudio. I haven't been able yet to playback any AVI file from JMStudio. In two cases I would hear the audio but no video was displayed. An error stated that the header had an extra 1024 bits. In one 3 other cases neither the audio nor the video would play, and an Error message stated that the media could not be parsed from the input file. I browsed through the other bug reports but couldn't find a work around for this one.

Natacha.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Try to open several avi files from JMStudio by clicking File>Open File

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected to see video in a player window and hear the sound of the video clip.
ACTUAL -
Occasionally hear the audio, but never the video. Always receive an error message for the video.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
First file gives me this error message (audio comes out OK)
Unable to handle format: RGB, 160x120, FrameRate=14.9, Length=19200, 8-bit, Masks=-1:-1:-1, LineStride=160, Flipped

Second file gives me this error message (audio comes out OK)
Unable to handle format: RLE8, 321x321, FrameRate=1.0, Length=206082 1024 extra bytes

the other 3 files give me the same error message (nothing plays)
Controller error: failed to realized: failed to parse media
Failed to configure:   xxxxx@xxxxx  
  Bad header in the media: strf: unsupported stream type iavs

Error: Unable to realize   xxxxx@xxxxx  
Failed to realize: failed to parse the input media.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
JMStudio sample code from the sun web site
---------- END SOURCE ----------
  xxxxx@xxxxx   2005-03-23 20: customer :48 GMT
Work Around
N/A
Evaluation
AVI is a "container" which may contain formats and encodings not supported by JMF,
though these should generate more appropriate errors. I am able to play AVI files
of the formats that are supported by JMF, so I'll need some examples of the files
that are causing these problems in order to reproduce this bug.
Posted Date : 2005-10-12 18:33:24.0
Comments
  
  Include a link with my name & email   

Submitted On 05-APR-2005
bpridemo
i have experienced similar problems.. 


Submitted On 05-APR-2005
dzuy
I'm experiencing this too.


Submitted On 05-APR-2005
rjpu
Same problem.


Submitted On 05-APR-2005
emmaueze
got a similar problem


Submitted On 05-APR-2005
hmanuel
i also have the same problem....


Submitted On 05-APR-2005
cfoushee
Please fix this problem


Submitted On 05-APR-2005
malte_kosian
i also have the same problem....
Please fix this problem


Submitted On 05-APR-2005
simon_carter
this doesnt just affect jmstudio. its affecting the whole of jmf!


Submitted On 05-APR-2005
Proemial
ditto


Submitted On 05-APR-2005
Hobbieman
Please fix this!


Submitted On 06-APR-2005
ksumit
Its the crying need for the java community to have JMF revived... please include JMF in jdk 1.5 and solve these bugs.

Is SUN listening??


Submitted On 06-APR-2005
hekelleriii
Simply stated, JMF under Java 1.5 does not play sound -- except with Windows performance pack.  Either the sound is highly truncated or not played at all.  Most of the time no 


Submitted On 06-APR-2005
hekelleriii
Include MOV as well as AVI files that don't work.  They will if you eliminate sound.  They won't even if sound only!


Submitted On 06-APR-2005
hekelleriii
Oddly, the Sun JMF server has videos that do work.  No caching control events until after start event -- not typical case.  What's special in their server?


Submitted On 06-APR-2005
hmanuel
Just fix it..... 

If you don


Submitted On 06-APR-2005
gnovos
I think Sun has unofficially dropped JMF people!  Now it'd be great if they admitted it so we could go ant create an open-source version, but until they do voting for bugs like this just pushes off more important bugs that will actually be fixed.


Submitted On 07-APR-2005
leandrosales
Yes, I'm facing the same problem and others too. I hope SUN back to support
this big and great project: JMF


Submitted On 18-APR-2005
Gorky
http://weblogs.java.net/blog/mason/archive/2005/04/jmf_wherefor_ar.html

Is JMF abandoned?

-Steve


Submitted On 19-APR-2005
darat55
I also see this problem and my customer needs JMF on 5.0 sometime in the future. They don't want to block migration to 5.0 by using JMF now on 1.4.2


Submitted On 28-MAY-2005
struman
If you want Java to start seriously competing with .NET in the Media area, your gonna have to get serious about updating the JMF frame work.


Submitted On 15-JUN-2005
DavidMGaskin
Could SUN please please state if they ARE CURRENTLY supporting JMF, and comment on JMF's future.



Submitted On 01-JUL-2005
wabbly
I also get the 'Failed to realize: failed to parse the input media.' error


Submitted On 31-JUL-2005
landkh
JMF compiled with  jdk1.5.0_05 Result: only video without audio is played (.mov, .avi) independent which audio codec is used.
Unexpectedly install/unstall jdk-1_5_0_05-windows-i586.exe - j2re-1_4_2_02-windows-i586-p.exe one doesn't work with the other - after many years ...

Please  find a workaround  


Submitted On 13-AUG-2005
w_h_harper
I'm ready to code version 3 of my image capture product (since 1994) and was hoping to use JMF instead of Microsoft .NET/DirectX.  Either re-write is painful from VB/VFW.

Can the JMF dawg still hunt?


Submitted On 21-AUG-2005
It took me two weeks to track down, but I've figured out the bug. The problem can be fixed in Java 1.5 or JMF itself, but it is easier to fix in the JMF code itself.

The problem is that Audio and Video on Windows has to be initialized and driven by the same thread. But JMF spawns off multiple threads to do this. So the audio and video calls will fail.

The solution is to write a single threaded version of the renderer you are using,  and use that renderer on the processor you create.

The renderer spawns off a thread that actually does all the initialization and pumping of data. The public functions sends message off to the thread and waits until the thread does the work.


Submitted On 03-OCT-2005
CurtisBradley
same problem


Submitted On 17-NOV-2005
medv4380
Well I had the problem but It seems to be fixed.  Not sure what caused it but to fix it I just installed the newest JRE 1.5.0_05 reinstalled JMF and presto problem solved.  It may have been related to another bug in 1.5 that caused the audio to go wierd 5053380 and 5067526 .  So if you're still having the issue try an uninstall reinstall of jre and jmf 


Submitted On 17-JAN-2006
I have the same problem, please fix it


Submitted On 28-MAR-2006
jalzabrewer
Tested wth mf 2.2.1e player ? using a movie downloaded from Kodak easy share camera on Windows XP sp2 java 1.5.0.6 jre AMD XP 2000mhz

mf 2.2.1e player ? using a movie downloaded from Kodak easy share camera I can email you the movie file that was downlaoded off my DX7630 Camera?
John Brewer o585-399-6690 c585-233-7517 h585-426-5955 Please add me to this bug id!


Submitted On 19-MAY-2006
sivashanmugam
Use fobs4jmf.  It is a JMF binding for FFMpeg which support a varity of AVI formats.  Check http://fobs.sourceforge.net/


Submitted On 06-AUG-2006
pravinth
I also experienced the same problem!


Submitted On 19-APR-2007
Kirti_Mistry
Yes, found the same problems


Submitted On 30-APR-2007
caoyuwu
same problem!!!!!!


Submitted On 06-NOV-2007
benjholla
I am having the same problem, I agree this needs to be fixed.



PLEASE NOTE: JDK6 is formerly known as Project Mustang