#37521 [Opn->Bgs]: bug #29443 is still present
| From: | iliaa@php.net | Date: | Sat, 20 May 2006 19:52:05 +0000 |
| Subject: | #37521 [Opn->Bgs]: bug #29443 is still present | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97414@lists.php.net to get a copy of this message | ||
ID: 37521
Updated by: iliaa@php.net
Reported By: maia_good at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: GetImageSize related
Operating System: Windows_NT
PHP Version: 5.1.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
The function is not made to analyize mpeg files, the only way
it can is because mpeg4 files store data in jpeg format and
getimagesize() picks up on that.
Previous Comments:
------------------------------------------------------------------------
[2006-05-19 16:15:05] maia_good at hotmail dot com
Description:
------------
Bug #29443 is still present in 5.1.4 despite being closed as of 30 Jul
2004.
[29 Jul 2004 3:00pm UTC] fredb86 at hotmail dot com
If you do a getimagesize of an MPEG-4 video file, getimagesize reports
the MIME type as an image file:
[mime] => image/vnd.wap.wbmp
Sample video file is here:
http://sashimikid.spymac.net/junk.mov
[30 Jul 2004 3:10am UTC] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Reproduce code:
---------------
print_r(getimagesize('junk.mov'));
Expected result:
----------------
Array
(
[0] => 570221
[1] => 100
[2] => 15
[3] => width="570221" height="100"
[mime] => video/quicktime
)
OR
Array
(
[0] => 570221
[1] => 100
[2] => 15
[3] => width="570221" height="100"
[mime] => video/mp4v-es
)
Actual result:
--------------
Array
(
[0] => 570221
[1] => 100
[2] => 15
[3] => width="570221" height="100"
[mime] => image/vnd.wap.wbmp
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37521&edit=1