Skip to content

xiguaxigua/ffmpeg-online

Repository files navigation

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

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

Audio and video synthesis

In ffmpeg, the command for audio and video synthesis is

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

Crop video

In ffmpeg, the command for video cropping is

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

About

An online version of ffmpeg built on ffmpeg.wasm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published