Re: Recording video from a QCView to .mov

2009-01-11 Thread Matt Crocker
iate to the QT- API list, and also because it's quite long. On Jan 8, 2009, at 1:47 AM, Jonathan Selander wrote: I'm trying to record video form a webcam input to a .mov file. I've made a simple quartz composition and loaded it in a QCView. I tried using code from the QCTV example

Re: Recording video from a QCView to .mov

2009-01-09 Thread David Duncan
On Jan 9, 2009, at 12:45 AM, Jonathan Selander wrote: Does using QTKit mean that everything in my quartz composition will be recorded, or only the input from the camera? Just the camera (which was my impression of what you were recording previously!). If you want to record the entire pre

Re: QCView to fullscreen

2009-01-09 Thread Sean McBride
On 1/9/09 3:45 PM, Jonathan Selander said: >- (void)enterFullScreen:(id)sender >{ > // toggle fullscreen mode > if (self.isInFullScreenMode) > [self exitFullScreenModeWithOptions:nil]; > else > [self enterFullScreenMode:[NSScreen self] withOptions:nil]; >} You want [NS

QCView to fullscreen

2009-01-09 Thread Jonathan Selander
Hi, I've loaded a QC into a QCView and i want to make it go full screen. Googling told me to do something like: - (void) awakeFromNib { if (![self loadCompositionFromFile:[[NSBundle mainBundle] pathForResource:@"Introduction" ofType:@"qtz"]]) {

Re: Recording video from a QCView to .mov

2009-01-09 Thread Jonathan Selander
e made a simple quartz composition and loaded it in a QCView. I tried using code from the QCTV example bundled with XCode, but there are things I'm not really sure about there. For instance, do i need to use OpenGL for rendering frames to a file, or can i use something else, perhaps som

Re: Recording video from a QCView to .mov

2009-01-08 Thread David Duncan
On Jan 8, 2009, at 1:47 AM, Jonathan Selander wrote: I'm trying to record video form a webcam input to a .mov file. I've made a simple quartz composition and loaded it in a QCView. I tried using code from the QCTV example bundled with XCode, but there are things I'm not re

Recording video from a QCView to .mov

2009-01-08 Thread Jonathan Selander
Hi, I'm trying to record video form a webcam input to a .mov file. I've made a simple quartz composition and loaded it in a QCView. I tried using code from the QCTV example bundled with XCode, but there are things I'm not really sure about there. For instance, do i need to u

Re: QCView and NSGarbageCollector

2008-09-18 Thread Peter Schmidt
Am 17.09.2008 um 22:46 schrieb Bill Bumgarner: Every example included with the developer tools should work under GC. If it does not, then it is a bug and, please, do file it. Ok, I've filed a bug. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: QCView and NSGarbageCollector

2008-09-17 Thread Bill Bumgarner
On Sep 17, 2008, at 11:50 AM, Peter Schmidt wrote: Am 17.09.2008 um 20:36 schrieb Nick Zitzmann: Have you filed a bug report at ? No, not yet at the moment. I want to wait for a few responses from the list, if I overlooked something in the documentation, or so ...

Re: QCView and NSGarbageCollector

2008-09-17 Thread Peter Schmidt
Am 17.09.2008 um 20:36 schrieb Nick Zitzmann: Have you filed a bug report at ? No, not yet at the moment. I want to wait for a few responses from the list, if I overlooked something in the documentation, or so ... regards, Peter ___

Re: QCView and NSGarbageCollector

2008-09-17 Thread Nick Zitzmann
On Sep 17, 2008, at 11:16 AM, Peter Schmidt wrote: I've found a problem with QCView in my Coca-App with GC enabled. The animation (created with the Quartz Composer) will play very laggy. When I disable the GC it will run fine and smooth. This seems not to be an error in my App.

QCView and NSGarbageCollector

2008-09-17 Thread Peter Schmidt
Hello List, I've found a problem with QCView in my Coca-App with GC enabled. The animation (created with the Quartz Composer) will play very laggy. When I disable the GC it will run fine and smooth. This seems not to be an error in my App. I can reproduce the same with the sample

Re: QCView loadCompositionFromFile

2008-06-02 Thread Marco Masser
I'm trying to load a composition into a QCView using the loadCompositionFromFile. I was obtaining the path from a NSOpenPanel but loadCompositionFromFile was returning NO. I tried passing in a hard coded path as a parameter, getting the same result NO.I'm sure the paths are

QCView loadCompositionFromFile

2008-06-02 Thread andrew
Hey, I'm trying to load a composition into a QCView using the loadCompositionFromFile. I was obtaining the path from a NSOpenPanel but loadCompositionFromFile was returning NO. I tried passing in a hard coded path as a parameter, getting the same result NO.I'm sure the paths are

Re: QCView openGLContext

2008-03-14 Thread Lorenzo
orenzo email: [EMAIL PROTECTED] > From: David Duncan <[EMAIL PROTECTED]> > Date: Fri, 14 Mar 2008 13:39:42 -0700 > To: Lorenzo <[EMAIL PROTECTED]> > Cc: cocoa-dev@lists.apple.com > Subject: Re: QCView openGLContext > > On Mar 14, 2008, at 12:56 PM, Lorenzo wrote: >

Re: QCView openGLContext

2008-03-14 Thread David Duncan
On Mar 14, 2008, at 12:56 PM, Lorenzo wrote: I will file a bug. I run XCode 3.0 - Xcode IDE: 921.0 - Xcode Core: 921.0 - ToolSupport: 893.0 Please file it, its always good to know what will help our developers :). Actually I have adopted the solution posted by Sam, here in the list. I r

