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

Play error stream MPEG-H Part2/HEVC (H.265) (hevc) #6112

Closed
5 tasks done
zsahome opened this issue Jan 15, 2024 · 11 comments
Closed
5 tasks done

Play error stream MPEG-H Part2/HEVC (H.265) (hevc) #6112

zsahome opened this issue Jan 15, 2024 · 11 comments

Comments

@zsahome
Copy link

zsahome commented Jan 15, 2024

What version of Hls.js are you using?

v1.5.1

What browser (including version) are you using?

120.0.6099.217 (Official bild), (64 bit)

What OS (including version) are you using?

Windows 10

Test stream

No response

Configuration

{  "debug": true}

Additional player setup steps

From local demo page

Checklist

Steps to reproduce

  1. on local demo page add hls stream like http://10.1.80.152:8081/dvr/135/playlist_dvr_range-1705302840-60.m3u8
  2. try to play codec "MPEG-H Part2/HEVC (H.265) (hevc)"
  3. error
  4. when play h264 hls stream - all fine "H264 - MPEG-4 AVC (part 10) (h264)"
  5. at VLC both stream normal playing

Expected behaviour

play video like VLC

What actually happened?

error

Console output

793.16 | Loading http://10.1.80.152:8081/dvr/135/playlist_dvr_range-1705302840-60.m3u8
793.162 | Loading manifest and attaching video element...
793.171 | Media element attached
793.488 | 1 quality levels found
793.488 | Manifest successfully loaded, trying to recover media error.

795.049 | Parsing error:Found no media in msn 829847 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
796.109 | Parsing error:Found no media in msn 829848 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
797.043 | Parsing error:Found no media in msn 829849 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
798.264 | Parsing error:Found no media in msn 829850 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
800.441 | Parsing error:Found no media in msn 829851 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
802.46 | Parsing error:Found no media in msn 829852 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
804.684 | Parsing error:Found no media in msn 829853 of level "http://10.1.80.152:8081/dvr/135/chunks_dvr_range-1705302840-60.m3u8?nimblesessionid=140"
804.685 | A media error occurred: fragParsingError

Chrome media internals output

{
  "properties": {
    "render_id": 34,
    "player_id": 0,
    "created": "2024-01-15 07:22:06.239927 UTC",
    "info": "ChunkDemuxer",
    "origin_url": "file:///",
    "kFrameUrl": "file:///D:/hls-v1.5.1/demo/index-light.html?src=http%3A%2F%2F10.1.80.152%3A8081%2Fdvr%2F135%2Fplaylist_dvr_range-1705302840-60.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==",
    "kFrameTitle": "hls.js demo",
    "url": "blob:null/06d2c62d-b6ea-49cd-8c2a-c693ee49a97a",
    "kRendererName": "RendererImpl",
    "renderer_created": {
      "renderer_engine": "Default",
      "renderer_type": "RendererImpl"
    },
    "pipeline_state": "kStopped",
    "duration": 65.977999,
    "error": "MediaSource endOfStream before demuxer initialization completes (before HAVE_METADATA) is treated as an error. This may also occur as consequence of other MediaSource errors before HAVE_METADATA.",
    "event": "kWebMediaPlayerDestroyed"
  },
  "events": [
    {
      "time": 0,
      "key": "created",
      "value": "2024-01-15 07:22:06.239927 UTC"
    },
    {
      "time": 45.40000000037253,
      "key": "info",
      "value": "AV1 decoder support: 0, WebMfDecoderCheck: not null, kMediaFoundationClearAV1Support enabled: 1, disable_av1_accelerated_decode_gpu_workaround: 0, av1_hw_decoder_support: 0, vp9_decoder_support: 1"
    },
    {
      "time": 45.69400000013411,
      "key": "info",
      "value": "kForceMFMediaEngineRenderer:No; kMediaFoundationClearPlayback:No; DCompDisabled:No; RemotePlaybackDisabled:No; DomainOverride:Uninitialized; CDMAvailable:Yes; MFOverrideEnabled:No; MFClearWorkaround:Enabled;CanUseVidSuperRes:No; IsOnBattery: No; BatteryExclusiveStart:No"
    },
    {
      "time": 46.031000001356006,
      "key": "origin_url",
      "value": "file:///"
    },
    {
      "time": 46.03800000064075,
      "key": "kFrameUrl",
      "value": "file:///D:/hls-v1.5.1/demo/index-light.html?src=http%3A%2F%2F10.1.80.152%3A8081%2Fdvr%2F135%2Fplaylist_dvr_range-1705302840-60.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ=="
    },
    {
      "time": 46.05100000090897,
      "key": "kFrameTitle",
      "value": "hls.js demo"
    },
    {
      "time": 46.35400000028312,
      "key": "url",
      "value": "blob:null/06d2c62d-b6ea-49cd-8c2a-c693ee49a97a"
    },
    {
      "time": 46.39600000157952,
      "key": "info",
      "value": "ChunkDemuxer"
    },
    {
      "time": 46.424000000581145,
      "key": "kRendererName",
      "value": "RendererImpl"
    },
    {
      "time": 46.50999999977648,
      "key": "renderer_created",
      "value": {
        "renderer_engine": "Default",
        "renderer_type": "RendererImpl"
      }
    },
    {
      "time": 78.30599999986589,
      "key": "pipeline_state",
      "value": "kStarting"
    },
    {
      "time": 542.7750000003725,
      "key": "duration",
      "value": 65.977999
    },
    {
      "time": 4084.373000001535,
      "key": "error",
      "value": "MediaSource endOfStream before demuxer initialization completes (before HAVE_METADATA) is treated as an error. This may also occur as consequence of other MediaSource errors before HAVE_METADATA."
    },
    {
      "time": 4084.5789999999106,
      "key": "pipeline_state",
      "value": "kStopping"
    },
    {
      "time": 4084.5830000005662,
      "key": "event",
      "value": "kWebMediaPlayerDestroyed"
    },
    {
      "time": 4084.586000001058,
      "key": "pipeline_state",
      "value": "kStopped"
    }
  ]
}
@zsahome zsahome added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Jan 15, 2024
@robwalch
Copy link
Collaborator

