feature/share-libs
md 29 lines 738 Bytes
Rendered Raw
1 # Audio
2
3 The audio processing part is divided into two processes: youtube-to-audio and the split process.
4
5 ## YouTube to audio
6
7 The YouTube to audio status is attached to the `audio_files` table. Homebrew is recommended installer.
8
9 ```shell
10 brew install yt-dlp
11 ```
12
13
14 ## Split process
15
16 The split process status is attached to the `audio_file_split_statuses` table. Uses the system `Python3` command to install `demucs` by following the official [Linux installation](https://github.com/facebookresearch/demucs/blob/main/docs/linux.md).
17
18 ```shell
19 pip3 install --user -U demucs
20
21 ```
22
23 ## Background job
24
25 `SideKiq` is used as the bakcground job. During development, you might need to cleanup redis now and then:
26
27 ```shell
28 redis-cli flushall
29 ```