Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiguaxigua/ffmpeg-online
An online version of ffmpeg built on ffmpeg.wasm
https://github.com/xiguaxigua/ffmpeg-online
ffmpeg
Last synced: 7 days ago
JSON representation
An online version of ffmpeg built on ffmpeg.wasm
- Host: GitHub
- URL: https://github.com/xiguaxigua/ffmpeg-online
- Owner: xiguaxigua
- Created: 2022-06-04T03:58:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T14:18:04.000Z (10 months ago)
- Last Synced: 2025-01-21T22:04:29.125Z (15 days ago)
- Topics: ffmpeg
- Language: JavaScript
- Homepage: https://ffmpeg-online.vercel.app
- Size: 11.1 MB
- Stars: 273
- Watchers: 4
- Forks: 32
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ffmpeg-online
> https://ffmpeg-online.vercel.app/
An online version of ffmpeg based on ffmpeg.wasm, which can be used to process audio and video online
## Clip video
In ffmpeg, the command for video clipping is
```shell
ffmpeg -i test.mp4 -ss 00:00:00 -t 00:00:05 -vcodec copy -acodec copy output.mp4
```You can upload the `test.mp4` file and run the command following the example below
![](./demo/clip-video.jpg)
## Audio and video synthesis
In ffmpeg, the command for audio and video synthesis is
```shell
ffmpeg -i test.mp4 -i test.mp3 -c:v copy -c:a aac -strict experimental -map 0:v:0 -map 1:a:0 -shortest output.mp4
```You can upload the `test.mp4` `test.mp3` file and run the command following the example below
![](./demo/video-audio.jpg)
## Crop video
In ffmpeg, the command for video cropping is
```shell
ffmpeg -i test.mp4 -strict -2 -vf crop=1126:742:0:420 output.mp4
```You can upload the `test.mp4` file and run the command following the example below
![](./demo/crop-video.jpg)