Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diffusionstudio/examples
Programmatic video editing examples.
https://github.com/diffusionstudio/examples
Last synced: 3 days ago
JSON representation
Programmatic video editing examples.
- Host: GitHub
- URL: https://github.com/diffusionstudio/examples
- Owner: diffusionstudio
- License: mit
- Created: 2024-09-03T09:56:08.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T16:28:13.000Z (4 months ago)
- Last Synced: 2024-09-13T04:32:53.580Z (4 months ago)
- Language: TypeScript
- Homepage: https://examples.diffusion.studio
- Size: 5.96 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Diffusion Studio
# Diffusion Studio Examples
This repository contains example projects built using [Diffusion Studio](https://github.com/diffusionstudio/core). This is an ideal starting point for exploring Diffusion Studio, if you prefer learning from code examples rather than detailed documentation.
## `/simple`
This project is powered by Vite (vanilla TypeScript). To begin, navigate to the project directory:
```sh
cd simple
```Install the required dependencies:
```sh
npm install
```Next, start the development server:
```sh
npm run dev
```You can now open `http://localhost:5173/` in your browser (preferably Chromium-based).
In the `/src/compositions` directory, you will find an example script that you can modify. You can comfortably load assets by placing them in the `/public` directory. For instance:
```typescript
const video = await VideoSource.from('/drone_footage_1080p_25fps.mp4');
```> Since Vite supports hot module reloading, your composition will automatically update as you save your changes.