Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIPELINE_ERROR_DECODE: video decode error #5456

Closed
5 tasks done
drajvver opened this issue May 4, 2023 · 2 comments
Closed
5 tasks done

PIPELINE_ERROR_DECODE: video decode error #5456

drajvver opened this issue May 4, 2023 · 2 comments
Labels
Bug Need sample stream Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix.

Comments

@drajvver
Copy link

drajvver commented May 4, 2023

What version of Hls.js are you using?

v1.4.0

What browser (including version) are you using?

Chrome 111.0.0

What OS (including version) are you using?

Android 11

Test stream

No response

Configuration

{
  "debug": true,
  "enableWorker": true,
  "lowLatencyMode": true,
  "backBufferLength": 90,
  "abrEwmaDefaultEstimate": 5000000,
  "maxBufferLength": 120,
  "minBufferLength": 20,
  "emeEnabled": true,
}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. Play stream in the Android Chrome browser
  2. Wait for 1-3 segments to pass
  3. Error occurs and playback freezes

Expected behaviour

Playback works fine, same as on desktop browsers.

What actually happened?

Playback breaks and media recovery kicks in, starting it back up.
Stream works fine in desktop browsers and in some Android phones as well. It's hard to pinpoint what the exact issue is, maybe you will be able to help

Console output

[log] > [transmuxer.ts]: Flushed fragment 25 of level 4
hls.js:9806 [log] > [stream-controller]: PARSING->PARSED
hls.js:8967 [log] > [stream-controller]: Buffered main sn: 25 of level 4 (frag:[99.968-104.021] > buffer:[0.021-103.957])
hls.js:9806 [log] > [stream-controller]: PARSED->IDLE
hls.js:9074 [log] > [stream-controller]: Loading fragment 26 cc: 0 of [0-101] level: 4, target: 103.957
hls.js:9806 [log] > [stream-controller]: IDLE->FRAG_LOADING
hls.js:8841 [log] > [stream-controller]: Loaded fragment 26 of level 4
hls.js:9806 [log] > [stream-controller]: FRAG_LOADING->PARSING
hls.js:14939 [log] > [transmuxer.ts]: Flushed fragment 26 of level 4
hls.js:9806 [log] > [stream-controller]: PARSING->PARSED
hls.js:8967 [log] > [stream-controller]: Buffered main sn: 26 of level 4 (frag:[103.957-108.021] > buffer:[0.021-107.968])
hls.js:9806 [log] > [stream-controller]: PARSED->IDLE
hls.js:9074 [log] > [stream-controller]: Loading fragment 27 cc: 0 of [0-101] level: 4, target: 107.968
hls.js:9806 [log] > [stream-controller]: IDLE->FRAG_LOADING
hls.js:8841 [log] > [stream-controller]: Loaded fragment 27 of level 4
hls.js:9806 [log] > [stream-controller]: FRAG_LOADING->PARSING
hls.js:14939 [log] > [transmuxer.ts]: Flushed fragment 27 of level 4
hls.js:9806 [log] > [stream-controller]: PARSING->PARSED
hls.js:8967 [log] > [stream-controller]: Buffered main sn: 27 of level 4 (frag:[107.968-112.021] > buffer:[0.021-111.957])
hls.js:9806 [log] > [stream-controller]: PARSED->IDLE
hls.js:9074 [log] > [stream-controller]: Loading fragment 28 cc: 0 of [0-101] level: 4, target: 111.957
hls.js:9806 [log] > [stream-controller]: IDLE->FRAG_LOADING
hls.js:8841 [log] > [stream-controller]: Loaded fragment 28 of level 4
hls.js:9806 [log] > [stream-controller]: FRAG_LOADING->PARSING
hls.js:14939 [log] > [transmuxer.ts]: Flushed fragment 28 of level 4
hls.js:9806 [log] > [stream-controller]: PARSING->PARSED
hls.js:8967 [log] > [stream-controller]: Buffered main sn: 28 of level 4 (frag:[111.957-116.021] > buffer:[0.021-115.968])
hls.js:9806 [log] > [stream-controller]: PARSED->IDLE
hls.js:9074 [log] > [stream-controller]: Loading fragment 29 cc: 0 of [0-101] level: 4, target: 115.968
hls.js:9806 [log] > [stream-controller]: IDLE->FRAG_LOADING
hls.js:25703 [log] > recoverMediaError
hls.js:25635 [log] > detachMedia
hls.js:18848 [log] > [buffer-controller]: media source detaching
hls.js:9806 [log] > [stream-controller]: FRAG_LOADING->STOPPED
hls.js:9806 [log] > [subtitle-stream-controller]: IDLE->STOPPED
hls.js:25624 [log] > attachMedia
hls-demo.js:25001 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!
handleVideoEvent @ hls-demo.js:25001
error (async)
addVideoEventListeners @ hls-demo.js:24936
loadSelectedStream @ hls-demo.js:24459
applyConfigEditorValue @ hls-demo.js:25496
onclick @ ?src=https%3A%2F%2Fvz-95b8f105-d3f.flufflecdn.net%2Fde017668-ee00-44f1-8186-ee7cad5da1cd%2Fplaylist.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==:140
hls.js:18737 [log] > [buffer-controller]: Media source opened
hls.js:19282 [log] > [buffer-controller]: Updating Media Source duration to 405.100
hls.js:15365 [log] > [stream-controller]: Override startPosition with lastCurrentTime @15.972
hls.js:9806 [log] > [stream-controller]: STOPPED->IDLE
hls.js:9074 [log] > [stream-controller]: Loading fragment 4 cc: 0 of [0-101] level: 4, target: 15.972
hls.js:9806 [log] > [stream-controller]: IDLE->FRAG_LOADING
hls.js:9806 [log] > [subtitle-stream-controller]: STOPPED->IDLE
hls.js:14730 [log] > injecting Web Worker for "main"
hls.js:14831 [log] > [transmuxer-interface, main]: Starting new transmux session for sn: 4 p: -1 level: 4 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: true
        timeOffset: 15.957333333333333
        initSegmentChange: true
hls.js:8841 [log] > [stream-controller]: Loaded fragment 4 of level 4

Chrome media internals output

No response

@drajvver drajvver added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels May 4, 2023
@robwalch
Copy link
Collaborator

robwalch commented May 9, 2023

Hi @drajvver,

Can you provide an HLS asset that can be used to reproduce the issue?

@robwalch
Copy link
Collaborator

Closing due to inactivity. May be a duplicate of #5632.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Need sample stream Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix.
Projects
None yet
Development

No branches or pull requests

2 participants