Page 1 of 1

getID3 very slow analyze (or crash) on mp4

Posted: Fri Nov 17, 2017 10:35 am
by Draken
Hello,

My mp4 files over 3GB is very slow and not stable.
(Analyze success 1/10)

mp4 folder is issus of GoPro camera (versions 4 and 5)

1 / 2 GB files is just slow.

php memory limit:
memory_limit = 6144M.

Re: getID3 very slow analyze (or crash) on mp4

Posted: Fri Nov 17, 2017 4:28 pm
by James Heinrich
It shouldn't take more than 1 second or so per file, at worst.
I looked at a folder of 58 GOPRO Hero 4 files on my Windows test installation and it took 63 seconds to analyze the combined 21GB.
I can't properly test files >2GB on Windows due to PHP+filesystem limitations, but I don't expect it to be significantly slower.

What version of getID3 are you using?
What warnings and/or errors do you get looking at any specific file?

Re: getID3 very slow analyze (or crash) on mp4

Posted: Mon Nov 20, 2017 11:36 am
by Draken
Using the last version (I updated for test)

Is possible to send you an link for video exemple via PM ?
(Video: fish and coral reef :) )

Re: getID3 very slow analyze (or crash) on mp4

Posted: Mon Nov 20, 2017 11:58 am
by James Heinrich
Sure, please send me a (link to a) sample file.

Re: getID3 very slow analyze (or crash) on mp4

Posted: Mon Nov 20, 2017 12:52 pm
by Draken
GoPro use : "Protune mods"
Probleme with this option mod ?

Not finding PM on this forum. (Off?)
<link removed>
(pls remove this link after download)

Re: getID3 very slow analyze (or crash) on mp4

Posted: Mon Nov 20, 2017 3:18 pm
by James Heinrich
I took a quick look at your provided sample file, and it seems to behave as expected:
File parsed in 0.062 seconds.
Powered by getID3() v1.9.15-201711201016
Running on PHP v7.0.25 (64-bit, WINNT)

Re: getID3 very slow analyze (or crash) on mp4

Posted: Mon Nov 20, 2017 4:36 pm
by Draken
Strange...

will push the analyzes further back I come back to you when needed.

Thanks for your help :)