-
Notifications
You must be signed in to change notification settings - Fork 137
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
Samples restrictive #406
Comments
I'm going to necro this thread: I have tons of samples from both the polyfill and a new bridge I wrote that links between any file format supported by ffmpeg/libav and WebCodecs. I don't know how all the policies work, but would it be possible/reasonable for me to PR samples? |
Yeah, the idea being that it more or less demonstrates something you'd do, e.g. encoding the webcam, or transcoding a media file, etc., simple but real uses. We should also add opus in the mp4 example, and it'll be fine on that front, av1/vp8/vp9/opus. @tidoust, how would that work in terms of IPR? |
Just for reference, my samples in the polyfill (https://github.com/ennuicastr/libavjs-webcodecs-polyfill/tree/master/samples) are:
Of course, all of the codec-specific formats are easily funged into any other codec. I use Matroska/WebM in all cases, but libav supports Misanthropic Patent Extortion Gang 4 just fine. My main sample in the bridge (https://github.com/Yahweasel/libavjs-webcodecs-bridge/tree/main/samples/transcoder) is an any-to-any transcoder. |
Anything you worry about in particular? Samples are not published with the spec, the Patent Policy does not apply to them. Even if they were, content would be informative. Contributing samples to the repository is like contributing to any regular open source project, noting the license used is the W3C Software and Document License (which is close to an MIT license). We may still have to tell the IPR bot that a PR that touches samples is non-substantive on a PR-by-PR basis, but that should remain manageable. (This makes me realize that the |
Yeah, all good then, I wasn't sure, so I figured I'd ask. @yeahweasel, transcoding, encoding a canvas to video, encoding PCM to audio (possible both at the same time), encoding the webcam seem like good candidates, in the sense that I'm pretty sure I've wrote samples for people in the past about those. |
The video/audio samples provided in
samples/
all have issues that make them difficult to use to demonstrate WebCodecs in isolation (which, for me, makes it difficult to use them with a polyfill or, thus, to demonstrate or test said polyfill):Admittedly, this is of particular nuisance only to me, because it means I can't say "supports the WebCodecs samples", but regardless it's a breadth issue.
It'd be nice to see simple transcoding (VP9/FLAC to VP8/Opus, for instance), or even just a trivial decoder or encoder with no surrounding bells and whistles. I have some in-progress samples (using my polyfill) at https://github.com/ennuicastr/libavjs-webcodecs-polyfill/tree/master/samples/ .
The text was updated successfully, but these errors were encountered: