Ticket #494 (closed bug: wontfix)
Vertically aligned iPhone videos display incorrectly.
| Reported by: | pablo | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Milestone: | Flash 4.6 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
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).
Attachments
Change History
Changed 4 years ago by pablo
-
attachment
vertical.mov
added
comment:2 Changed 4 years ago by jeroen
- Status changed from new to closed
- Resolution set to wontfix
Issue is hard to fix. It's not a simple substraction from 0xffffffff. This leads the video to be 357x358 pixels.
Additionally, the video is rendered 90 degrees CCW rotated. Apparently, there's an additional rotation header that the Flash Plugin cannot parse.
I'd say we blame Apple for their MOV format - messiest video container format ever?

Vertically oriented iPhone video