GetID3 is so slow when analyze a MP3 file
-
- User
- Posts:8
- Joined:Thu May 14, 2015 11:34 am
- Are you a spambot?:no
I've getID3 1.9.9. Its so slow when I analyze a mp3 file. Its takes 6-7 second to analyze and load the page to give me output. But when I try to analyze video file then its faster and give me output within 1 second. Teste dMP3 file size is between 3 MB - 8 MB. Tested Video (avi, mkv, mp4) file size is 300 MB- 1.5 GB. I'm using WAMP.
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
It shouldn't take anywhere near that long to analyze an MP3 file, it should be in the order of milliseconds (e.g. 0.01 to 0.1 seconds) to analyze most MP3 files.
Browse the file with demo.browse.php and take a look in the Warnings and Errors sections. I suspect you may have a VBR mp3 file with no VBR header so it needs to scan much more of the file than it otherwise would.
Let me know if you have any other warnings and/or errors.
Browse the file with demo.browse.php and take a look in the Warnings and Errors sections. I suspect you may have a VBR mp3 file with no VBR header so it needs to scan much more of the file than it otherwise would.
Let me know if you have any other warnings and/or errors.
-
- User
- Posts:8
- Joined:Thu May 14, 2015 11:34 am
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
I tried a lot of MP3 files. but same problem occours. My mp3 files are 64 kbps, 128 kbps, 320 kbps.
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
You didn't mention what, if any, errors and warnings you see.
Can you provide a sample MP3 file that takes a long time to analyze?
Can you provide a sample MP3 file that takes a long time to analyze?
-
- User
- Posts:8
- Joined:Thu May 14, 2015 11:34 am
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
Thankx a lot for catch my post. This is a mp3 file link http://hindisongs.fusionbd.com/download ... mp3&sort=1 I can reach demo.browse.php but how I run a mp3 file in this page??? I am new in GetID3
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
Open demo.browse.php in your browser, navigate to where you have the MP3 file saved that you want to look at and click on it. Directory view should look something like this, then when you click on the filename you want you should get a very detailed output.
I assume from the link you provided you had downloaded the original file (not the 64-kbps version). The file parses just fine on my system: "File parsed in 0.064 seconds"
I assume from the link you provided you had downloaded the original file (not the 64-kbps version). The file parses just fine on my system: "File parsed in 0.064 seconds"
-
- User
- Posts:8
- Joined:Thu May 14, 2015 11:34 am
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
My all mp3 files located on 'mp3' folder, when click the mp3 folder through demo.browse.php then the page loading & loading. Just delete and create a new mp3 folder. then I can reach meta tag page. File parsed in 1.421 seconds. but when click a video (.mkv 765 MB) it parsed in 0.274 seconds through demo.browse.php. By the way thanks a lot
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
And do you see anything under "warning" or "error" in the detailed analysis?
-
- User
- Posts:8
- Joined:Thu May 14, 2015 11:34 am
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
From my mentioned link, I've also download the orginal file which is 187 kbps. not 64 kbps. Warnings:0, Errors:0 (when reach the path 'www/mp3' folder). Anyway, thanks a lot for your help :)
-
- User
- Posts:3
- Joined:Sun May 24, 2015 5:55 pm
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
I'm also getting this issue, no warnings or errors when analyzing through the browse demo. File is here: https://www.mediafire.com/?20hoiof9ba29lba
It took over a second to analyze.
It took over a second to analyze.
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
MediaFire link says "permission denied".
-
- User
- Posts:3
- Joined:Sun May 24, 2015 5:55 pm
- Are you a spambot?:no
Re: GetID3 is so slow when analyze a MP3 file
Sorry! Mediafire put some strange restriction on the file. This link should work (but only once): http://www.mediafire.com/?nyxg25to90oas ... 6cwqu7q7nr
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: GetID3 is so slow when analyze a MP3 file
Your link worked this time.
Other than the size of the ID3v2 picture, the file itself looks good (Xing header in place, no warnings or errors) so I'd say everything is working as expected.
On my system it parses in a little under a second. The ID3v2 is reasonably large (635kB), mostly due to embedded cover art, and ID3v2 parsing time will increase with larger tag sizes since more reads are required. The parsing is optimized for smaller tags, since the vast majority of ID3v2 tags (without embedded art) are 4kB or less in size, and even those with a small cover picture are typically less than the 32kB read buffer size.File parsed in 0.779 seconds.
Other than the size of the ID3v2 picture, the file itself looks good (Xing header in place, no warnings or errors) so I'd say everything is working as expected.