Re: QTMovie setAttribute
Re: QTMovie setAttribute
- Subject: Re: QTMovie setAttribute
- From: Derrick Bass <email@hidden>
- Date: Wed, 29 Nov 2006 00:38:22 -0600
On Nov 28, 2006, at 2:16 PM, David Alter wrote:
I have a .m4a file that I getting the metadata from by using the
QTMovie. I'm the owner of the file and have read write access to
it. The attribute I'm concerned with is the
QTMovieDisplayNameAttribute. I can get it and set it just fine but
if I try to save the changes it fails. I was using the call
updateMovieFile to save. Here is the code.
This would be better directed to the quicktime-api list, but anyway,
QTKit (and QuickTime in general) can only work with QuickTime
movies.When you read-in the m4a file, you are actually importing it:
creating a QuickTime movie that points to the same data as the m4a.
You are then setting the display name of the imported movie. But you
can't update the m4a file. UpdateMovieFile will only work if you read
in a QuickTime movie (usually has a mov extension) in the first
place. You can write out the QTMovie object to a new file as a
QuickTime movie, if that format is acceptable.
Derrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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