The Artima Developer Community
Sponsored Link

Java Answers Forum
quicktime for java issue : couldntGetRequiredComponent

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
renoulin

Posts: 1
Nickname: crenouli
Registered: Feb, 2004

quicktime for java issue : couldntGetRequiredComponent Posted: Feb 25, 2004 1:44 AM
Reply to this message Reply
Advertisement
I have to make a free software for children. It includes a webcam. I wanted to use « Quicktime for Java » but I have an error ‘couldntGetRequiredComponent’.


The only reason I found was :
“you have as a possible solution in case you really have recording hardware, that the QuickTime installation is without Authoring Support.”.


My source code is :

QTSession.open();
myQTCanvas = new QTCanvas(QTCanvas.kPerformanceResize, 0.5F, 0.5F);
myQTCanvas.setMaximumSize(new Dimension(640, 480));
add("Center", myQTCanvas);
addNotify();
Insets insets = getInsets();
setBounds(0, 0, (insets.left + insets.right + kWidth),
(insets.top + insets.bottom + kHeight));
myGrabber = new SequenceGrabber();
SGVideoChannel myVideo =new SGVideoChannel(myGrabber);
myVideo.settingsDialog();
myVideo.setBounds(new QDRect(kWidth, kHeight));
myVideo.setUsage(seqGrabPreview | seqGrabRecord | seqGrabPlayDuringRecord);
mySGDrawer = new SGDrawer(myVideo);
myQTCanvas.setClient(mySGDrawer, true);
myGrabber.prepare(true,false);
myGrabber.startPreview();

Do you have a better code or do you know how to correct this error.


Thanks for reply.

Topic: re: class to JSP Previous Topic   Next Topic Topic: How To Continue With The Code for Sales Program(Part 2)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use