Just in comparison to a mp3 (about same size) it takes demo.browse.php approx. 10 - 14 seconds to analyze a flv. mp3 just needs half a second. Perhaps this can be a reason why I have problems with SWFUPLOAD and getid3. Maybe!! it takes too long for the flash uploader. Any idea how I can speed up analyzing flv?
TIA
Edit: Tested with XAMPP on Mac OSX, PHP 5.25, getid3 is v1.7.8b2. It seems to be that the whole file is read. ... Tested a bit and indeed the file pointer is moved until the end of the file ($ThisFileInfo['avdataend'] = 12641385). Is this really necessary? I do not know where the meta-information of a flv is placed - at the beginning? at the end? For MY needs mimetype, duration and bitrate will be enough.
Edit 2: I just reduced avdataend to 15000 and with a small delay of 2 seconds the flash uploader responded. That's the good news, bad is: the returned duration and bitrate is of course complete nonsense now (0 seconds and a bitrate of 13639 kBit/s).
