AAC/MP4 bug/suggestion

Think you found a bug in getID3()? Post here with details.
Post Reply
WaldoMonster
getID3() contributor
Posts: 108
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

AAC/MP4 bug/suggestion

Post by WaldoMonster » Sat Aug 05, 2017 10:31 am

getID3() version: 1.9.14-201703261440
php version: 7.0.18-0ubuntu0.16.04.1 (64-bit)

AAC:

Code: Select all

[audio][dataformat] = aac
[mime_type] = application/octet-stream
Should the mime type be: audio/aac instead of application/octet-stream?



MP4/M4A (with no video):

Code: Select all

[video][dataformat] = quicktime
[video][dataformat][frame_rate] = 43.057996485062
[video][dataformat][resolution_x] = 0
[video][dataformat][resolution_y] = 0
[mimi_type] = audio/mp4
When there is only audio in the container getID3() should not return any [video] key.
Maybe the [video] key can be removed if [mime_type] == audio/mp4?

James Heinrich
getID3() v1 developer
Posts: 1432
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: AAC/MP4 bug/suggestion

Post by James Heinrich » Tue Aug 15, 2017 3:11 pm


WaldoMonster
getID3() contributor
Posts: 108
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Re: AAC/MP4 bug/suggestion

Post by WaldoMonster » Wed Aug 16, 2017 8:04 am

Thanks for the update!

Both updates seem to work fine for me!
I see you also have updated the monkeys-audio mime_type.

Post Reply