Subject: | Frequency reported in Hz instead of kHz (per docs) |
In the documentation, get_mp4info returns the FREQUENCY element in Hz instead of kHz. kHz is specified by the docs. For compatability, kHz is what is returned by the MP3::Info::get_mp3info.
mp4info (part of mpeg4ip) gives:
mp4info version 1.2
Steve Winwood - Valerie.m4a:
Track Type Info
1 audio MPEG-4 AAC LC, 249.729 secs, 122 kbps, 44100 Hz
Metadata Name: Valerie
Metadata Artist: Steve Winwood
Metadata Writer: A Writer
Metadata Comment: A Comment
Metadata Tool: FAAC 1.24
Metadata Year: 1982
Metadata Album: Talking Back To The Night
Metadata track: 1 of 0
Metadata Genre: Pop
MP4::Info returns:
File: Steve Winwood - Valerie.m4a:
ALB => Talking Back To The Night
ALBUM => Talking Back To The Night
[...]
FREQUENCY => 44100
MP3::Info returns frequency of 44.1 for a similar file.