New issue
Advanced search Search tips

Issue 806297 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Possible decoder issue with messy, HLS packaged h264, stream.

Reported by allenb...@gmail.com, Jan 26 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10032.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.140 Safari/537.36
Platform: 10032.86.0 (Official Build) stable-channel caroline

Example URL:
https://video-dev.github.io/hls.js/demo/?src=https%3A%2F%2Fpanoptoscratch.s3.amazonaws.com%2Fgmathis%2Fticket-00393751%2Fmaster.m3u8&enableStreaming=true&autoRecoverError=false&enableWorker=true&dumpfMP4=false&levelCapping=-1&defaultAudioCodec=undefined

Steps to reproduce the problem:
1. Visit link
2. Start video
3. Jump to the 2 minute mark

What is the expected behavior?
Video continues to play, maybe complain about out of order PTS.

What went wrong?
playback freezes and the follow message is visible:

The video playback was aborted due to a corruption problem or because the video used features your browser did not support - PIPELINE_ERROR_DECODE: video decode error

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? No
 On chromeos, through arc, firefox for android has the same issue.

Chrome version: 63.0.3239.140  Channel: stable
OS Version: 10032.86.0
Flash Version: 

Contents of chrome://gpu: 

Enabling MseBufferByPts does not resolve this.
Disabling hardware accelerated video decoding resolves this.
Flash HLS does not have this issue.
Reproduces on the 01-24-2018 nightly.
Only reproduces on chromebook.

firefox (with arc) fails in the same location, but it works if you use a html5 video control and have the m3u8 as it's source.
vlc (with arc) plays the video but has logs below:
01-24 14:02:23.784 D/VLC     (26291): [ca704070/678f] libvlc stream: Retrieving https://panoptoscratch.s3.amazonaws.com:443/gmathis/ticket-00393751/186690/00012.ts @0
01-24 14:02:23.784 D/VLC     (26291): [ca704070/678f] libvlc stream: net: connecting to panoptoscratch.s3.amazonaws.com port 443
01-24 14:02:24.244 E/ArcVideoAcceleratorProxy(26291): onMessageReceived, OnError error=4
01-24 14:02:24.244 E/ArcCodec(26291): ArcVideoAccelerator error: 4
01-24 14:02:24.244 E/MediaCodec(26291): Codec reported err 0xfffffc14, actionCode 0, while in state 6
01-24 14:02:24.246 E/NdkMediaCodec(26291): sf error code: -38
01-24 14:02:24.246 W/VLC     (26291): [ca70c3b0/679d] libvlc decoder: AMediaCodec.dequeueOutputBuffer failed
01-24 14:02:24.246 W/VLC     (26291): [ca70c3b0/679d] libvlc decoder: OutThread stopped
01-24 14:02:24.345 I/VLC/VideoPlayerActivity(26291): remove View!
01-24 14:02:24.600 E/NdkMediaCodec(26291): sf error code: -38
01-24 14:02:24.600 D/VLC     (26291): [f0c28230/679a] libvlc video output: picture might be displayed late (missing 12 ms)
01-24 14:02:24.600 E/NdkMediaCodec(26291): sf error code: -38
 
Cc: posciak@chromium.org
I'd guess the hardware decoder is having issues with the stream and rejecting it.

Comment 2 by allenb...@gmail.com, Jan 26 2018

That is likely the issue, is it a concern that it works in software and on desktop w/hardware encoding?
Labels: Needs-Feedback
I don't repro this bug on Win + Chrome 66 build. 
allenbenz@, does this bug only repro on Chromebook?
Components: -Internals>Media OS>Kernel>Video Internals>Media>Hardware

Comment 5 by vsu...@chromium.org, Jan 31 2018

Cc: avkodipelli@chromium.org

Comment 6 by ab...@panopto.com, Jan 31 2018

The issue only impacts Chromebook.
Cc: vsu...@chromium.org
Labels: -Needs-Feedback M-64
Status: Untriaged (was: Unconfirmed)
-- Able to repo issue on caroline device on 10176.65.0/64.0.3282.134.

-- Issue not observed by disabling hardware decode from about:flags

Feedback report: 85014508882
Media-internals : https://pantheon.corp.google.com/storage/browser/chromiumos-test-logs/bugfiles/cr/806297
Labels: M-65
Issue observed on M65(10323.9.0/65.0.3325.35 )
Components: -Internals>Media>Hardware

Sign in to add a comment