New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 637063 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 632624
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Parsing Video Metadata in Chrome 52.0.2743.116

Reported by aliabuck...@gmail.com, Aug 11 2016

Issue description

<b>Chrome Version       : <Copy from: 'about:version'></b>
URLs (if applicable) : https://jsfiddle.net/wtc0a2ek/ https://www.dropbox.com/s/zaeuei1vyzoaezq/portrait_video.mov?dl=0
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: OK Version 9.1.2 (11601.7.7)
    Firefox: FAIL 47.0.1
         IE: 

What steps will reproduce the problem?
(1) Upload a portrait-oriented video taken on an iphone to the JS Fiddle linked above. 

What is the expected result?
The video should be shown in the correct dimensions of 720x1280


What happens instead?
Instead, the video appears stretched into the dimensions of 1280x720

Please provide any additional information below. Attach a screenshot if
possible.
In Version 52.0.2743.116 of Google Chrome, there seems to be a bug in parsing the metadata of videos. When uploading a portrait-oriented video from my phone, in Version 51.0.2704.84, the video would load with the correct dimensions and in the correct orientation. However, in the latest version, the video appears to be stretched out and distorted. It seems that while chrome is respecting the rotation metadata, once it is rotated, the dimensions of the video are not switched. For example, a 720x1280 video loads on chrome as a 1280x720 video. This bug can be replicated in this JS Fiddle: https://jsfiddle.net/wtc0a2ek/ using this video: https://www.dropbox.com/s/zaeuei1vyzoaezq/portrait_video.mov?dl=0. 

 
Chrome Portrait Video.png
288 KB View Download
Safari Portrait Video.png
1.7 MB View Download

Comment 1 by jackym...@gmail.com, Aug 12 2016

We encounter this problem too.
And this affect us a lot.
Please fix it or tell us what to do.
螢幕快照 2016-08-12 下午3.47.18.png
145 KB View Download
螢幕快照 2016-08-12 下午3.47.10.png
131 KB View Download
Components: Blink>Media>Video
Cc: rohi...@chromium.org vsu...@chromium.org avkodipelli@chromium.org hsiangc@chromium.org
 aliabuckner@ Can you please provide video as we are unable to access video from dropbox link. Also if possible please provide device information for investigating further. Thanks!

Comment 4 by daniel.b...@gmx.de, Aug 12 2016

I've been working with Alia on this on our end.

Here's aliabuckner@'s video re-uploaded with public access: https://www.dropbox.com/s/8e9bwaz6hxmayku/portrait_video.mov?dl=0
I'm also attaching the file to this comment.

We've been testing this on Retina MacBook Pro running OSX El Capitan with an Intel Iris GPU. Please let me know which additional specific system information you would like to get.
portrait_video.mov
5.5 MB Download
Cc: pucchakayala@chromium.org
Components: -Blink>Media>Video Internals>Media
Cc: nyerramilli@chromium.org
Labels: Needs-Feedback OS-Mac
Owner: tkonch...@chromium.org
Looping in Tushari.

Tushari@, can you please give it a try on couple of macbooks running 10.11 which has different GPU's to see if we can repro this at our end?
Cc: tkonch...@chromium.org
Labels: -Type-Bug -Pri-3 M-52 Pri-1 Type-Bug-Regression
Owner: sande...@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on MacBook Pro Retina 10.11.6 chrome version 52.0.2743.116 - Video appears stretched
Please find the screenshot

This is working fine in latest beta 53.0.2785.57 Dev 54.0.2824.0 and Canary 54.0.2830.0

Worked on reverse  bisect to find the CL with which the issue got resolved and below is the info

Last bad build: 53.0.2785.43
First good build: 53.0.2785.45

CL : https://chromium.googlesource.com/chromium/src/+log/53.0.2785.43..53.0.2785.45?pretty=fuller&n=10000

Possible suspect : https://codereview.chromium.org/2205173002

aliabuckner@, Could you please recheck on latest builds and update the thread with your observations.

Screen Shot 2016-08-16 at 12.24.07 PM.png
814 KB View Download
Mergedinto: 632624
Status: Duplicate (was: Assigned)

Sign in to add a comment