Does #5847 resolve your issue?

@zsahome
Copy link
Author

zsahome commented Jan 15, 2024

#5847 решает вашу проблему?

I houpe yes. Thanks

@devoldemar
Copy link
Contributor

Since no feedback from @zsahome , it seems the issue is not actual anymore.

@robwalch robwalch added this to the 1.6.0 milestone Feb 17, 2024
@robwalch robwalch added Missing Feature Not Supported and removed Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Feb 17, 2024
@zsahome
Copy link
Author

zsahome commented Feb 18, 2024

V 1.5.6 not fix this problem.
Real issue is #4943
Waiting....

@devoldemar
Copy link
Contributor

devoldemar commented Feb 18, 2024

V 1.5.6 not fix this problem. Real issue is #4943 Waiting....

@zsahome The link http://10.1.80.152:8081/dvr/135/playlist_dvr_range-1705302840-60.m3u8 is stale. Could you provide a public link to working playlist?

@zsahome
Copy link
Author

zsahome commented Feb 18, 2024

Hi.
Sorry, link only inside vpn. I can attach mp4 files with problem codecs

h265video.mp4 error playing

h265video.mp4

h264video.mp4 play correct

h264video.mp4

Video from Optimus ip camera.

@devoldemar
Copy link
Contributor

h265video.mp4 error playing

It works in Chrome. More likely your browser just can't decode H.265. Chrome supports it only if hardware acceleration is on (see browser Settings) and graphics card can perform decoding (see chrome://gpu, search for hevc).

@zsahome
Copy link
Author

zsahome commented Feb 18, 2024

In Chrome works .mp4 file, but not work .m3u8 by hls.js
I attach m3u8 playlist
h265video.m3u8.zip

@devoldemar
Copy link
Contributor

devoldemar commented Feb 18, 2024

1.5.6

HEVC in MPEG-TS is not supported in this release. The feature was added to 1.6.0 milestone.
You may build the library from source code. The video segments from your attachment are played OK.

@zsahome
Copy link
Author

zsahome commented Feb 18, 2024

When used (hls.light.js)
image

But when used (hls.js)
image

@robwalch
Copy link
Collaborator

When used (hls.light.js)

That is by design. H265 in TS is not supported in the light build (#6194).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants