• 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: Text track in QTMovie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text track in QTMovie


  • Subject: Re: Text track in QTMovie
  • From: douglas welton <email@hidden>
  • Date: Sun, 14 Dec 2008 20:03:35 -0500

Hi Joe,

Since you didn't define "easy" or tell me what you'd tried, then I'll have to make some assumptions about what you know. I will assume that you have read the documentation on QT media samples.

The basic steps:

Get the text track.
Get the track media.
loop thru the media samples using a function like GetMediaNextInterestingDecodeTime() with the parameters of your choice
Use GetMediaSample2() to get the data/length associated with the text sample.
Create an NSString with the bytes/length returned in the previous call


regards,

douglas

On Dec 14, 2008, at 7:26 PM, Joe Turner wrote:

I have a QTMovie (that is valid), and it has a text track. I am wondering if there is any easy way to get the contents of the text track into an NSString.

Thanks,

Joe
_______________________________________________

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: Text track in QTMovie
      • From: Joe Turner <email@hidden>
    • Re: Text track in QTMovie
      • From: Joe Turner <email@hidden>
References: 
 >Text track in QTMovie (From: Joe Turner <email@hidden>)

  • Prev by Date: Text track in QTMovie
  • Next by Date: Re: Text track in QTMovie
  • Previous by thread: Text track in QTMovie
  • Next by thread: Re: Text track in QTMovie
  • Index(es):
    • Date
    • Thread