Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video decoding using WebCodecs API #342

Closed
sasmaster opened this issue Dec 23, 2023 · 3 comments
Closed

Video decoding using WebCodecs API #342

sasmaster opened this issue Dec 23, 2023 · 3 comments

Comments

@sasmaster
Copy link

Hi guys. I am a bit confused by video upload samples. Here it is stated that webgpu api now can work with Webcodecs API via external texture. However, reading the source code of those samples I see no webcodecs API used. The only related chunk I see is VideoFrame object. Can you please confirm that chrome supports interaction of WebGPU with Webcodecs API?

@greggman
Copy link
Collaborator

greggman commented Dec 23, 2023

VideoFrame is the WebCodecs api

https://w3c.github.io/webcodecs/#videoframe-interface

https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

What were you hoping to find?

Did you try using it?

@sasmaster
Copy link
Author

I was hoping to find an example of interaction with Webcodecs API (decoder or encoder), but no problem, I see that VideoFrame is part of the API. Thanks!

@kainino0x
Copy link
Collaborator

This has been added by the videoUploadingWebCodecs sample #247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants