Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.15k stars 1.68k forks source link

Does Dash.js support any codecs of H.265? #2385

Closed xgw closed 6 years ago

xgw commented 6 years ago

I used the command line tool FFMPEG with libx265 or kvazaar or any other hevc encoder to encode a raw video. But I found that the console tells that Dash.js does not support hvt1. So I wanna ask that if Dash.js support any kind of HEVC? Thanks a lot!

SunshineJunFu commented 6 years ago

I think Dash.js doesn't support any kind of HEVC. This maybe be confined to MediaSource, which doesn't support HEVC at present.

xgw commented 6 years ago

@fujunustc thanks

LloydW93 commented 6 years ago

Codec support is browser/platform dependent. In some situations Edge/Safari support it.

xgw commented 6 years ago

@LloydW93 Thank you. I'll try some other browsers.

epiclabsDASH commented 6 years ago

@xgw, as others pointed out, supporting or not HEVC it is up to the browser in which you are running dash.js. Dash.js uses Media Source Extensions API to build the media stream and is totally agnostic regarding the video/audio codecs used. In other words, Dash.js passes the "responsibility" of decoding video/audio buffers to the browser.

I am closing this issue because there is nothing we can do in dash.js regarding supporting H.265.

winlinvip commented 1 year ago

From Chrome 105+, MSE is available for HEVC, please see https://caniuse.com/#feat=hevc