Bug 205611 - Videos that were captured on iOS/iPadOS device with 180° rotation fail to drawImage to canvas past first frame
Summary: Videos that were captured on iOS/iPadOS device with 180° rotation fail to dra...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 13
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-27 16:49 PST by Jordan Austin
Modified: 2020-03-17 23:20 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Austin 2019-12-27 16:49:28 PST
Here is an example of an issue with quicktime movie captured from an iPhone while rotated 180° will be corrected in the video element, however when trying to drawImage to canvas, only the currentTime = 0 will ever be drawn. 

See this example: https://codepen.io/jordanaustin/pen/VwYzmGw

Capture image, then seek past currentTime = 0 and you'll still only get the image from the video elements first frame.
Comment 1 Radar WebKit Bug Importer 2019-12-28 09:49:46 PST
<rdar://problem/58226153>
Comment 2 Jordan Austin 2020-01-07 09:52:07 PST
Is there anything else I can provide that would be useful for triaging this bug? This is a pretty serious issue that is exclusive to Webkit.
Comment 3 Maciej Stachowiak 2020-03-17 22:59:30 PDT
Does this affect a current website or app, or one that's currently being built? If so, that info would help prioritize.
Comment 4 Jordan Austin 2020-03-17 23:20:54 PDT
Yes, one of our products videoanalysis.app is a web application that allows science students to analyze motion of real world objects in videos.

This is Vernier's web application counter part to Vernier Video Physics (https://apps.apple.com/us/app/vernier-video-physics/id389784247)

This bug causes problems for nearly every Safari user, forcing us to employ complex work arounds, including WASM moduals that transcode or teansmux every video in Safari