Can HTML5 play a manifest .mpd file through its video tag?

I have a Movie_Manifest.mpd file that consists of 5 .webm video streams (consisting of different sizes and bps) and 1 audio file. The question I ask is: can it be played via the "simple" HTML5 HTML tag?

I tried this and it does not work:

<video controls>
  <source src = "Movie_Manifest.mpd"/>
</video>

Well, it works, but he chooses the lowest quality video stream, and the output is laggy. I would like it to have adaptive bitstream streaming. You might be thinking, "Do you think your bandwidth is so slow?" Yes, my bandwidth is slow, but not so slow. And besides, when I run this low-quality webm file by itself, it runs smoothly.

To repeat:

1) Can I use the “simple” HTML5 tag for adaptive bitstream?

or

2) Should I use an open source media player (which the video tag will access via javascript)?

Thanks and happy streams

+4
source share
1 answer

Can HTML5 play a manifest .mpd file through its video tag?

No, the browser will have to support DASH directly, and the browser is currently not working.

Can I use a “plain” HTML5 tag for adaptive bitstreaming?

No, browsers do not support the protocols used for adaptive bitrate. There is some support for HLS, but it is far from universal.

- ( - javascript)?

, .

, DASH HTTP - JavaScript, Media Source. https://www.w3.org/TR/media-source/

(MSE) - , JavaScript, . script, . , JavaScript (HTTP (S), WebSocket WebRTC).

DASH , - DASH.js. https://github.com/Dash-Industry-Forum/dash.js/wiki DASH .

, . MSE . , , .

+2

Source: https://habr.com/ru/post/1675696/


All Articles