concatenateMedia()
The concatenateMedia()
function lets you concatenate video or audio files.
Example Usage
import {concatenateMedia} from '@revideo/ffmpeg';
const audios = ['audio-0.wav', 'audio-1.wav', 'audio-2.wav'];
concatenateMedia(audios, 'audio.wav');
Arguments
files
List of strings containing paths to your input files.
outputFile
Path to where the output file will be saved.