Luigi pipeline to download VoxCeleb audio from YouTube and extract speaker segments
Project description
voxceleb-luigi
Luigi pipeline to download VoxCeleb audio from YouTube and extract speaker segments.
This pipeline can download both the original VoxCeleb and VoxCeleb2.
Installation
pip install voxceleb_luigi
You need to have ffmpeg
and youtube-dl
installed. On systems with apt
, you can simply run:
sudo apt install ffmpeg youtube-dl
Usage
Some configuration is necessary, the easiest way is to put it in your luigi.cfg
(default location is the current working directory; you can override this by setting the LUIGI_CONFIG_PATH
environment variable).
[voxceleb.Config]
# Necessary, otherwise the pipeline will try to save data to /
data_out_dir=/path/to/voxceleb
# Only necessary if youtube-dl, ffmpeg, and ffprobe are not in your PATH:
ffmpeg_bin=/ffmpeg-dir/ffmpeg
ffmpeg_directory=/ffmpeg-dir
youtube_dl_bin=/path/to/youtube-dl
# 1 for VoxCeleb, 2 for VoxCeleb2 (default)
dataset=2
To run the pipeline, first start luigid:
luigid --background
and then start the workers:
luigi --module voxceleb_luigi --workers 5 voxceleb.ProcessPeople
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for voxceleb_luigi-0.1.2.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3702aed151f6d4e54211a70bdf09885ce4be692cf9a99622968a994a798fc5 |
|
MD5 | 4c15e708c1291ea84455014f55f33f8e |
|
BLAKE2b-256 | ca6f36027319853ed4c04225a103710caaf7890dfb02e5c9c940e983d4ea4cde |