Getimagesize reports MPEG-4 video as WBMP
| Bug #29443 | Getimagesize reports MPEG-4 video as WBMP | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2004-07-29 15:00 UTC | Modified: | 2004-07-30 03:10 UTC |
|
||||||||||
| From: | fredb86 at hotmail dot com | Assigned: | ||||||||||||
| Status: | Closed | Package: | GetImageSize related | |||||||||||
| PHP Version: | 4.3.8 | OS: | All | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2004-07-29 15:00 UTC] fredb86 at hotmail dot com
Description: ------------ 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 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 )
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-07-30 03:10 UTC] iliaa@php.net