Cross-browser WebCodecs test shows inconsistent handling of video rotation metadata

A developer testing the WebCodecs API encountered consistent rotation handling issues across four major browsers. Chrome, Chromium, Firefox, and WebKit all produced sideways video frames when decoding portrait-oriented MP4 files containing rotation metadata. The rotation information is stored in the MP4 container's track header rather than within the video data itself. Browser implementations inconsistently read and applied this metadata during the decoding process. This inconsistency affects developers relying on WebCodecs for precise video frame manipulation.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in