#audio-processing #command-line #delete #audiocraft

app ffcutter

Cuts mp4 or mp3 to 30 seconds to be given as a melody source to audiocraft

1 unstable release

0.1.0 Aug 1, 2023

#419 in Audio

MIT/Apache

8KB
125 lines

Ffcutter cuts mp4 or mp3 files into 30 second chunks.

In the case of mp4, right after the chunk creation, it converts it to mp3, so as to be given as an input audio to audiocraft. Then it deletes the intermediate file.

With every chunk it creates, it increases the counter of the chunked mp3 filename.

usage:


ffcutter filename start-time

start-time counts seconds from the start of the audio. e.g. 70 secs, 150 etc.

dependencies: ffmpeg

executable: ffcutter

build from source:


cargo build --release

Dependencies

~19KB