Duration detective is a tree
like tool that list the duration of media files inside a folder.
Written in RUSTπ¦
This requires ffmpeg installed on the system
//Clone the repo
git clone https://github.com/3l-d1abl0/DurationDetective-rs.git
cd duration-detective-rs/
//To see list of commands available
make
//This will build the executable
make duration-detective-build
If all goes well, the binary will be placed at 'target/release/`
//This runs the executable on sample files/
make duration-detective-sample-run
Ideally this is how you would run it:
sample-run.mp4
./duration-detective-rs --path="path/to/your/folder"
./target/release/duration-detective-rs --path="files/"
Path recieved: files/
Directory to Scan: files/
βββaudios/
β βββmp3/
β β βββ53sec file_example_MP3_2MG.mp3
β β βββ53sec mp3
β βββogg/
β β βββ01min 15sec file_example_OOG_2MG.ogg
β β βββ01min 15sec ogg
β βββwav/
β β βββ11sec file_example_WAV_2MG.wav
β β βββ11sec wav
β βββ02min 20sec audios
βββvideos/
β βββavi/
β β βββ30sec file_example_AVI_1920_2_3MG.avi
β β βββ30sec avi
β βββm4v/
β β βββ13sec sample_960x540.m4v
β β βββ13sec m4v
β βββmp4/
β β βββ30sec file_example_MP4_640_3MG.mp4
β β βββ30sec mp4
β βββmpeg/
β β βββ28sec sample_1280x720.mpeg
β β βββ28sec mpeg
β βββwebm/
β β βββ30sec file_example_WEBM_640_1_4MB.webm
β β βββ30sec webm
β βββ02min 13sec videos
Total Folder Duration: 04min 34sec