Audio, Caption Crawler and Processor -TTS Data Generator-
Downloads and processes the audios and captions(subtitles) from Youtube videos for Speech AI
Generates audio datas from Youtube for TTS
Requirements
- Currently requires python == 3.6
- FFmpeg
- youtube_dl
- pydub
- youtube_transcript_api
To Use
pip3 install vctube
from vctube import VCtube
playlist_name=""
playlist_url = ""
lang = "" #ex) ko, en, fr, de...
vc = VCtube(playlist_name, playlist_url, lang)
vc.download_audio() #download audios from youtube
vc.download_captions() #download captions from youtube
vc.audio_split() #split audio with captions
Results
datasets
|- playlist name
|- metadata.csv
|- alignment.json
|- wavs
├── 1.wav
├── 2.wav
├── 3.wav
└── ...
and metadata.csv should look like:
{
"0001.wav|그래서 사람들도 날 핍이라고 불렀다.",
"0002.wav|크리스마스 덕분에 부엌에 먹을게 가득했다.",
"0003.wav|조가 자신이 그 사람이라고 나섰다.",
...
}
and alignment.json should look like:
{
"./datasets/playlist name/wavs/0001.wav": "그래서 사람들도 날 핍이라고 불렀다.",
"./datasets/playlist name/wavs/0002.wav": "크리스마스 덕분에 부엌에 먹을게 가득했다.",
"./datasets/playlist name/wavs/0003.wav": "조가 자신이 그 사람이라고 나섰다.",
...
}
Pypi address
Metadata
Release files for vctube 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vctube-1.3.tar.gz | 7.8 kB | Without provenance | Details for vctube-1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vctube-1.3-py3-none-any.whl | Python 3 | none | any | Details for vctube-1.3-py3-none-any.whl |
Total release size: 16.5 kB
Release files / vctube-1.3.tar.gz
| Download URL | vctube-1.3.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9f099b59272640f34015b2c1863d27a17da452b0608dd1fa79f645d9bd0f479
|
|
BLAKE2b-256 checksum How to use checksums |
e940ecc7d9c03bb889bf37e25391f2e3a9c42ef2282f03d9262686cd7cb131c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / vctube-1.3-py3-none-any.whl
| Download URL | vctube-1.3-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6478846f0db973b19722a90eb1369f3b39c57b7addc4e2a5a566a5468ba35433
|
|
BLAKE2b-256 checksum How to use checksums |
24eae88cb29365871b2e497949ff801e2668500e26d21eefc04f7e117df39733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for vctube 1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.