I'm trying to see if I can use native/accellerated video decoding in the web browser. With an origin trail setup, I get access to `VideoDecoder` and `VideoEncoder`. But when I try and create any `avc1` codec (eg `avc1.420028`) I get
`Failed to execute 'configure' on 'VideoDecoder': H.264 configuration must include an avcC description.`
I can actually create an encoder, using `avc1.42E01E` (only codec I tested) and encode frames.... Is there just missing decoder support in the chromium build?
https://poph264.com/SrcWeb/index.html Here it is working on desktop (as Poph264.com has an origin trial)
I'm testing every combination of profile+level I can for h264, but all with the same error.
Are there any decoders supported?
Im not looking for AV1 support. Im using h264 (which the quest does have hardware support for)
AVC1, or AVCC is the name of h264 codecs. (Different from AV1)
you can register domains for origin trials with google. Then embed a meta tag in a page (see my example)
You can test this easily, open any website not on the origin trial (eg, this one :), open dev tools and type into the console
or `new VideoDecoder`
it will error as the symbol is missing (enabling via chrome://flags or origin trial exposes api symbols)
If you try it on https://PopH264.com it'll work (well, it'll error, but it'll TRY and construct it)