Re: MP3 info?
Re: MP3 info?
- Subject: Re: MP3 info?
- From: Lorenzo <email@hidden>
- Date: Sun, 27 Jul 2003 18:33:35 +0200
Hi Andy,
may you please explain better? Are you joking?
I have only to get the ID3 metadata like artist, song title, etc, so I
wouldn't like I had to load the whole file in memory just to get the
metadata informations. It should run very very slow...
I do only this:
NSURL *movieURL = [NSURL fileURLWithPath:theItem];
NSMovie *theMovie = [[[NSMovie alloc] initWithURL:movieURL
byReference:NO] autorelease];
UserData inUserData = GetMovieUserData([theMovie QTMovie]);
So please let me know, does this load the whole movie in memory?
Moreover,
thanks to the Apple sample (and John) at
http://developer.apple.com/qa/qa2001/qa1135.html
now I am able to get songTitle, Artist, Album, Track, Encoder
I still need to get Time, Author, Genre Year
Any idea?
Best Regards
--
Lorenzo
email: email@hidden
>
From: Andreas Monitzer <email@hidden>
>
Date: Sun, 27 Jul 2003 19:01:32 +0200
>
To: Lorenzo <email@hidden>
>
Cc: email@hidden
>
Subject: Re: MP3 info?
>
>
On Sunday, Jul 27, 2003, at 17:22 Europe/Vienna, Lorenzo wrote:
>
>
> Does this means that for any movie I have to alloc the memory for the
>
> whole
>
> file? For example, if the MP3 file is long 4 MBytes, when I call
>
>
>
> NSMovie *theMovie = [[[NSMovie alloc] initWithURL:movieURL
>
> byReference:NO] autorelease];
>
>
>
> does my application allocate 4MB? Or does it allocate only a pointer
>
> to the
>
> data?
>
>
No wonder I can't play that 2GB mpeg movie I recorded yesterday, I only
>
got 1.5GB of RAM!
>
>
andy
_______________________________________________
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: MP3 info? (From: Andreas Monitzer <email@hidden>) |