Open GoogleCodeExporter opened 9 years ago
Hmm, I haven't tried the library with files over 2GB. Could you do me a favor
and figure out whether the library is reading the metadata information
correctly (which means the problem is in isset) or not (which means the problem
is in the library itself).
Execute this piece of code:
$iso = new Zend_Media_Iso14496("file.m4v");
print_r($iso);
Then paste the response here.
Original comment by svollbehr
on 14 Oct 2011 at 11:31
Hi,
Thanks for your PHP tool it is amazing :)
I have a similar issue with various mp4 files over 2 GB (works fine with files
under 2 GB).
28.mp4 = 3 440 448 599 bytes
require_once '/Zend/Media/Iso14496.php'; // or using autoload
$isom = new Zend_Media_Iso14496("28.mp4");
print_r($isom);
output of the above code:
Zend_Media_Iso14496 Object ( [_filename:Zend_Media_Iso14496:private] => 28.mp4
[_reader:protected] => Zend_Io_FileReader Object ( [_fd:protected] => Resource
id #7 [_size:protected] => -854518697 )
[_options:Zend_Media_Iso14496_Box:private] => Array ( )
[_offset:Zend_Media_Iso14496_Box:private] => 0
[_size:Zend_Media_Iso14496_Box:private] => -854518697
[_type:Zend_Media_Iso14496_Box:private] => file
[_parent:Zend_Media_Iso14496_Box:private] =>
[_container:Zend_Media_Iso14496_Box:private] => 1
[_boxes:Zend_Media_Iso14496_Box:private] => Array ( ) )
Is it possible to override this 2GB limit and if yes how?
thanks
Arnaud
Original comment by arnaud.l...@gmail.com
on 30 Jan 2013 at 11:44
I actually managed to pin down the issue (well mine at least). I was using a 32
bits version of PHP on a WAMP server, having test the script on PHP 64 bits
LAMP and the script works fine.
Hope it helps.
Thanks
Arnaud
Original comment by arnaud.l...@gmail.com
on 4 Feb 2013 at 11:50
Apparently it is related to the maximum size for an int in PHP:
32-bit builds of PHP:
Integers can be from -2147483648 to 2147483647
64-bit builds of PHP:
Integers can be from -9223372036854775808 to 9223372036854775807
Thanks
Arnaud
Original comment by arnaud.l...@gmail.com
on 4 Feb 2013 at 11:52
Original issue reported on code.google.com by
Werner.T...@googlemail.com
on 17 Sep 2011 at 10:32