ffcutter

Crates.ioffcutter
lib.rsffcutter
version0.1.0
sourcesrc
created_at2023-08-01 21:26:37.600417
updated_at2023-08-01 21:26:37.600417
descriptionCuts mp4 or mp3 to 30 seconds to be given as a melody source to audiocraft
homepage
repositoryhttps://github.com/pramatias/ffcutter
max_upload_size
id932226
size7,908
kostas pramatias (pramatias)

documentation

README

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

Commit count: 14

cargo fmt