I'm trying to open a 6-second QuickTime movie from a URL, using
QTKit. I do get a QTMovie object instantiated, but it contains
invalid attributes.
Here's my code snippet:
NSError *error;
NSURL *url = [[NSURL URLWithString:@"http://
quicktime.oit.duke.edu/news/sprites.mp4"] standardizedURL];
QTMovie *qtMovie = [[QTMovie movieWithURL:url error:&error ]
retain];
NSLog(@"-- Opened movie %@ with error %@.\n\t\tMovie is %
@",url,error,qtMovie);
Viewer[3639] -- Opened movie http://quicktime.oit.duke.edu/news/
sprites.mp4 with error (null).
Movie is <QTMovie: 0x30fa00 time scale = 600,
duration = 2147483647, rate = 0.000000, tracks = { 0x9ca02f0 }>
The info in the QTMovie object is obviously bogus, yet it returns no
error. Issuing -currentFrameImage to it returns nil. The original
movie has these specs:
Format: H.264, 320 x 240, Millions
FPS: 15
Duration: 00:00:06.90
Size: 320 x 240 pixels
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden