Audio, Caption Crawler and Processor
Downloads and processes the audios and captions(subtitles) from Youtube videos for Speech AI
Requirements
- Currently requires python >= 3.6
- FFmpeg
To Use
from accp import ACCP
playlist_name=""
playlist_url = ""
accp = ACCP(playlist_name, playlist_url)
accp.download_audio() #download audio from youtube
accp.download_caption() #download captions from youtube
accp.audio_split() #split
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": "조가 자신이 그 사람이라고 나섰다.",
}
Metadata
Release files for accp 0.0.1
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 |
|---|---|---|---|---|
| accp-0.0.1.tar.gz | 7.3 kB | Without provenance | Details for accp-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| accp-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for accp-0.0.1-py3-none-any.whl |
Total release size: 16.4 kB
Release files / accp-0.0.1.tar.gz
| Download URL | accp-0.0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5fb30b39138d1c2af690599484500959746fd02e14cdd0b9fa18738dde4783d
|
|
BLAKE2b-256 checksum How to use checksums |
c8cf6b270eaeefeb074a6e972ef651fb44b33fe3edd36e46cbb46652b69a0452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
|
Release files / accp-0.0.1-py3-none-any.whl
| Download URL | accp-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85d6c900d9b36e77b341095d9da79474aa7bd6ff43b6d0683688a32b887743bf
|
|
BLAKE2b-256 checksum How to use checksums |
821e1455cadb4f549be6ba7187cf738cf26eddf62207a654d00373c811565152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
|
Security for accp 0.0.1
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.