Following the svc.html example, is there a way I can access the temporal and spatial layers from the WebAPI's VideoDecoder without using WEBRTC?EncodedVideoChunkMetadata provides the temporal layer ID of that object. Does that mean each layer is encoded into it's own chunk?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5e9a73de-1379-4227-829c-e7b35c24142dn%40chromium.org.
Thank you Dale. Is there any way to get the spatial layers? Seems like it is on the docket: https://github.com/w3c/webcodecs/pull/756, but is there an existing workaround for this? Our use case doesn't involve WebRTC.Apologies for the broad question, I'm just a chunk of coal and would like some guidance.Sincerely,Matthew
Very interesting -- thank you!Another question just to confirm: implementing a SF middlebox would be the developers responsibility? My current thinking is since the VideoEncoder can dispatch video chunks by temporal layers, the underlying mechanism to selectively send which chunks needs to be implemented.Is there a good example of this? Am I thinking correctly?Thank you again.Matthew
> It's unclear what level of hardware / software support SVC would have either, so if this is required for your use case you'll likely need a fallback wasm decoder anyways.
Interesting. I don't mean to nit, but do you mean decoder and encoder? Only needing a wasm decoder would be super cool; suppose I configure my VideoEncoder to follow the AV1 codec, then would every EncodedVideoChunk follow an AV1 specific format?I ask because Chromium's AV1 decoder calls libgav1 to parse and decode the video frame. So would libgav1's decoder plug in nicely in place of VideoDecoder?The question I mean to ask is: Our use case requires retrieving chunks by spatial and temporal layers. But without reimagining the entire process, I would like to leverage the VideoEncoder/VideoDecoder to get such insight.I'm inspired by the SVC extension for WebRTC. If they can do it, why can't I?Thank you again for your super helpful responses.MatthewOn Thu, Aug 15, 2024 at 2:41 PM Matthew Kim <ma...@shuttle.video> wrote:Apologies, when I say SF middlebox, I meant the selective forwarding middlebox.Thank you for your help! I really appreciate it.