w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
978 stars 136 forks source link

HEVC Registration #504

Closed aboba closed 2 years ago

aboba commented 2 years ago

There is interest in using HEVC with WebCodecs, so HEVC registration would be a good idea.

PR in progress: https://github.com/w3c/webcodecs/pull/499

lishulincug commented 2 years ago

Webcodes support codec h265 ? test

aboba commented 2 years ago

Not yet, but AV1 encoding is supported.

exolution commented 2 years ago

but chrome canary already support h265

wenerme commented 2 years ago

@exolution any source ?

yisibl commented 2 years ago

See: https://github.com/StaZhu/enable-chromium-hevc-hardware-decoding

open /Applications/Google\ Chrome\ Canary.app --args --enable-features=PlatformHEVCDecoderSupport
sandersdan commented 2 years ago

It is not intended for HEVC to work with current Chrome, but it does seem that it's not explicitly blocked, and the decoder selection does succeed with that flag. As there is no explicit HEVC code in our WebCodecs implementation, hvcC is not handled, and therefore only Annex B is operable.

Closing this issue as completed since the spec proposal is committed.

lishulincug commented 2 years ago

I implemented a test page code for rosbag. edge and chrome canary is supported。 https://intelligenttransportation.gitee.io/webcodes/rosbagPlayerWeb.html