Add VoxDub dataset card

#1
by kaidi555 - opened
Files changed (1) hide show
  1. README.md +155 -3
README.md CHANGED
@@ -1,3 +1,155 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - audio-to-audio
5
+ - automatic-speech-recognition
6
+ - video-classification
7
+ language:
8
+ - zh
9
+ - en
10
+ - multilingual
11
+ tags:
12
+ - audiovisual
13
+ - speech
14
+ - lip-sync
15
+ - youtube
16
+ - annotations
17
+ pretty_name: VoxDub
18
+ size_categories:
19
+ - 100K<n<1M
20
+ ---
21
+
22
+ # VoxDub
23
+
24
+ **VoxDub** provides segment-level audiovisual annotations derived from public YouTube videos.
25
+ This repository hosts the annotation archive (`av_segments_v1.tar.zst`). Raw media is **not** redistributed; reconstruct clips from YouTube using the companion pipeline.
26
+
27
+ - Dataset: [zyk21/VoxDub](https://huggingface.co/datasets/zyk21/VoxDub)
28
+ - Pipeline: see the `av_pipeline` tooling shipped with this release (download β†’ cut β†’ standardize β†’ optional vocal separation)
29
+
30
+ ## Dataset summary
31
+
32
+ | Item | Value |
33
+ |------|--------|
34
+ | Videos (YouTube IDs) | ~17,433 |
35
+ | Segments | ~766,708 |
36
+ | Package | `av_segments_v1.tar.zst` |
37
+ | Layout | `datas/{video_id}/{seg_id}.json` |
38
+ | License | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
39
+
40
+ ## Files
41
+
42
+ ```
43
+ av_segments_v1.tar.zst
44
+ └── datas/
45
+ └── {youtube_video_id}/
46
+ β”œβ”€β”€ S00001.json
47
+ β”œβ”€β”€ S00002.json
48
+ └── ...
49
+ ```
50
+
51
+ Unpack:
52
+
53
+ ```bash
54
+ # Python
55
+ import zstandard as zstd, tarfile
56
+ dctx = zstd.ZstdDecompressor()
57
+ with open("av_segments_v1.tar.zst", "rb") as f, dctx.stream_reader(f) as r:
58
+ with tarfile.open(fileobj=r, mode="r|") as tar:
59
+ tar.extractall("av_segments_v1")
60
+ ```
61
+
62
+ Or with the pipeline:
63
+
64
+ ```bash
65
+ python pipeline.py extract
66
+ ```
67
+
68
+ ## Annotation schema
69
+
70
+ Each JSON file describes one temporal segment of a YouTube video.
71
+
72
+ | Field | Type | Description |
73
+ |-------|------|-------------|
74
+ | `id` | string | Segment id (e.g. `S00023`) |
75
+ | `start` / `end` | float | Time range in seconds |
76
+ | `text_whisper` | string | Whisper transcript |
77
+ | `text_paraformer` | string | Paraformer transcript |
78
+ | `language` | string | Detected language |
79
+ | `language_whisper_prob` | float | Language confidence |
80
+ | `wer` | float | Word error rate (ASR comparison) |
81
+ | `dnsmos` | float | DNSMOS speech quality score |
82
+ | `gender` | int | Speaker gender label |
83
+ | `multi_speaker` | float | Multi-speaker score |
84
+ | `av_offset` | int | Audio–visual offset (frames) |
85
+ | `sync_conf` | float | AV sync confidence |
86
+ | `origin_width` / `origin_height` | int | Source resolution |
87
+ | `scene_num` | int | Scene index |
88
+ | `faces` | object | Per-frame face tracks (`n_frames`, `score`, `bbox`, `landmarks`) |
89
+
90
+ `faces.n_frames` is typically β‰ˆ `(end - start) * 25`.
91
+
92
+ ### Example
93
+
94
+ ```json
95
+ {
96
+ "id": "S00023",
97
+ "start": 311.432,
98
+ "end": 335.618,
99
+ "language": "chinese",
100
+ "origin_width": 1920,
101
+ "origin_height": 1080,
102
+ "faces": { "n_frames": 606, "score": [], "bbox": [], "landmarks": [] }
103
+ }
104
+ ```
105
+
106
+ ## Reconstructing media
107
+
108
+ Annotations alone are not playable media. To obtain aligned clips:
109
+
110
+ 1. Download the YouTube video whose id equals the directory name.
111
+ 2. Cut `[start, end)`.
112
+ 3. Standardize to **25 fps**, annotation resolution, **24 kHz** mono audio.
113
+ 4. (Optional) Run vocal separation for cleaner speech tracks.
114
+
115
+ Recommended tooling is provided in `av_pipeline` (`pipeline.py`). You will need **yt-dlp**, **ffmpeg**, and **Deno** (YouTube JS runtime) for reliable downloads.
116
+
117
+ ```bash
118
+ python pipeline.py run --list-file ids.txt --limit 10
119
+ ```
120
+
121
+ ## Intended uses
122
+
123
+ - Audiovisual speech / lip-sync research
124
+ - ASR and speech quality benchmarking on in-the-wild video
125
+ - Training or evaluating dubbing / talking-head models (non-commercial under CC BY-NC)
126
+
127
+ ## Out-of-scope / limitations
128
+
129
+ - Does **not** include video or audio binaries
130
+ - YouTube videos may be deleted, geo-blocked, or privatized over time
131
+ - Transcripts and scores are automatic estimates and may contain errors
132
+ - Face landmarks are provided as metadata; respect privacy and platform policies
133
+
134
+ ## Ethical considerations
135
+
136
+ Use only for research and non-commercial purposes consistent with CC BY-NC 4.0 and YouTube Terms of Service.
137
+ Do not attempt to re-identify private individuals beyond what is already public on YouTube.
138
+
139
+ ## Citation
140
+
141
+ If you use this dataset, please cite the Hub repository:
142
+
143
+ ```bibtex
144
+ @misc{voxdub2026,
145
+ title = {VoxDub: Audiovisual Speech Segment Annotations},
146
+ author = {zyk21},
147
+ year = {2026},
148
+ howpublished = {\url{https://huggingface.co/datasets/zyk21/VoxDub}},
149
+ }
150
+ ```
151
+
152
+ ## License
153
+
154
+ Annotations are released under **CC BY-NC 4.0**.
155
+ Source media remains owned by the original uploaders and subject to YouTube ToS.