August 17th, 2024

Show HN: Typescript library for editing videos with code

Diffusion Studio is a browser-based video processing framework for AI, featuring video/audio editing, layering, and real-time playback. It supports various media formats and requires a license for commercial use.

Read original articleLink Icon
Show HN: Typescript library for editing videos with code

Diffusion Studio is a browser-based video processing framework designed for AI applications, utilizing modern web technologies such as WebGPU, WebCodecs, and WebAssembly to ensure high performance. The project, initiated in March 2023, is developed in TypeScript and emphasizes efficient development. Key features include video and audio trimming, layering and track management, clip splitting, text rendering with various styles, filters, keyframe animations, and real-time playback with hardware-accelerated encoding. Installation can be done via npm with the command `npm i @diffusionstudio/core`. A simple usage example demonstrates how to create a video composition by importing the library, creating video and text clips, and exporting the composition using a Webcodecs encoder. Diffusion Studio is compatible with browsers like Chrome, Edge, and partially with Firefox, supporting multiple media formats such as MP4 and WebM. The framework is free for personal, non-commercial use, while commercial use requires a separate license. For further details, users can access the documentation on the Diffusion Studio GitHub repository.

- Diffusion Studio is a video processing toolkit for AI applications.

- It utilizes modern web technologies for high performance.

- Key features include video/audio editing, layering, and real-time playback.

- Installation is done via npm, and it supports various media formats.

- Commercial use requires a separate license.

Link Icon 3 comments
By @meiraleal - about 2 months
Looks interesting but the close modal button for the signin isn't working so I couldn't test it without signing in.
By @albert-jo - about 2 months
I was just looking for a library like this. Thanks!