Crates.io | ffcutter |
lib.rs | ffcutter |
version | 0.1.0 |
source | src |
created_at | 2023-08-01 21:26:37.600417 |
updated_at | 2023-08-01 21:26:37.600417 |
description | Cuts mp4 or mp3 to 30 seconds to be given as a melody source to audiocraft |
homepage | |
repository | https://github.com/pramatias/ffcutter |
max_upload_size | |
id | 932226 |
size | 7,908 |
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