Skip navigation.
 
mlRe: QTMovie grabing while playback
FROM : Chris Adamson
DATE : Fri Apr 25 20:26:46 2008

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 text track or a one-sample video track (higher in the Z-
order, and with a suitable compositing mode), to achieve this effect 
without having to hack the rendering pipeline.

Even easier still, just author a SMIL movie as an XML file and load 
that as your movie.  Example on my blog: <http://www.subfurther.com/blog/?p=84
>

Authoring won't always take you as far as you need to go, of course; 
in the case of a capture preview, you almost certainly have to do 
something clever with the QTCaptureView, or via Core Animation with 
the layers (Bill Dudney has an example of this in his new CA book from 
the Pragmatic Programmers).

--Chris


On Wed, 23 Apr 2008 16:08:38 -0400 "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 you on this, but a previous client project used
> these two Core Animation objects with excellent results.

Related mailsAuthorDate
mlQTMovie grabing while playback Nikolai Hellwig Apr 23, 18:19
mlRe: QTMovie grabing while playback douglas a. welton Apr 23, 19:05
mlRe: QTMovie grabing while playback Bob Smith Apr 23, 19:30
mlRe: QTMovie grabing while playback Jean-Daniel Dupas Apr 23, 19:49
mlRe: QTMovie grabing while playback Randall Meadows Apr 23, 19:58
mlRe: QTMovie grabing while playback Jean-Daniel Dupas Apr 23, 20:15
mlRe: QTMovie grabing while playback Randall Meadows Apr 23, 20:24
mlRe: QTMovie grabing while playback Bob Smith Apr 23, 20:39
mlRe: QTMovie grabing while playback douglas a. welton Apr 23, 22:08
mlRe: QTMovie grabing while playback Bob Smith Apr 24, 22:14
mlRe: QTMovie grabing while playback Uli Kusterer Apr 25, 01:03
mlRe: QTMovie grabing while playback David Duncan Apr 25, 01:29
mlRe: QTMovie grabing while playback Scott Anguish Apr 25, 02:24
mlRe: QTMovie grabing while playback Bob Smith Apr 25, 03:05
mlRe: QTMovie grabing while playback Scott Anguish Apr 25, 03:16
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 03:34
mlRe: QTMovie grabing while playback Bob Smith Apr 25, 11:17
mlRe: QTMovie grabing while playback Nikolai Hellwig Apr 25, 15:04
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 16:41
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 16:43
mlRe: QTMovie grabing while playback Nikolai Hellwig Apr 25, 17:58
mlRe: QTMovie grabing while playback douglas a. welton Apr 25, 18:17
mlRe: QTMovie grabing while playback Chris Adamson Apr 25, 20:26
mlRe: QTMovie grabing while playback Thomas Engelmeier Apr 25, 23:55
mlRe: QTMovie grabing while playback Thomas Engelmeier Apr 25, 23:58
mlRe: QTMovie grabing while playback Bob Smith Apr 26, 03:34