What steps will reproduce the problem?
1. Do $info = PHPVideoToolkit::getFileInfo on a video using the codec: mpeg4
(DX50 / 0x30355844)
What is the expected output? What do you see instead?
The returned dimensions under $info['video']['dimensions'] are 0x30355 instead
of the real video's dimensions.
The fault is at line 890 of phpvideotoolkit.php5.php, where it uses the
following regex to parse raw ffmpeg output:
/([0-9]{1,5})x([0-9]{1,5})/
One way of fixing this would be to change the regex to:
/[^0-9]([0-9]{1,5})x([0-9]{1,5})[^0-9]/
Original issue reported on code.google.com by gme...@gmail.com on 16 Jan 2012 at 7:47
Original issue reported on code.google.com by
gme...@gmail.com
on 16 Jan 2012 at 7:47