New issue
Advanced search Search tips

Issue 645998 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

webm file fails to play in chrome

Project Member Reported by fischman@google.com, Sep 12 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2816.0 Safari/537.36

Example URL:
http://go/rtvft

Steps to reproduce the problem:
1. Navigate to URL above

What is the expected behavior?
Video plays out correctly (as it does in avplay and firefox 48.0).

What went wrong?
Video canvas resizes but doesn't play.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 54.0.2816.0  Channel: beta
OS Version: goobuntu
Flash Version: Shockwave Flash 23.0 r0

Downloading the file locally allows playback with e.g. avplay, but chrome fails to play it even from local file://.
 

Comment 1 by fischman@google.com, Sep 12 2016

(note video URL is google-internal-only; do not download+attach it to this bug!)
Might be because clip reports duration of 0 which causes an immediate end.
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 13 2016

Labels: Hotlist-Google
Labels: Needs-Feedback
I am unable to navigate to repro url on Firefox. On Chrome, it is played but the length is 0 seconds so it finish immediately.
fischman@, can you confirm the repro url is still valid?
Owner: chcunningham@chromium.org
Status: Assigned (was: Unconfirmed)
It's a corp url so probably can't access it in Firefox w/o corp proxy. There's either a bug here in our duration parsing or a race in ended event. Over to chris for a closer look.
Internal bug for incorrect duration: b/31570791
Sample video for when original link expires is at go/mvndb (google.com only).
(note that Drive transcoding hides the problem; in order to repro it you need to download the file and then try playing e.g. through a file:// URL)
Cc: chcunningham@chromium.org
Owner: dalecur...@chromium.org
https://codereview.chromium.org/2440563004 fixes this, but the experience sucks if the controls are visible: duration increases and current time thumb drops back appropriately. Definitely would be preferable to have the seek indices and accurate duration for usability.
Cc: mlamouri@chromium.org
FWIW, Firefox has the same behaviour with regards to the duration increasing (which is expected I guess :)).
Project Member

Comment 10 by bugdroid1@chromium.org, Jan 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/560640b659f688387d4c239e00f2dc941607e9f0

commit 560640b659f688387d4c239e00f2dc941607e9f0
Author: dalecurtis <dalecurtis@chromium.org>
Date: Sat Jan 28 02:50:05 2017

Update duration when demuxed packets exceed known duration.

This applies a similar algorithm to what MSE does, if we see a packet
greater than the current duration or the duration is unknown, notify
Blink of the updated duration.

This prevents us from ending playback earlier on clips which report
incorrect durations; specifically those which report 0.1s or similar.

The UX experience is not great when this occurs, but is similar to what
happens in other browsers. The timeline will increasingly fall behind
as more content is demuxed and seeking is hard to accomplish.

BUG= 645998 , 656599
TEST=updated test expectations.

Review-Url: https://codereview.chromium.org/2645953004
Cr-Commit-Position: refs/heads/master@{#446889}

[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/content/renderer/media/render_media_log.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/content/renderer/media/render_media_log.h
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/content/renderer/media/render_media_log_unittest.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/filters/ffmpeg_demuxer.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/filters/ffmpeg_demuxer.h
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/filters/ffmpeg_demuxer_unittest.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/test/pipeline_integration_test.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/test/pipeline_integration_test_base.cc
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/media/test/pipeline_integration_test_base.h
[add] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/compositing/video/video-reflection-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/media/remove-while-loading.html
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/media/video-play-stall-before-meta-data.html
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/media/video-play-stall.html
[delete] https://crrev.com/a92d829bc8a9e2c3343010d3691b9da93b7275eb/third_party/WebKit/LayoutTests/http/tests/resources/load-and-stall.cgi
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-allowed.html
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-blocked.html
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-redirect-blocked-by-connect-src.html
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/media/color-profile-video-expected.png
[delete] https://crrev.com/a92d829bc8a9e2c3343010d3691b9da93b7275eb/third_party/WebKit/LayoutTests/media/color-profile-video-seek-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/media/content/test.ogv
[delete] https://crrev.com/a92d829bc8a9e2c3343010d3691b9da93b7275eb/third_party/WebKit/LayoutTests/platform/linux/compositing/video/video-reflection-expected.png
[add] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/color-profile-video-seek-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/color-profile-video-seek-filter-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-horizontal-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-vertical-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-canvas-alpha-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-overlay-cast-dark-rendering-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-remove-insert-repaints-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-zoom-controls-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/media/video-zoom-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/virtual/android/fullscreen/full-screen-iframe-allowed-video-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/virtual/android/fullscreen/video-controls-timeline-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/linux/virtual/android/fullscreen/video-scrolled-iframe-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac-mac10.10/media/track/track-cue-rendering-vertical-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac-mac10.9/media/track/track-cue-rendering-vertical-expected.png
[delete] https://crrev.com/a92d829bc8a9e2c3343010d3691b9da93b7275eb/third_party/WebKit/LayoutTests/platform/mac/compositing/video/video-reflection-expected.png
[add] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/color-profile-video-seek-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/color-profile-video-seek-filter-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/track/track-cue-rendering-vertical-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-aspect-ratio-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-canvas-alpha-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-layer-crash-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-overlay-cast-dark-rendering-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-remove-insert-repaints-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-replaces-poster-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-transformed-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-zoom-controls-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/mac/media/video-zoom-expected.png
[delete] https://crrev.com/a92d829bc8a9e2c3343010d3691b9da93b7275eb/third_party/WebKit/LayoutTests/platform/win/compositing/video/video-reflection-expected.png
[add] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/color-profile-video-seek-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/color-profile-video-seek-filter-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-horizontal-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-vertical-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-aspect-ratio-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-canvas-alpha-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-overlay-cast-dark-rendering-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-remove-insert-repaints-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-zoom-controls-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win/media/video-zoom-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win7/media/track/track-cue-rendering-vertical-expected.png
[add] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win7/media/video-layer-crash-expected.png
[modify] https://crrev.com/560640b659f688387d4c239e00f2dc941607e9f0/third_party/WebKit/LayoutTests/platform/win7/media/video-transformed-expected.png

Labels: -OS-Linux M-58 OS-All
Should be fixed in most recent canaries. Sorry for the delay!
Status: Fixed (was: Assigned)
Labels: TE-Verified-M58 TE-Verified-58.0.3000.0
Tested the issue on windows 7, Mac 10.12.2, Linux Ubuntu 14.04 using chrome beta version#58.0.3000.0 with the steps mentioned in comment #0.
(URL-http://go/rtvft) video played successfully with valid corp credentials.Hence adding TE-Verified label for M-58.

Thanks!!

Sign in to add a comment