Re: QTMovie grabing while playback

2008-04-25 Thread Bob Smith
Well, I'm glad I had an excuse to play around with Quartz Composer; I knew about it but had never spent any time with it, very cool! Unfortunately, it doesn't solve my immediate problem. As far as I can tell, compositions won't play streaming video at all. They work great with movies

Re: QTMovie grabing while playback

2008-04-25 Thread Nikolai Hellwig
Hey, thank you very much. it helped a lot. but i still got one problem. The image I derive from NSBitmapImageRep initWithCIImage is much smaller than the original pixel size of the video. Because of that i can't use this method for production use. Is there another way to do this?

Re: QTMovie grabing while playback

2008-04-25 Thread douglas a. welton
Bob, re: Quartz Composer Did you check the Asynchronous Mode checkbox on the Movie Loader patch's Settings panel? This box is specifically available to allow for playback of streaming material. re: QT flaw The supposition that QuickTime is fundamentally flawed is not accurate. If you

Re: QTMovie grabing while playback

2008-04-25 Thread douglas a. welton
Nikolai, Can you post a snippet of the code you are using for the conversion? regards, douglas On Apr 25, 2008, at 9:04 AM, Nikolai Hellwig wrote: Hey, thank you very much. it helped a lot. but i still got one problem. The image I derive from NSBitmapImageRep initWithCIImage is

Re: QTMovie grabing while playback

2008-04-25 Thread Nikolai Hellwig
Hi, the image comes from: - (CIImage*) view: (QTMovieView *)view willDisplayImage: (CIImage *)image { ... // this is the conversion code NSBitmapImageRep* bitmap = [[NSBitmapImageRep alloc] initWithCIImage: image]; ... } regards, nikolai Am 25.04.2008 um 16:43 schrieb douglas

Re: QTMovie grabing while playback

2008-04-25 Thread douglas a. welton
Nikolai, Perhaps you might try creating an empty NSBitmapImageRep with the size and pixel attributes you need. Then, use the resultant object as a graphic context and draw your CIImage into that. The Reducer sample code does something similar to this. I can imagine that this process

Re: QTMovie grabing while playback

2008-04-25 Thread Chris Adamson
Sorry to come in late, but this is something that occasionally comes up on quicktime-api and quicktime-java. To get text or images on top of a movie, sometimes it's easier to skip the programming approach and achieve the effect with authoring. Using the old QuickTime API, you could add a

Re: QTMovie grabing while playback

2008-04-25 Thread Thomas Engelmeier
On 25.04.2008, at 11:17, Bob Smith wrote: Well, I'm glad I had an excuse to play around with Quartz Composer; I knew about it but had never spent any time with it, very cool! Unfortunately, it doesn't solve my immediate problem. As far as I can tell, compositions won't play streaming

Re: QTMovie grabing while playback

2008-04-25 Thread Bob Smith
On Apr 25, 2008, at 7:41 AM, douglas a. welton wrote: Bob, re: Quartz Composer Did you check the Asynchronous Mode checkbox on the Movie Loader patch's Settings panel? This box is specifically available to allow for playback of streaming material. Eh? I don't see a patch called Movie

Re: QTMovie grabing while playback

2008-04-24 Thread Bob Smith
On Apr 23, 2008, at 1:08 PM, douglas a. welton wrote: Bob Randall, If all you want to do is slap some arbitrary text over a movie, I would suggest that you take a look at using QTMovieLayer and CATextLayer as the mechanism for doing this. I don't have any code that I can share with

Re: QTMovie grabing while playback

2008-04-24 Thread Uli Kusterer
Am 24.04.2008 um 22:14 schrieb Bob Smith: In my case all I want to do is be able to add a scrolling text overlay to whatever video is being played. My app is an informational video kiosk display driver, it's meant to run mostly unattended from playlists of images and pre-recorded video,

Re: QTMovie grabing while playback

2008-04-24 Thread David Duncan
On Apr 24, 2008, at 4:03 PM, Uli Kusterer wrote: 4) I think there's a sample on Apple's web site somewhere that draws pushbuttons etc. on top of a movie (or maybe it was an OpenGL scene?). Anyway, that approach might work for your movie, too. The sample that does this uses Core Animation

Re: QTMovie grabing while playback

2008-04-24 Thread Scott Anguish
it's the example in the Core Animation Programming Guide, last chapter. Source isn't available at the moment other than in the book. It's text laid over a QCCompositionLayer that is running. On Apr 24, 2008, at 7:03 PM, Uli Kusterer wrote: 4) I think there's a sample on Apple's web site

