正在加载视频...

视频加载失败

Breakthrough! I built a MP4 ⇔ WebM converter in JavaScript. 😲 The first ever implemented with WebCodecs! 🏃‍♂️ Much faster than any other web tool! 📦 NPM package for developers Try it out: ⬇️ Converting an .mp4 to .webm, then back to an .mp4 in less than half of...

85,301 次观看 • 1 年前 •via X (Twitter)

10 条评论

Jonny Burger 的头像
Jonny Burger1 年前

For devs, there is a package you can use: npm i @⁠remotion/webcodecs It works cross-browser¹, has no dependencies, an easy to use API and good documentation! It is released under a commercial license, but for indie hackers and small companies it’s free to use. Learn more: ¹ Safari currently supports only video, but audio will start working in a future version!

Jonny Burger 的头像
Jonny Burger1 年前

This was an effort over many months, and this is the goal I wanted to achieve! So is this the end? No, it’s just the beginning! This opens the door to many new avenues. Spoiling just one of them: Fast video compression in the browser 🗿

Peter Fox 的头像
Peter Fox1 年前

So remotion recorder can now record and store in mp4?

Jonny Burger 的头像
Jonny Burger1 年前

I thought about this today as well, I will soon migrate it to @⁠remotion/webcodecs 👍

Salvatore 的头像
Salvatore1 年前

Holy shit

Marce Switach 的头像
Marce Switach1 年前

In case someone wanna know the difference between these formats!

Eric Simons 的头像
Eric Simons1 年前

🔥🔥🔥

Peter Haines 的头像
Peter Haines1 年前

truly great stuff

Atticus White 的头像
Atticus White1 年前

Nice work Jonny! Got plans in mind for client-side composition rendering?

Jonny Burger 的头像
Jonny Burger1 年前

We cannot capture the DOM and turn it into an image on the client. Maybe we will develop a "canvas only mode" where you can create videos on the client..

相关视频