• 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: MP3 info?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: MP3 info?
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: MP3 info? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: Help understanding Interface Builder/Custom Views
  • Next by Date: Re: MP3 info?
  • Previous by thread: Re: MP3 info?
  • Next by thread: Re: MP3 info?
  • Index(es):
    • Date
    • Thread