The problem: QT4J 6 on both Windows and Macs will
not play files from http URLs. This is a real problem for
our work.
---------------------------
I submitted the URL problem to Apple Bug Reporter in
August. I was told
told that it's "a known issue that is currently being
investigated by
engineering." I would have thought more people are
trying to access web
content, but judging by the amount of discussion this
issue has
received, it must be a fairly unusual way to use QT4J.
From what I can
tell, QT4J is attempting to download the entire file into
memory before
it begins playing. Interestingly enough, if the file is being
streamed
by a streaming server, QT4J handles the URL correctly.
Ed,
Here's what I got back from apple. I haven't followed up on it
lately. I
think you're right about earlier versions. QT5 didn't have the
problem.
It's good to know someone else thinks something goofy is
going on
here... Larry
-Please include the line below in follow-up emails for this
request.
-Follow-up: 2177386
-Re: Bug ID#3024393: QTJava6 and HTTP
-Hello Larry,
-Thank you for bringing this issue to our attention. This is a
known
issue that is currently being investigated by engineering.
This issue
has been filed in our bug database under ID # 3027870.
-In the future if you would like to check on the status of your
reported
issue, please send an email to devbugs@apple.com referring
to the Bug ID
Number provided above.
-Best regards,
-Cecilia White
-Apple Developer Connection
-Worldwide Developer Relations
-----Original Message-----
From: Edward Garrett [mailto:eg3p@virginia.edu]
Sent: Friday, October 25, 2002 10:10 AM
To: Quicktime Java Mailing List
Subject: Problems playing from URL
I've got a JWS application
(http://iris.lib.virginia.edu/tibet/tools/quilldriver/) that uses
either
Quicktime or JMF, and although I've got the Quicktime
version to work
with local media files, it will not open http URLs.
I get the same exception (see below) whether I run it on
Windows (JDK
1.4, QT 6) or Mac OS X (10.2, QT 6). I vaguely recall
some discussion of
this issue a while back: is there a bug with QT4J 6 such
that it won't
play URLs? If so, I sure hope it will be prioritized by the
QT
development team.
Ps. I wrote a couple of days about some other non-fatal
exceptions I was
having on the Mac, thanks to those who responded, that
turned out to be
a non-issue. This one seems pretty serious, though.
reading tibwn.ini
quicktime.io.QTIOException[QTJava:6.0.0g2],-
50=paramErr,QT.vers:6008000
at quicktime.io.QTIOException.checkError
(QTIOException.java:44)
at quicktime.io.QTFile.makeFSSpec(QTFile.java:540)
at quicktime.io.QTFile.path2Spec(QTFile.java:503)
at quicktime.io.QTFile.getFSSpec(QTFile.java:280)
at quicktime.io.AliasHandle.fromQTFile
(AliasHandle.java:41)
at quicktime.io.QTFile.newAlias(QTFile.java:429)
at quicktime.std.movies.media.DataRef.<init>
(DataRef.java:137)
at
org.thdl.quilldriver.SmartQT4JPlayer.setMovie
(SmartQT4JPlayer.java:56)
at
org.thdl.quilldriver.SmartQT4JPlayer.loadMovie
(SmartQT4JPlayer.java:101)
at org.thdl.quilldriver.QD$Project.setMedia(QD.java:680)
at org.thdl.quilldriver.QD.newProject(QD.java:968)
at
org.thdl.quilldriver.QDShell$4.theRealActionPerformed
(QDShell.java:145)
at
org.thdl.util.ThdlActionListener.actionPerformed
(ThdlActionListener.java
:134
)
at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.action
Performed(AbstractB
utto
n.java:1817)
at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.ja
va:4
19)
at
javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1109
)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHan
dler.mouseReleased(B
asic
MenuItemUI.java:943)
at java.awt.Component.processMouseEvent
(Component.java:5093)
at java.awt.Component.processEvent
(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl
(Component.java:3598)
at java.awt.Container.dispatchEventImpl
(Container.java:1623)
at java.awt.Component.dispatchEvent
(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3095)
at java.awt.Container.dispatchEventImpl
(Container.java:1609)
at java.awt.Window.dispatchEventImpl
(Window.java:1585)
at java.awt.Component.dispatchEvent
(Component.java:3439)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarc
hy(EventDispatchThrea
d.ja
va:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.
java
:150)
at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
http://hitchcock.itc.virginia.edu/TibetMedia/movies/Drea
m.mpg
THDL_ERR 106: This application failed due to the
following exception:
java.lang.NullPointerException at
quicktime.std.movies.MovieController.allocate
(MovieController.java:132)
at quicktime.std.movies.MovieController.<init>
(MovieController.java:61)
at quicktime.std.movies.MovieController.<init>
(MovieController.java:49)
at
org.thdl.quilldriver.SmartQT4JPlayer.loadMovie
(SmartQT4JPlayer.java:105)
at org.thdl.quilldriver.QD$Project.setMedia(QD.java:680)
at org.thdl.quilldriver.QD.newProject(QD.java:968)
at
org.thdl.quilldriver.QDShell$4.theRealActionPerformed
(QDShell.java:145)
at
org.thdl.util.ThdlActionListener.actionPerformed
(ThdlActionListener.java
:134
)
at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.action
Performed(AbstractB
utto
n.java:1817)
at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.ja
va:4
19)
at
javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1109
)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHan
dler.mouseReleased(B
asic
MenuItemUI.java:943)
at java.awt.Component.processMouseEvent
(Component.java:5093)
at java.awt.Component.processEvent
(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl
(Component.java:3598)
at java.awt.Container.dispatchEventImpl
(Container.java:1623)
at java.awt.Component.dispatchEvent
(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3095)
at java.awt.Container.dispatchEventImpl
(Container.java:1609)
at java.awt.Window.dispatchEventImpl
(Window.java:1585)
at java.awt.Component.dispatchEvent
(Component.java:3439)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarc
hy(EventDispatchThrea
d.ja
va:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.
java
:150)
at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
______________________________________________
_
quicktime-java mailing list | quicktime-
java@lists.apple.com
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/quicktime-
java
Do not post admin requests to the list. They will be
ignored.