sya

split youtube audio tracks, with an optional pyqt gui
git clone git://src.gearsix.net/sya
Log | Files | Refs | Atom | README

commit d4fafd5da68296eba6465516224cae621162b673
parent 9aa809f0260619ed1e76a36ce14bc183be20187b
Author: gearsix <gearsix@tuta.io>
Date:   Wed,  5 May 2021 20:08:07 +0100

added README

Diffstat:
AREADME | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
MTODO | 6+++---
2 files changed, 56 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -0,0 +1,53 @@ + +sya +=== + +**split youtube audio**, a tool for downloading, converting and splitting a via youtube video +using `youtube-dl` and `ffmpeg`. + +install +------- + +**linux/terminal** + +``` +cd sya +sudo make install +``` + +usage +----- + +``` +usage: sya.py [-h] [-o [PATH]] [-f [FORMAT]] [-q [QUALITY]] + [--youtube-dl [PATH]] [--ffmpeg [PATH]] [-k] + TRACKLIST + +download & split audio tracks long youtube videos + +positional arguments: + TRACKLIST tracklist to split audio by + +optional arguments: + -h, --help show this help message and exit + -o [PATH], --output [PATH] + specify the directory to write output files to + (default: ./out) + -f [FORMAT], --format [FORMAT] + specify the --audio-format argument to pass to + youtube-dl (default: mp3) + -q [QUALITY], --quality [QUALITY] + specify the --audio-quality argument to pass to + youtube-dl (default: 320K) + --youtube-dl [PATH] path of the "youtube-dl" binary to use + --ffmpeg [PATH] path of the "ffmpeg" binary to use + -k, --keep keep any files removed during processing (full + video/audio file) + +``` + +author +------ + +gearsix <gearsix@tuta.io> + diff --git a/TODO b/TODO @@ -10,13 +10,13 @@ ## List -[ ] user install - - installs ffmpeg/youtube-dl if not found ? - - just use corresponding python libaries [*] detect timestamp anywhere in line (not just at start) [x] detect tracks from missing timestamps - Could be done using: _ffmpeg -i audio.mp3 -af silencedetect=d=0.5 -f null -_ but finding the right parameters for the silencedetect filter (see _man ffmpeg-filters) seems impossible (or very finicky) to get right for every input - Will possibly be added as an experimental feature later on +[ ] user install + - installs ffmpeg/youtube-dl if not found ? + - just use corresponding python libaries [ ] = GUI using pyqt