Vertical videos are stretched and shown as horizontal and the remaining space is black
Reported by
cosminma...@gmail.com,
Jul 29 2016
|
|||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 Example URL: Steps to reproduce the problem: Address: https://web.voxer.com/ Username: cosmin_sv Password: qaqaqa1 1. Login on https://web.voxer.com 2. Go to chat "Chrome video regression" 3. Play the video on both chrome 51.0.2704.84 (64-bit) and 52.0.2743.82 (64-bit) What is the expected behavior? The video should be played correctly with the according width and height What went wrong? On latest version the video stretched and resized On other browser it displays correctly Did this work before? Yes 51.0.2704.84 (64-bit) Is it a problem with Flash or HTML5? N/A Does this work in other browsers? N/A Chrome version: 52.0.2743.82 Channel: stable OS Version: OS X 10.10.5 Flash Version: Shockwave Flash 22.0 r0
,
Jul 29 2016
Details: - MP4 with H.264 video track. - Natural size is 1280x720. - There is a 90deg rotation matrix. - We are rotating the frames but the natural size has not been adjusted to account for it. - Trivial to reproduce; affects FFmpeg software path on Linux. cosminmalutan@: Do you mind if I attach the .mp4 file here for easier debugging? emircan@: I believe you've been through this code recently, perhaps you already have some idea what is wrong? (Feel free to assign back to me.)
,
Jul 29 2016
I'm pretty excited to think about the number of my customers that are about to blow up my support channels. Is this something you think a hotfix would be pushed for?
,
Jul 29 2016
sanders@, you probably remember this bug https://bugs.chromium.org/p/webrtc/issues/detail?id=6069. That is related to MediaStream from remote client that goes through webmediaplayer_ms. This bug is just video playback which goes through webmediaplayer_impl. I am not very familiar with that area unfortunately, and I will assign it back to you in case you can find somebody. The issue can be somewhere within layer tree or here in webmediaplayer_impl. https://cs.chromium.org/chromium/src/media/blink/webmediaplayer_impl.cc?rcl=1469805843&l=1025 Also, when trying to reproduce on ToT, I git this DCHECK: https://paste.googleplex.com/5827267225714688
,
Jul 30 2016
@sande... feel free to add it.
,
Aug 1 2016
It turns out that this actually reproduces with test files that are already in our test data set (all videos with rotation metadata are affected), so I'll skip attaching any additional data. re. hotfix: This is unlikely for M52, since the problem is not dangerous. The fix should be simple enough to merge for M53 though (which just very recently branched).
,
Aug 2 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2c4784280c9414e0bd4daf9f0c606f8e52de117a commit 2c4784280c9414e0bd4daf9f0c606f8e52de117a Author: sandersd <sandersd@chromium.org> Date: Tue Aug 02 01:19:25 2016 Account for video rotation in OnVideoNaturalSizeChange() This was always wrong, but now that natural size chages are always emitted (commit 810dee4b15363fc5e1af55880afe79ebf5a1ebda) they are causing all non-square rotated videos to render with the wrong aspect ratio. This CL ensures that sizes are treated the same way on this path as in OnMetadata(). BUG= 632624 Review-Url: https://codereview.chromium.org/2198403002 Cr-Commit-Position: refs/heads/master@{#409112} [modify] https://crrev.com/2c4784280c9414e0bd4daf9f0c606f8e52de117a/media/blink/webmediaplayer_impl.cc [modify] https://crrev.com/2c4784280c9414e0bd4daf9f0c606f8e52de117a/media/blink/webmediaplayer_impl_unittest.cc
,
Aug 2 2016
,
Aug 2 2016
,
Aug 3 2016
Your change meets the bar and is auto-approved for M53 (branch: 2785)
,
Aug 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f8899e7525aca5ca5abc49c9450fb6e395efeedb commit f8899e7525aca5ca5abc49c9450fb6e395efeedb Author: Dan Sanders <sandersd@chromium.org> Date: Wed Aug 03 00:55:38 2016 Merge to M53: Account for video rotation in OnVideoNaturalSizeChange() This was always wrong, but now that natural size chages are always emitted (commit 810dee4b15363fc5e1af55880afe79ebf5a1ebda) they are causing all non-square rotated videos to render with the wrong aspect ratio. This CL ensures that sizes are treated the same way on this path as in OnMetadata(). BUG= 632624 Review-Url: https://codereview.chromium.org/2198403002 Cr-Commit-Position: refs/heads/master@{#409112} (cherry picked from commit 2c4784280c9414e0bd4daf9f0c606f8e52de117a) Review URL: https://codereview.chromium.org/2205173002 . Cr-Commit-Position: refs/branch-heads/2785@{#476} Cr-Branched-From: 68623971be0cfc492a2cb0427d7f478e7b214c24-refs/heads/master@{#403382} [modify] https://crrev.com/f8899e7525aca5ca5abc49c9450fb6e395efeedb/media/blink/webmediaplayer_impl.cc [modify] https://crrev.com/f8899e7525aca5ca5abc49c9450fb6e395efeedb/media/blink/webmediaplayer_impl_unittest.cc
,
Aug 3 2016
Verified the fix on Windows 7, MAC (10.11.6) & Ubuntu Trusty (14.04) for Google Chrome Beta Version - 53.0.2785.45 Screen-recording is attached. TE-Verified labels are added. @sandersd: Please change the status accordingly. Thank you.
,
Aug 3 2016
This is fixed in M53.
,
Aug 12 2016
Issue 632165 has been merged into this issue.
,
Aug 12 2016
Issue 637312 has been merged into this issue.
,
Aug 17 2016
Issue 637063 has been merged into this issue. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by dalecur...@chromium.org
, Jul 29 2016