Calculate MP3 file duration in PHP, aware of id3v1, id3v2, CBR, VBR