• 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: Slow seeking in MP3 files using ExtAudioFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow seeking in MP3 files using ExtAudioFile


  • Subject: Re: Slow seeking in MP3 files using ExtAudioFile
  • From: Stephen Davis <email@hidden>
  • Date: Tue, 20 Jan 2009 14:45:40 -0800

On Jan 20, 2009, at 2:25 PM, Jens Alfke wrote:

On Jan 20, 2009, at 1:56 PM, Markus Fritze wrote:

MP3 is a streaming format, to find a sample position inside the file this reading is required. However, iTunes 5 or later, GarageBand and Logic write some additional information into the MP3 file, which allows you to find the position without reading everything.

Interesting! Are there any APIs for reading this, or at least something describing the format and how to find it?

It's the XING header which you can probably find documented somewhere.

However, it is not actually sufficient b/c it is a fixed-size 256- entry table so it is not accurate to a packet boundary and gets less accurate the longer the file is. Since ExtAudioFile exposes a "go to this packet" API, it has to calculate reality, not the vague notion of it that the XING header represents.

stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Slow seeking in MP3 files using ExtAudioFile (From: Jens Alfke <email@hidden>)
 >Re: Slow seeking in MP3 files using ExtAudioFile (From: Markus Fritze <email@hidden>)
 >Re: Slow seeking in MP3 files using ExtAudioFile (From: Jens Alfke <email@hidden>)

  • Prev by Date: New Audio Format Property Identifiers on OS 2.2
  • Next by Date: Re: Slow seeking in MP3 files using ExtAudioFile
  • Previous by thread: Re: Slow seeking in MP3 files using ExtAudioFile
  • Next by thread: Re: Slow seeking in MP3 files using ExtAudioFile
  • Index(es):
    • Date
    • Thread