• 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
Wrong kMDItemDurationSeconds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong kMDItemDurationSeconds


  • Subject: Wrong kMDItemDurationSeconds
  • From: Gabriel Zachmann <email@hidden>
  • Date: Sat, 12 Jun 2010 16:18:24 +0200

I have a few MP3 files for which kMDItemDurationSeconds seems to be wrong.
mdls says kMDItemDurationSeconds = 609.6691875 (consequently, Finder's Info about the file says "Duration: 10:10") -- but in iTunes the files is 1 hour and 10 minutes long!

Is there any way I can correct kMDItemDurationSeconds for such files?

I am asking, because I've got a tool (I don't have the source) that seems to depend on the correct value of kMDItemDurationSeconds, otherwise it produces output that is too short.

I am looking for command line tools that could correct kMDItemDurationSeconds's value (or GUI tools that can process a large number of MP3 files).
I would also be willing to program a tool for that task, if it can be done in a few hours.

Any kinds of hints, insights, pointers, suggestions, etc., will be highly appreciated.

Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Wrong kMDItemDurationSeconds
      • From: Stephen Davis <email@hidden>
  • Prev by Date: Re: AU Cocoa UIs that open further windows
  • Next by Date: Length Mismatch in transcoded file(.wav) and source file (.mp3)
  • Previous by thread: Re: AudioUnitScheduleParameters: ramped kMultiChannelMixerParam_Volume
  • Next by thread: Re: Wrong kMDItemDurationSeconds
  • Index(es):
    • Date
    • Thread