Concatenate multiple video/audio files into one using the concat demuxer. This is the fastest method (stream copy by default, no re-encode).
await mergeToFile({ inputs: ['part1.mp4', 'part2.mp4', 'part3.mp4'], output: 'merged.mp4',}); Copy
await mergeToFile({ inputs: ['part1.mp4', 'part2.mp4', 'part3.mp4'], output: 'merged.mp4',});
Concatenate multiple video/audio files into one using the concat demuxer. This is the fastest method (stream copy by default, no re-encode).