Re: QTMovie grabing while playback

2008-04-24 Thread Bob Smith
On Apr 24, 2008, at 4:03 PM, Uli Kusterer wrote: Am 24.04.2008 um 22:14 schrieb Bob Smith: In my case all I want to do is be able to add a scrolling text overlay to whatever video is being played. My app is an informational video kiosk display driver, it's meant to run mostly unattended

Re: QTMovie grabing while playback

2008-04-24 Thread Scott Anguish
On Apr 24, 2008, at 9:05 PM, Bob Smith wrote: In my case all I want to do is be able to add a scrolling text overlay to whatever video is being played. My app is an informational video kiosk display driver, it's meant to run mostly unattended from playlists of images and pre-recorded

Re: QTMovie grabing while playback

2008-04-24 Thread douglas a. welton
Bob, Scott took the words right out of my keyboard... ;^} Have you taken a look at the QCTV sample code? It does almost exactly what you want. regards, douglas On Apr 24, 2008, at 9:16 PM, Scott Anguish wrote: On Apr 24, 2008, at 9:05 PM, Bob Smith wrote: In my case all I want to do

QTMovie grabing while playback

2008-04-23 Thread Nikolai Hellwig
Hi, I've done some image analysing software for QTKit Capture. It works fine. Now i need to use this for a quicktime movie. I can playback the quicktime movie, but i can't find any delegate which tells my application, that a new frame is rendered. If i can get this information i could grab

Re: QTMovie grabing while playback

2008-04-23 Thread douglas a. welton
Nikolai, QTMovieView has a delegate method - (CIImage*) view: (QTMovieView *)Target_View willDisplayImage: (CIImage *)New_Image This method gives you a CIImage to play with before it is displayed in the Target_View. Check the header file for QTMovieView.h (near the bottom). I think

Re: QTMovie grabing while playback

2008-04-23 Thread Jean-Daniel Dupas
Le 23 avr. 08 à 19:30, Bob Smith a écrit : On Apr 23, 2008, at 10:05 AM, douglas a. welton wrote: Nikolai, QTMovieView has a delegate method - (CIImage*) view: (QTMovieView *)Target_View willDisplayImage: (CIImage *)New_Image This method gives you a CIImage to play with before it is

Re: QTMovie grabing while playback

2008-04-23 Thread Randall Meadows
On Apr 23, 2008, at 11:30 AM, Bob Smith wrote: On Apr 23, 2008, at 10:05 AM, douglas a. welton wrote: QTMovieView has a delegate method - (CIImage*) view: (QTMovieView *)Target_View willDisplayImage: (CIImage *)New_Image This method gives you a CIImage to play with before it is displayed

Re: QTMovie grabing while playback

2008-04-23 Thread Jean-Daniel Dupas
Le 23 avr. 08 à 19:58, Randall Meadows a écrit : On Apr 23, 2008, at 11:30 AM, Bob Smith wrote: On Apr 23, 2008, at 10:05 AM, douglas a. welton wrote: QTMovieView has a delegate method - (CIImage*) view: (QTMovieView *)Target_View willDisplayImage: (CIImage *)New_Image This method

Re: QTMovie grabing while playback

2008-04-23 Thread Randall Meadows
On Apr 23, 2008, at 12:15 PM, Jean-Daniel Dupas wrote: This delegate method was also added to QTMovieView. It's really helpfull for example if you want to apply some effect or if you want to insert text in your movie. Nice. I use the QTCaptureView version in my app to rotate a live

Re: QTMovie grabing while playback

2008-04-23 Thread Bob Smith
On Wed, 23 Apr 2008 20:15:39 +0200 Jean-Daniel Dupas [EMAIL PROTECTED] wrote: Le 23 avr. 08 à 19:58, Randall Meadows a écrit : On Apr 23, 2008, at 11:30 AM, Bob Smith wrote: On Apr 23, 2008, at 10:05 AM, douglas a. welton wrote: QTMovieView has a delegate method - (CIImage*) view:

Re: QTMovie grabing while playback

2008-04-23 Thread douglas a. welton
Bob Randall, If all you want to do is slap some arbitrary text over a movie, I would suggest that you take a look at using QTMovieLayer and CATextLayer as the mechanism for doing this. I don't have any code that I can share with you on this, but a previous client project used these