local video captured with drawImage is flipped
Reported by
defor...@gmail.com,
Mar 3 2016
|
||||||||
Issue descriptionExample URL: https://3dthis.com/bugs/chromevidcap.htm Steps to reproduce the problem: Go to https://3dthis.com/bugs/chromevidcap.htm and follow instructions What is the expected behavior? Captured video frame should not be flipped. What went wrong? If the local video is PORTRAIT, capture is flipped horizontally. If the local video is LANDSCAPE, capture is flipped vertically Did this work before? Yes Chrome Dev 50.0.2652.3 Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 50.0.2661.9 Channel: dev OS Version: 5.1.1 Flash Version: This is related to issue #582385 , which was fixed in 50.0.2652.3 It seems that there is also a capture flip issue if the video comes from another source (i.e. downloaded .mp4)
,
Mar 3 2016
,
Mar 3 2016
i'm not able to repro this @ToT with or without unified media pipeline. will try m50.
,
Mar 3 2016
m50 (2661.6) also doesn't repro on my n5. trying again with 2661.13, still no repro. @defor...: what device are you seeing this behavior on?
,
Mar 4 2016
Samsung galaxy S6 (SM-G920F), attached screen capture. I also tested on Samsung Tab3 (GT-P5210 Android 4.4.2), the capture is totally corrupted (displaying data outside video buffer?) Both are OK (in landscape mode only) with Chrome Beta and release.
,
Mar 7 2016
,
Mar 8 2016
I can see the 180 degree rotation shown in #5 on an N6 with current chrome dev, but it doesn't seem to be a regression from chrome stable because the same behaviour appears there for me.
,
Mar 8 2016
Strange, attached is same capture as #5 using chrome stable 48.0.2564.95. The problem with chrome stable/beta is when video is shot in portrait mode (see issue #582385 ). This was fixed with dev 50.0.2652.3 but flip occurs with current dev.
,
Mar 8 2016
About #7, tobiajs, yes there is also 180° rotation on chrome stable depending how you hold horizontally the phone when you shoot the video: - Menu switch towards right - no rotation - Menu switch towards left - 180° rotation And also, the issue on Chrome dev is a flip, not a rotation.
,
Apr 4 2016
deforeit@, the unified pipeline for video playback is enabled in M51. Can you upgrade to the latest chrome M51 dev build and try again? Please go to chrome://flags, look for "Enable the unified media pipeline on Android" flag, make sure it is enabled (a pressable Disable is present). Please report the result. thanks
,
Apr 5 2016
I'm currently out of office with very limited Internet. I will check next week.
,
Apr 6 2016
Thank you for providing more feedback. Adding requester "yiningc@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 11 2016
yini...@chromium.org, I've tried what you suggest on #10. Nothing is changed since initial March 3rd report. Furthermore, there are also issues with ordinary web (not local) videos captures: - on S6 the capture is flipped vertically - on TAB3 and S3 the capture displays data out of the video buffer which could be a security issue. See http://3dthis.com/bugs/vidcap.htm for a very simple example.
,
Apr 11 2016
I can reproduce #13 on a Nexus 6 on 51.0.2700.2 but I landed a CL that's present in 51.0.2703.2 which fixes this issue on that device. Could you please check if the S6 is fixed on that version?
,
Apr 11 2016
I don't have access to 51.0.2703.2 yet... Any way to get it?
,
Apr 11 2016
My apologies, I don't think there is a way to access that version. But the next chrome dev version should be fixed as well.
,
Apr 12 2016
deforeit@, please wait for becomes available and try on it. you can see when the build is available at http://www.chromium.org/developers/calendar. Look for "Current Release Info"
,
Apr 13 2016
tobiasjs@ I just received 51.0.2704.5 and all is working nicely on S6 now, thanks. However, there's still a problem with older phones/tablets like TAB3/S3, see attached screen capture, but I don't know if it's chromium strategy to support older devices (It's not a problem for me...) Thanks again and best regards! ps. I'm also having video capture issues on Chrome/Safari ios. Should I open a new issue here?
,
Apr 13 2016
If you're having the same issue with Chrome and Safari on iOS, then it's probably an issue with the iOS WKWebView component, and not something that Chromium gets to do anything about at all. The S3 issue is probably something that we would want to address, although probably by clearing the texture copy target, as it looks at first blush like it's a problem with the GL driver, not with Chrome. Could you please file a separate bug for that? I think the Note 3 has an official Lollipop release. Does it happen on that OS version? It would also be good to know if this has always been broken, or, if not, when it regressed.
,
Apr 13 2016
tobiajs@ I have only access to the kitekat OS on Tab3. I filled issue #603139 regarding this problem and this is a regression (works with Beta)
,
Apr 29 2016
tobiajs@ There is a problem with 52.0.2718.2: A local video recorded in PORTRAIT mode is displayed in LANDSCAPE (not rotated just distorded), see attached screen capture. This was OK with 51.0.2704.5, is also OK with beta 51.0.2704.28 To reproduce: https://3dthis.com/bugs/chromevidcap.htm
,
Jun 9 2016
,
Jun 13 2016
The issue mentioned under #21 is now happening on Chrome Beta 52. I just want to make sure this is taken care of before it goes to release... Shall I open a new issue for it?
,
Feb 14 2017
This works fine since V52 release version, so you may mark it as fixed.
,
Feb 14 2017
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by b...@chromium.org
, Mar 3 2016