r/coolgithubprojects • • 16h ago

splitaudio - one bash file and ffmpeg that splits a video into a clean video file plus one mp3 per audio track

i made this cuz i kept needing the audio out of videos and every tool either re-encoded the whole thing or made me click through a gui for 4 files.

what it does:

- video stream comes out as its own file, copied not re-encoded, so zero quality loss and its instant

- every audio track comes out as a separate mp3 (vbr, -q:a 2, ~190kbps)

- outputs land next to the input, collisions get a _1 _2 suffix so nothing gets overwritten

- files with no audio or no video get skipped instead of shitting the bed

two modes: plain cli (path, globs, `theme [name]`, -v) and a fullscreen tui with a file browser, a review screen, a live job list and a results screen.

why not handbrake or mkvtoolnix for this: no gui, no re-encode, no muxing. you point it at files and you get the parts back.

its one bash file and ffmpeg, MIT, no deps beyond ffmpeg. 13 themes with truecolour and a 256 colour fallback

doesnt run natively on windows, wsl is the answer.

repo: https://github.com/NetherLexis/Splitaudio

or look for splitaudio on: https://noiz.bio/nlexis

1 Upvotes

1 comment sorted by

1

u/Shikaluki-RAFI- 16h ago

i dont want to see nobody telling me to activate linux, ok?