Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skystar-modules/denoffmpeg
ffmpeg wrapper for deno.land
https://github.com/skystar-modules/denoffmpeg
deno ffmpeg wrapper
Last synced: about 1 month ago
JSON representation
ffmpeg wrapper for deno.land
- Host: GitHub
- URL: https://github.com/skystar-modules/denoffmpeg
- Owner: SkyStar-modules
- License: mit
- Created: 2020-11-20T21:08:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T17:55:56.000Z (about 2 years ago)
- Last Synced: 2024-12-16T01:07:23.398Z (about 1 month ago)
- Topics: deno, ffmpeg, wrapper
- Language: TypeScript
- Homepage:
- Size: 12.1 MB
- Stars: 26
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Deno FFMPEG
## FFmpeg is really nice to use and quite handy for alot of applications But we didn't have any easy wrapper for it in Deno, so now we do :D
## List of features
- Video bitrate(VBR and CBR)
- FFMPEG Filters
- Easy to use
- All methods are chainable
- Frequently updated and maintained by me## Basic example
`save()` is used to start the render process.
you should always use `save()` or `saveWithProgress()` as last option\
you should always specify the ffmpegDir in the constructor or via the
`setFfmpegPath()` method!```js
import { ffmpeg } from "./mod.ts";
let videoRender = ffmpeg({ input: "./dev/video0", ffmpegDir: "./dev/ffmpeg" });
await videoRender.videoBitrate("1000k").save("./output.mp4");
```
## How to contribute
Format code with `deno fmt`\
Lint with `deno lint`\
Run tests with
`deno test --doc src/ffmpegClass.ts && deno test -A --fail-fast tests`## Authors & Acknowledgments
- Skyler "MierenMans" van Boheemen - Author