https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_A... https://w3c.github.io/webcodecs/samples/ https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc...
I've considered using some JS libraries that are around for sometime (like https://github.com/buzzfeed/libgif-js), but the challenge of using WASM seemed more interesting in a hacking perspective let's say hehe.
The lack of video features are exactly the reason for which gifs are preferred in some contexts:
- you are 100% sure that you're not going to have audio surprises
- you don't have useless UI components. I'm just watching an idiot meme, why there is a time slider, a play/pause button, a muted audio button, a full screen button...? Ok, controls can be disabled and customized, but it requires effort that a simple <img src="funny-dog.gif"/> gives you for free
The only GIF's issue is that the format is not disk-efficient, but who cares? I can live with it when I'm watching a few-seconds-lasting-low-resolution-dumb-meme
But, as I wrote in the post, I came across too many GIFs with demos, tutorials or animated diagrams on GitHub and NPM. This was the motivation to create GIFSane, as sometimes you want to stop in a frame, or go back to check a detail.
> The software engineering world adopted them for a particular use case: recording tutorials and demos.
Besides, the whole thing was done in the name of the hacking spirit hehe Perhaps, one day, GitHub will convert any GIFs/WebM files into video components (similar to what Twitter does).
I’ve run into the same recently, while trying to build out a simple PoC extension. MV3 seems to be vague, and many of the changes specified do not seem to have actually been implemented yet. Such as chrome.tabCapture being namespaced to chrome.capture. Or these are bugs, it’s unclear.
It’s certainly odd that the schedule for moving to MV3 appears to be underway (not accepting MV2 extensions) when I’ve found the only way to enable my use cases has been to downgrade to MV2 (as the author also found)
Edit: The bug report I found, but unclear if it’s going to be fixed. As conflicting announcements else where state this api will be moved to the chrome.capture namespace for MV3. But neither presently works.
https://bugs.chromium.org/p/chromium/issues/detail?id=121484...
I am looking forward to see the state of things in December 2022.
Granted, I would love if hardware video acceleration for some of the free codecs like AV1 would be more widely available.
[1] https://blog.mozilla.org/en/mozilla/video-interoperability-o...