Muno459 commited on
Commit
908b2b5
·
verified ·
1 Parent(s): fcdc438

Card: show the two YouTube versions (Opus and AAC) at the top and where each lives in the repo

Browse files
Files changed (2) hide show
  1. README.md +27 -1
  2. assets/banner.png +2 -2
README.md CHANGED
@@ -58,16 +58,42 @@ that could not be found.**
58
  |:---:|:---:|:---:|:---:|:---:|
59
  | **1,780,876** of 2,084,320 (85.4%) | **4,904** | **527** | 48 kHz, 24-bit FLAC | 2.25 TiB |
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  - **48 kHz throughout.** 87.9% of the clips are decoded from Opus streams (full band to 20 kHz). The rest
62
  exist only as AAC on YouTube; they are resampled to 48 kHz and flagged, never passed off as native.
63
  - **Provenance on every clip.** Where the audio came from, which codec it was decoded from, and whether it was resampled.
64
  - **Measured.** Bandwidth, energy above 16 kHz, peak and RMS level, clipping and silence for every clip.
65
  - **Deduplicated.** Audio fingerprinting finds re-uploads and flags train clips whose audio also appears in the eval set.
66
  - **Accounted for.** Each of the 303,444 missing segments carries one specific reason (removed, private, blocked, ...).
67
- - **Originals kept.** The first 2026 download (44.1 kHz AAC for most clips) stays in the repository for codec comparisons.
68
 
69
  ## Contents
70
 
 
71
  - [Quick start](#quick-start)
72
  - [How it compares](#how-it-compares)
73
  - [Dataset structure](#dataset-structure)
 
58
  |:---:|:---:|:---:|:---:|:---:|
59
  | **1,780,876** of 2,084,320 (85.4%) | **4,904** | **527** | 48 kHz, 24-bit FLAC | 2.25 TiB |
60
 
61
+ ## Two versions of every clip: Opus and AAC
62
+
63
+ YouTube stores the audio of each video as **two separate streams**, and this repository ships both:
64
+
65
+ | YouTube stream | format | typical quality | where it is here | clips |
66
+ |---|---|---|---|---:|
67
+ | **Opus** (itag 251) | 48 kHz, variable bitrate (median about 120 kbps) | full band, up to 20 kHz | `audio48k/` (`shard`, `member`), `native_48k = true` | **1,564,753** |
68
+ | **AAC** (itag 140) | 44.1 kHz, about 130 kbps constant | usually low-passed near 16 kHz | `audio_v1/` (`aac_shard`, `aac_member`), as downloaded | **1,347,236** |
69
+
70
+ - **`audio48k/` is the release to train on.** Each clip is the Opus version wherever one could be fetched and verified.
71
+ The other 216,123 clips, mostly older uploads that have no Opus stream at all, are the AAC audio resampled to
72
+ 48 kHz and flagged `native_48k = false`.
73
+ - **`audio_v1/` keeps the AAC originals** at 44.1 kHz, untouched. 1,150,863 clips have both an Opus and an AAC
74
+ version, so the two codecs can be compared clip by clip; for the 196,373 AAC-only clips it holds the
75
+ original before resampling.
76
+
77
+ ```python
78
+ # clips = metadata/clips.parquet, loaded as in the quick start below
79
+ row = clips[clips.available & clips.aac_shard.notna()].iloc[0]
80
+ opus = (row.shard, row.member) # 48 kHz, from the Opus stream
81
+ aac = (row.aac_shard, row.aac_member) # 44.1 kHz, the AAC stream of the same clip
82
+ ```
83
+
84
+ ## Highlights
85
+
86
  - **48 kHz throughout.** 87.9% of the clips are decoded from Opus streams (full band to 20 kHz). The rest
87
  exist only as AAC on YouTube; they are resampled to 48 kHz and flagged, never passed off as native.
88
  - **Provenance on every clip.** Where the audio came from, which codec it was decoded from, and whether it was resampled.
89
  - **Measured.** Bandwidth, energy above 16 kHz, peak and RMS level, clipping and silence for every clip.
90
  - **Deduplicated.** Audio fingerprinting finds re-uploads and flags train clips whose audio also appears in the eval set.
91
  - **Accounted for.** Each of the 303,444 missing segments carries one specific reason (removed, private, blocked, ...).
92
+ - **Both YouTube versions.** Opus in `audio48k/`, the AAC originals in `audio_v1/`, linked per clip.
93
 
94
  ## Contents
95
 
96
+ - [Two versions of every clip: Opus and AAC](#two-versions-of-every-clip-opus-and-aac)
97
  - [Quick start](#quick-start)
98
  - [How it compares](#how-it-compares)
99
  - [Dataset structure](#dataset-structure)
assets/banner.png CHANGED

Git LFS Details

  • SHA256: f40124f268210bada776608c64f8806424bff3019c6b719a306a61796095dd4d
  • Pointer size: 131 Bytes
  • Size of remote file: 856 kB

Git LFS Details

  • SHA256: 786854a88de4f37e3ce5c8c246825601c0d405452ae4fbc9b1af1f37f1e204bd
  • Pointer size: 131 Bytes
  • Size of remote file: 847 kB