align_media 0.1.0 align_media: ^0.1.0 copied to clipboard
Aligns video and audio files based on the sound tracks.
Examples of using align_media
#
All examples require ffmpeg installed and available in $PATH
.
To run an example:
- Clone this repository.
cd example
- Run an example using a command specific to the example (see below).
replace_audio #
await AlignMedia.replaceAudio(
audioPath: argv[0],
videoPath: argv[1],
outputPath: 'replaced.mov',
);
To run as a user:
dart run lib/replace_audio.dart media/audio.mp3 media/camera1.mov replaced.mov