Re: QCView openGLContext

2008-03-14 Thread Lorenzo
David, In my application I have several openGLViews running in turn their drawRect method at 60 FPS. So in the drawRect method of each openGLView I set the current context to the openGLView context. These openGLViews have nothing to do with the QCView. Well, when I call [qcView reanderAtTime... I

Re: QCView openGLContext

2008-03-14 Thread David Duncan
On Mar 13, 2008, at 4:53 PM, Lorenzo wrote: If I comment this line below [[qcView openGLContext] flushBuffer]; my app launches and runs well, but of course I can't see the QCView contents properly. I have seen that this API is available in 10.5 and later. Anyway my compiler do

Re: QCView openGLContext

2008-03-13 Thread Sam McDonald
With that application I used an NSView, but I was very new to cocoa and only did that because that is what some sample code did. A QCView in 10.4 didn't do a whole lot for you if you aren't using bindings if I remember right. NSView worked fine for use, but now looking at NS

Re: QCView openGLContext

2008-03-13 Thread Lorenzo
Thank you Sam, Your code looks promising. One question, should the renderView be a simple NSView, a QCView or an NSOpenGLView? If not a QCView, should I fire a timer each 1/60 sec in order to render with renderAtTime into the NSView or OpenGLView? Best Regards -- Lorenzo email: [EMAIL PROTECTED

Re: QCView openGLContext

2008-03-13 Thread Sam McDonald
on Leopard very well. But on Tiger I get this error all the time and my app won't launch. -- [MYQCView openGLContext] : selector not recognized [self = 0x1492fee0] -- If I comment this line below [[qcView openGLContext] flushBuffer]; my app launches and runs well, but of course I can&#x

QCView openGLContext

2008-03-13 Thread Lorenzo
below [[qcView openGLContext] flushBuffer]; my app launches and runs well, but of course I can't see the QCView contents properly. I have seen that this API is available in 10.5 and later. Anyway my compiler doesn't protest when I build my app against 10.4 SDK. This a part, how can I make thi

Re: QCView

2008-02-26 Thread Lorenzo
Thank you David, I have already a QCRenderer class to create OpenGL Textures from a QC, but in this case (a simple file browser) I have found the QCView useful enough. I have got the snapshot using my OpenGL routines (using the OpenGL context from the QCView) and it worked fine. Thanks for

Re: QCView

2008-02-26 Thread David Duncan
working on Leopard only too. So how to perform this actions on Tiger? The API stopRendering erases the QCView. You will probably have to resort to the QCRenderer for this as well. My target is (on Tiger): I have a text list of QC files with their icons. I click on a row of the list and I see

QCView (found)

2008-02-26 Thread archidea
Forget, I have found it. NSOpenGLContext*ctx = [oQCView openGLContext]; Then I render into a NSBitmapImageRep. Cool! Best Regards -- Lorenzo email: [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

QCView

2008-02-26 Thread archidea
dataWithPDFInsideRect:[oQCView bounds]]; returns a white image. Any idea? Should I work with the QCRenderer? Also, I have found pauseRendering and resumeRendering working on Leopard only too. So how to perform this actions on Tiger? The API stopRendering erases the QCView. My target is (on Tiger): I