Re: QTMovie grabing while playback
Re: QTMovie grabing while playback
- Subject: Re: QTMovie grabing while playback
- From: Uli Kusterer <email@hidden>
- Date: Fri, 25 Apr 2008 01:03:25 +0200
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, but with
occasional scheduled live segments from streaming video cameras on
the local network. I'll take a look at Core Animation, however one
of my limitations is the app has to run under Tiger, and I thought
most of the CA stuff was new to Leopard.
Have you considered rendering your text in a separate layer (not CA
layer) on top of the movie? Several options:
1) borderless overlay window. Could be a child window if the window
with the movie in it can be moved around, so they stick together. If
your Macs are recent enough, the Quartz Compositing engine in Quartz
Extreme will take care of using the GPU to composite the two windows
on top of each other
2) IIRC movies can be rendered into OpenGL polygons. You could try
doing that and then rendering your text into a separate OpenGL surface
on top
3) I think QuickTime movies can contain layers, layered sprites etc.
You might be able to modify the movie before playing it, adding such a
track to it.
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.
Just some avenues to explore. HTH.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden