Loading video...

Video Failed to Load

Go Home

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 views • 1 year ago •via X (Twitter)

11 Comments

Hirbod's profile picture
Hirbod1 year ago

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's profile picture
Jonny Burger1 year ago

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's profile picture
Callstack Engineers1 year ago

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.'s profile picture
David L.1 year ago

Nice move enabling PWA.

Jonny Burger's profile picture
Jonny Burger1 year ago

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

pdyc's profile picture
pdyc1 year ago

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's profile picture
Jonny Burger1 year ago

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

Peter Fox's profile picture
Peter Fox1 year ago

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

Jonny Burger's profile picture
Jonny Burger1 year ago

I think so, is planned for the future :)

Seb ⚛️ ThisWeekInReact.com's profile picture
Seb ⚛️ ThisWeekInReact.com1 year ago

Nice! Can we also crop/resize the video?

Jonny Burger's profile picture
Jonny Burger1 year ago

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

Related Videos