• 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: NSMovie to/from NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovie to/from NSData


  • Subject: Re: NSMovie to/from NSData
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 25 Jan 2004 19:04:43 +0100

At 16:28 Uhr +0100 25.01.2004, Lorenzo wrote:
Sorry but what you said didn't work. Any time I try to save the move as
NSData I get a 28KB file all the time (the original was 4MB).
And QT cannot open it. I did:

You asked how to turn an NSMovie into a file.

NSMovie != QuickTime movie

If you want to write a QuickTime movie to a file, you have to get the actual movie out of the NSMovie (data type Movie) and then use the plain C QuickTime APIs to actually create the file.

This is a little awkward, BTW, because last I checked QuickTime still didn't know about POSIX paths, FSRefs or CFURLRefs, which means you have to create an FSSpec for the file (maximum name length: 31 characters) and then hand that to QuickTime.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: NSMovie to/from NSData (From: Lorenzo <email@hidden>)

  • Prev by Date: Scriptable application startup behavior
  • Next by Date: Re: [APP IDEA] Desktop Background Scripting
  • Previous by thread: Re: NSMovie to/from NSData
  • Next by thread: development vs deployment: illegal symbols? (carbon+cocoa)
  • Index(es):
    • Date
    • Thread