Re: MP3 info?
Re: MP3 info?
- Subject: Re: MP3 info?
- From: Lorenzo <email@hidden>
- Date: Sun, 27 Jul 2003 19:34:05 +0200
No,
I don't think QT loads the whole movie, in facts I asked you "are you
joking", but since I am new about this topic...
Anyway just to get ID3 songName, Artist, and Album of 1000 MP3 files using
QT, my PowerBook Titanium 1GHz took about 2 minutes... It's incredibly too
much! I supposed to spend 1 or 2 seconds... just as long the time I am used
to spend to take info from the files like Type, Creator, Size, Flags,
Permissions,...
Also, many fields result to be empty, while they really are not. So mmm?
Why QT took so long time?
Must I use id3v2 C-Library? If so, have you some sample code to give me?
Thank you.
Best Regards
--
Lorenzo
email: email@hidden
>
From: Andreas Monitzer <email@hidden>
>
Date: Sun, 27 Jul 2003 19:47:24 +0200
>
To: Lorenzo <email@hidden>
>
Cc: email@hidden
>
Subject: Re: MP3 info?
>
>
On Sunday, Jul 27, 2003, at 18:33 Europe/Vienna, Lorenzo wrote:
>
>
> 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'd personally use the official id3v2 C-library for that...
>
>
> 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?
>
>
Do you really think QuickTime would load whole *movies* into memory?
>
Esp. considering that movies are very often larger than the memory
>
available or addressable on a 32bit architecture.
>
Of course, loading the file using QuickTime just for the metadata isn't
>
very efficient, but not *that* inefficient.
>
>
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>) |