正在加载视频...

视频加载失败

Video resizing using WebCodecs! You can now downscale a video to a lower resolution in the browser, in multiple formats, offline, local, fast. Demo: Docs: Thanks for following my WebCodecs shenanigans this year! 🎄

96,025 次观看 • 1 年前 •via X (Twitter)

11 条评论

Hirbod 的头像
Hirbod1 年前

These are incredible results. Removing the need for FFMPEG WASM and having client side downscaling is pretty nice. Does this work on the iPhone by the way? I didn’t test it yet.

Jonny Burger 的头像
Jonny Burger1 年前

Hmm it works but there are bugs! I’ll make an issue For every failure you can upload a video to Remotion GitHub and file an issue, I’ll then investigate and if you allow add it to the testset

Callstack Engineers 的头像
Callstack Engineers1 年前

Grab your popcorn 🍿 Our React Native for TV guide is here, packed with the latest techniques and best practices. Don't miss out on this essential update to keep your apps running at peak performance 🚀 Download it now 🔗

David L. 的头像
David L.1 年前

Nice move enabling PWA.

Jonny Burger 的头像
Jonny Burger1 年前

Yessir! We should make the icon a bit smaller though 🧐

pdyc 的头像
pdyc1 年前

interesting, i am doing something similar. Are you using webcodecs decoder as well or just the encoder? if you are using decoder what demuxer's are you using to support so many formats webm, mp4, mkv etc?

Jonny Burger 的头像
Jonny Burger1 年前

I am using the decoder as well, and using my own @remotion/media-parser as the demuxer!

Peter Fox 的头像
Peter Fox1 年前

Great UI design. Is it possible to trim videos? Taking a bit of time off the start or end?

Jonny Burger 的头像
Jonny Burger1 年前

I think so, is planned for the future :)

Seb ⚛️ ThisWeekInReact.com 的头像
Seb ⚛️ ThisWeekInReact.com1 年前

Nice! Can we also crop/resize the video?

Jonny Burger 的头像
Jonny Burger1 年前

Feasible :) Will develop a good API, docs and a UI for it in 2025!

相关视频