When playback video in background for a while and switch back, videos freezes up to 10 seconds (Optimize background video playback enabled)
Reported by
alexandr...@gmail.com,
Oct 19
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Steps to reproduce the problem: 1. Open fiddle http://jsfiddle.net/v1j3beaL/3/ 2. Select attached video 3. Open chrome://media-internals/ 4. Wait for event Selected video track: [] and some more time 5. Switch to tab with video 6. Video will freeze for some time (from 0 to 10 seconds) Video have 5 seconds keyframe distance What is the expected behavior? Video not freeze when switch tab from background to foreground What went wrong? Video will freeze for some time (from 0 to 10 seconds) Did this work before? N/A Does this work in other browsers? Yes Chrome version: 69.0.3497.100 Channel: stable OS Version: OS X 10.13.6 Flash Version:
,
Oct 23
Unable to reproduce the issue on reported chrome version #69.0.3497.100 and latest chrome #72.0.3588.0 on windows 10 by following below steps. Steps: ===== 1.Launched chrome. 2.Navigated to "http://jsfiddle.net/v1j3beaL/3/" 3.Attached the given video file(good_big.mp4 mentioned in comment#0). 4.Opened chrome://media-internals/. 5.Waited for some time but unable to observe any event Selected video track: []. 6.Switched back to tab with video, observed the video is getting played. Note: Tried multiple time by waiting ~5mins but unable to reproduce the issue. Attached screencast for reference. Reporter: Could you please review attached screencast and let us know if anything is being missed here. Request you to retry the issue by creating a new person without any apps and extensions installed, reset all flags to default on latest chrome and let us know if the issue still persists. Thanks.!
,
Oct 23
I made a record how to reproduce this issue, may be it will help I can provide any other required details
,
Oct 23
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 14
swarnasree.mukkala@chromium.org Should i create new issue?
,
Nov 15
Able to reproduce the issue on reported chrome version #69.0.3497.100, latest stable #70.0.3568.102 and latest chrome #72.0.3611.0 using Mac 10.13.6, Windows 10 and Ubuntu 17.10 and issue is not seen on M-63 builds with sample URL and steps as per comment#0. We will provide bisect information soon. Hence adding Needs-Bisect label and marking it as Untraiged. Thanks.!
,
Nov 16
When tried to bisect the issue, observed that the issue has an inconsistent behaviour on Windows 10, Mac OS 10.14 and Ubuntu 17.10. Hence we could not provide bisect information, tentatively removong Needs-Bisect label. Requesting someone from Blink>Media team to kindly look into the issue. Thanks.!
,
Nov 27
Hello, any updates on this?
,
Dec 17
Hello, any updates on this?
,
Yesterday
(37 hours ago)
Since the workaround has been removed as of the latest release, any updates on this?
,
Today
(15 hours ago)
,
Today
(12 hours ago)
The provided media does not have a 5 second keyframe distance, but the MP4 metadata claims that it does. As a result, the media log includes:
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
00:00:00.017 debug (Log limit reached. Further similar entries may be suppressed): ISO-BMFF container metadata for video frame indicates that the frame is a keyframe, but the video frame contents indicate the opposite.
Using ffprobe, we can extract a complete list of real video keyframes:
$ ffprobe -select_streams v -show_frames good_big.mp4 | egrep 'key_frame|best_effort_timestamp_time' | grep -A1 key_frame=1 | grep best_effort_timestamp_time 2>/dev/null
best_effort_timestamp_time=0.000000
best_effort_timestamp_time=14.666667
best_effort_timestamp_time=20.533333
best_effort_timestamp_time=35.533333
best_effort_timestamp_time=46.800000
best_effort_timestamp_time=61.800000
best_effort_timestamp_time=76.800000
best_effort_timestamp_time=91.800000
best_effort_timestamp_time=102.066667
best_effort_timestamp_time=117.066667
best_effort_timestamp_time=132.066667
best_effort_timestamp_time=147.066667
best_effort_timestamp_time=154.800000
Enabling the MseBufferByPts feature also enables a workaround for incorrectly marked keyframes ( issue 879734 ); the result is that background track disable never triggers (keyframe distance too large). I am marking this bug as dependent on MseBufferByPts rollout.
,
Today
(10 hours ago)
@#12 in addition to issue 879734 , issue 892365 in particular scoped the usage of mp4 video frame contents' keyframeness metadata to only when MseBufferByPts is enabled. (This agrees with your post, just adds another bug link.)
,
Today
(10 hours ago)
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by phanindra.mandapaka@chromium.org
, Oct 21