rbichon
asked on
Detect FLV duration with PHP
Is there a way to detect the duration of an FLV file with PHP assuming that it contains the correct MetaData? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
By the way, PHP usually has a memory limit of 16MB. If you are using FLV files larger than that, you have to change the memory limit in the php.ini file. I set mine to memory_limit=32M which will allow for 32MB files. You will get an error if you try to use this function on a file that is larger than your memory limit.
ASKER
Thanks. I'll give it a try.
ASKER
Looks like it works! Thanks a lot for the code!