• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTMovie grabing while playback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTMovie grabing while playback


  • Subject: Re: QTMovie grabing while playback
  • From: Chris Adamson <email@hidden>
  • Date: Fri, 25 Apr 2008 14:26:46 -0400

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.

_______________________________________________

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


  • Follow-Ups:
    • Re: QTMovie grabing while playback
      • From: Thomas Engelmeier <email@hidden>
  • Prev by Date: Re: Weird Problem With CGImage
  • Next by Date: Screen Recording APIs ?
  • Previous by thread: Re: QTMovie grabing while playback
  • Next by thread: Re: QTMovie grabing while playback
  • Index(es):
    • Date
    • Thread