Adaptive HLS - Poor quality on playback starts

By design Issue #8136910

Details

Author
g b.
Created
Jul 11, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
25.10586
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Create video tag on html page.
  2. On src attribute use HLS playlist for example you can use this playlist: http://live-api.miraclechannel.com/hls/miracle1.m3u8
  3. MS Edge always play first chunk of HLS stream with poor quality even if I have really good network speed.
    This playlist has three bitrates (256x192, 480x360 and 768x576). Player should detect network speed and start playback with detected bitrate but It looks like the player always load first chunk with poor quality and after that choose correct bitrate… I tested this problem on other adaptive HLS streams with same results.

Do you think that player behavior will be improved in near future?

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

    • Do you have another link to a video file I can use to create a repro of this?

      The link you provided shown an nginx 404 page.

      All the best,
      The MS Edge Team

    • Hi,
      Yes I have another link here: http://level3cdn.screen9.com/M/V/a/Y/aY4Oe1-80MMEAFyK3JJDzw_auto_hls_alias.m3u8?token=082b75c444ade3a3594f3
      Does it work for you? or Do you have still problem?

      Cheers,
      GregB

    • Hi,
      Yes I have another link here: http://level3cdn.screen9.com/M/V/a/Y/aY4Oe1-80MMEAFyK3JJDzw_auto_hls_alias.m3u8?token=082b75c444ade3a3594f3
      Does it work for you? or Do you have still problem?
      Cheers,
      GregB

    • Hello Brad,
      I don’t see any feedback from you. I’m wondering what is the status of it? Could you reproduce a problem? Any progress here?

      All the best,
      GW

    • Very sorry about the delay on this item of feedback.

      I am able to load up that video and it seems to be in great quality from beginning to the end. I am on 10586, too.

      Is it possible that the anniversary update (build: 14393.10) fixed this problem on your end?

    • Hello again,
      I’ve checked the newest build as you suggested above and still see the same effect. In most cases I have to wait ~5sec when the video switches to the better quality.

      Example page:
      http://pss9dev.com/~grwis/example/

      Tested on (Edge -> Settings):
      About this app
      Microsoft Edge 38.14393.0.0
      Microsoft EdgeHTML 14.14393

      My network speed: 90Mbps

      1. Playlists (m3u8):
        http://csp.picsearch.com/media/1/2/12XYoI9OBpBLpHuCxRR02Q_auto_hls.m3u8
      #EXTM3U
      #EXT-X-VERSION:4
      #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2300108,CODECS="avc1.64001f,mp4a.40.2",RESOLUTION=1024x436
      12XYoI9OBpBLpHuCxRR02Q_720p_hls/playlist.m3u8
      #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1067827,CODECS="avc1.4d001f,mp4a.40.2",RESOLUTION=854x364
      12XYoI9OBpBLpHuCxRR02Q_480p_hls/playlist.m3u8
      #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=662323,CODECS="avc1.4d001e,mp4a.40.2",RESOLUTION=640x272
      12XYoI9OBpBLpHuCxRR02Q_360p_hls/playlist.m3u8
      #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=344678,CODECS="avc1.4d001e,mp4a.40.2",RESOLUTION=428x182
      12XYoI9OBpBLpHuCxRR02Q_240p_hls/playlist.m3u8
      #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=162201,CODECS="avc1.4d001e,mp4a.40.2",RESOLUTION=256x110
      12XYoI9OBpBLpHuCxRR02Q_144p_hls/playlist.m3u8
      
      1. HLS - 240p:
        http://csp.picsearch.com/media/1/2/12XYoI9OBpBLpHuCxRR02Q_240p_hls/playlist.m3u8
      #EXTM3U
      #EXT-X-VERSION:3
      #EXT-X-TARGETDURATION:5
      #EXT-X-MEDIA-SEQUENCE:0
      #EXTINF:5.000000,
      0000.ts
      #EXTINF:5.000000,
      0001.ts
      #EXTINF:5.000000,
      0002.ts
      #EXTINF:5.000000,
      0003.ts
      #EXTINF:5.000000,
      0004.ts
      #EXTINF:5.000000,
      0005.ts
      #EXTINF:5.000000,
      0006.ts
      (...)
      0023.ts
      #EXTINF:0.000000,
      0024.ts
      #EXT-X-ENDLIST
      

      I’ve checked ‘Network’ tab in dev inspector and I’ve seen the first segment is 240p (0000.ts) and browser never tries to download highest bitrate.

      Very likely scenario is below:

      //Downloaded segments 
      0000.ts -> 240p
      0001.ts -> 240p
      0001.ts -> 720p
      0002.ts -> 720p
      0003.ts -> 720p
      

      and end-user can watch

      0000.ts -> 240p 
      0001.ts -> 720p //bitrate switch up after 5 seconds
      0002.ts -> 720p
      0003.ts -> 720p
      

      Could you observe similar symptoms? I compared it with Safari (Mac OSX) and there bandwidth detection / algorithm works much better (I see higher quality from the beginning). On Edge it’s problematic for our customers which use short videos. Is it possible that Edge prefers first quality in playlist (720p)?

    • “Is it possible that Edge prefers first quality in playlist (720p)?”

      I mean:

      Are you planning to improve the bitrate selection or make Edge starts with first quality from the manifest?

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Stephen E.”

    • Any feedback here?

    • Microsoft Edge Team

      Changed Status to “By design”

    • Thank you for the feedback on Edge. This is actually done by design. We feel that starting with the lowest bitrate provided by the server will result in the best user experience because it will minimize the amount of time that the first frame is displayed.

      We also believe that apps have much greater control over their adaptive streaming experience because developers can specify an initial starting rate that they feel is best for their application.

      Thank you for the feedback and we hope to hear from you soon.

      All the best,
      The MS Edge Team

    • Related to this issue is when a short video is used for a looping background. The video never switches to a higher quality because when it loops, it restarts. The video used is less than 5 seconds in length. Edge is the only browser with this issue.

      https://player.vimeo.com/external/203132323.m3u8?s=9aefdffd12179ba26fd4d0cdb66c18a6d49fb2a9

    You need to sign in to your Microsoft account to add a comment.

    Sign in