Ticket #494 (closed bug: wontfix)
Vertically aligned iPhone videos display incorrectly.
|Reported by:||pablo||Owned by:||jeroen|
Description (last modified by pablo) (diff)
The new iPhone 3GS has the capability to record MP4 video (using the AVC1 video codec). However, when a video is recorded with a vertical alignment, Flash reports its size incorrectly. Here is the dump of the data received by the VideoModel.onData callback:
dat Object (@250ccbf1) aacaot 2 audiochannels 1 audiocodecid "mp4a" audiosamplerate 44100 [0xac44] avclevel 30 [0x1e] avcprofile 66 [0x42] duration 6.176507936507937 height 4294966938 [0xfffffe9a] moovposition 633846 [0x9abf6] seekpoints Array (@2518fbd9) trackinfo Array (@2518fb31) type "metadata" videocodecid "avc1" videoframerate 30 [0x1e] width 4294966937 [0xfffffe99]
Notice the width and height appear to be negative unsigned integers.
If dimensions such as these are encountered by the player, it should take the absolute value (i.e. width = 0xffffffff - width).