Talk:QuickTime for Java: A Developer's Notebook/Capture

From WikiContent

Revision as of 14:00, 31 March 2009 by SethPowsner (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Just tried running << Example 6-2. Recording captured video to disk >>. Although it works as shown, it fails to create a usable movie file when I select a compression. Error occurs at the <<grabber.stop()>> call. If I just OK the default compression Y'CbCr 4:2:2 - uyvy it usually runs to completion. Below is the log (QTSession modified to show version numbers, package changed to edu.yale.med.ycmi.util.java). Any ideas? Thanks in advance, Seth Powsner

QT version: 7.6
QTJ version: 7.6
got grabber
Got SGVideoChannel
Stop grabbing
quicktime.std.StdQTException[QTJava:7.6.0g],-194=addResFailed,QT.vers:7608000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)
at quicktime.std.sg.SequenceGrabber.stop(SequenceGrabber.java:343)
at edu.yale.med.ycmi.util.java.VideoCaptureToDisk.actionPerformed(VideoCaptureToDisk.java:42)
at java.awt.Button.processActionEvent(Button.java:388)
at java.awt.Button.processEvent(Button.java:356)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Personal tools