Author Topic: AAC duration be determined  (Read 3319 times)

AlanOfTheBerg

  • Full Member
  • **
  • Posts: 17
AAC duration be determined
« on: July 29, 2013, 01:24:35 am »
I understand that AAC duration cannot be determined currently, but I haven't found any details as to 'why' and if there is the possibility it could be autodetected in the future?

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: AAC duration be determined
« Reply #1 on: July 29, 2013, 09:47:55 am »
It should be able to detect AAC, we detect AAC in mp4/m4v video. I'll look into it, may just be a logic bug.

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: AAC duration be determined
« Reply #2 on: July 29, 2013, 10:23:17 am »
I tested some m4a files and I'm able to detect the duration. Can you reply with the URL to the media file you're having problems with so I can test with that?

AlanOfTheBerg

  • Full Member
  • **
  • Posts: 17
Re: AAC duration be determined
« Reply #3 on: August 05, 2013, 12:15:52 am »
I tested some m4a files and I'm able to detect the duration. Can you reply with the URL to the media file you're having problems with so I can test with that?
I am unable to replicate the issue. What I may have done is at first pasted in the wrong URL and clicked verify. Then I pasted in the correct URL and clicked verify again. Doing this, the autodetect doesn't happen because after the first URL verify, the values are entered and the radio buttons are changed from auto detect to the auto-detected values. No problems here.

AlanOfTheBerg

  • Full Member
  • **
  • Posts: 17
Re: AAC duration be determined
« Reply #4 on: August 05, 2013, 12:58:10 am »
It looks like WP v3.6 has embedded tag reading new functions like wp_read_audio_metadata().

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: AAC duration be determined
« Reply #5 on: August 05, 2013, 09:20:56 am »
Their function wp_read_audio_metadata uses the same getid3 library we use in PowerPress, except it only works with files that are saved locally. We've modified the version of Getid3 in PowePress so it will detect the media information for files regardless of where the file is hosted.

AlanOfTheBerg

  • Full Member
  • **
  • Posts: 17
Re: AAC duration be determined
« Reply #6 on: August 10, 2013, 07:07:37 pm »
Angelo,

I have found a few files which are not having their length determined by PowerPress. I'll add a few links here as I find them:

http://newbergfriends.org/nfcmedia/2012/NFC_December_30_2012e.m4a
http://newbergfriends.org/nfcmedia/2013/NFC_January_6_2013e.m4a
http://newbergfriends.org/nfcmedia/2013/NFC_January_27_2013e.m4a
http://newbergfriends.org/nfcmedia/2013/NFC_February_10_2013e.m4a

The size is determined just fine, but the duration stays a 0:00:00.
« Last Edit: August 10, 2013, 07:20:54 pm by AlanOfTheBerg »

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: AAC duration be determined
« Reply #7 on: August 10, 2013, 10:45:55 pm »
There's something with the files, but I don't know what it is yet. I will do some more tests in the morning.

AlanOfTheBerg

  • Full Member
  • **
  • Posts: 17
Re: AAC duration be determined
« Reply #8 on: August 16, 2013, 04:58:58 pm »
There's something with the files, but I don't know what it is yet. I will do some more tests in the morning.
Any ideas?

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: AAC duration be determined
« Reply #9 on: August 16, 2013, 05:03:53 pm »
Not yet, I haven't had time. You'e going to have to be patient, free support comes when we have time, and unfortunately I'm swamped at the moment.


In the mean time you can manually enter your durations.