video video 608 608 |
|---|
StreamingBench sample_332 Restored Video (Real-Time Visual Understanding)
This repository provides the restored, bit-verified publisher copy of sample_332 (sample_332/video.mp4 / sample_332_real.mp4) for the Real-Time Visual Understanding subset of mjuicem/StreamingBench.
1. Why the Official sample_332 File Fails to Decode
In the official mjuicem/StreamingBench dataset (commit 48872fa707124474ce4c5172ddc58efb8bc88058), archive Real-Time Visual Understanding_301-350.zip (SHA-256: d627530553789f0dc4c948fb39ce1cff3c88a9fa47aa8e385da54566f5dde10e) contains sample_332/video.mp4:
- Official archive member size:
300,095,317bytes (~286.2 MB) - Official ZIP CRC32:
9ccf3428 - Official SHA-256:
11fe83c605a53c781008660377d778611f26b03d54207f6573a98182c765dae6
Root Cause: The trailing 177,321,702 bytes (~169.1 MB, ~59% of the file) of the official sample_332/video.mp4 are filled with 0x00 (zero bytes) inside the upstream ZIP archive (also reported in THUNLP-MT/StreamingBench#17).
- Frames from 0s to 244s (frames
0..7312at29.97 fps) decode normally. - Starting at ~245s–247s (native frame
7342+), any standard video decoder (decord,PyAV,ffmpeg,OpenCV) hits the zero-filled region and throwsInvalid NAL unit size/avcodec_send_packet failed(DECORDError), causing evaluation to crash onsample_332questions at329s(Real-Time Visual Understanding_sample_332_4) and500s(Real-Time Visual Understanding_sample_332_5).
2. How sample_332 Was Restored & Verified
We located the original publisher source video (https://www.youtube.com/watch?v=_Dl3Yr1CjZY, format 137, 1920x1080, 30000/1001 fps) and performed a lossless packet-aligned stream copy (remux without re-encoding or synthesizing frames) matching the exact 18,220-frame timeline of the official container:
- Restored File:
sample_332_restored_publisher_copy.mp4(also linked undersample_332/video.mp4andsample_332_real.mp4for drop-in compatibility) - File Size:
289,946,965bytes (~276.5 MB) - SHA-256:
09149147995b5e3cacb0c39b1da3de4f8b0adfe70bb3294f99b315884c3af3eb - Resolution & Frame Rate:
1920x1080,29.97002997002997fps (30000/1001),18,220total frames (607.9407seconds) - Verification Summary (full logs in
provenance/):- Exact First I-Frame VCL Match: SHA-256
9fb5d4c280e26660877ebdc23dab084bf6bb0b349545e88116509540ad1396a5matches the official file bit-for-bit. - Content Identity Check (
0s–244s): Across 50 checkpoints on the intact prefix (0s, 5s, ..., 240s, 244s),pHashHamming distance =0anddHashHamming distance =0at every single point. - 100% Native PTS Alignment: All
18,220frame presentation timestamps (PTS) in the restored file arenp.array_equalto the official container's timestamp table (0.0sthrough607.94s), covering all 5 StreamingBench queries (13s,175s,180s,329s,500s) without any decoder error.
- Exact First I-Frame VCL Match: SHA-256
3. Usage (Drop-in Replacement)
# Download with huggingface-cli
huggingface-cli download XiangnanW/StreamingBench-sample332-restored \
--repo-type dataset \
--local-dir ./StreamingBench-sample332-restored
# Verify SHA-256
shasum -a 256 ./StreamingBench-sample332-restored/sample_332_restored_publisher_copy.mp4
# Expected: 09149147995b5e3cacb0c39b1da3de4f8b0adfe70bb3294f99b315884c3af3eb
# Replace the corrupted file in your StreamingBench directory:
# (a) Official StreamingBench structure (data/real/sample_332/video.mp4):
cp ./StreamingBench-sample332-restored/sample_332_restored_publisher_copy.mp4 \
/path/to/StreamingBench/data/real/sample_332/video.mp4
# (b) Flattened / VST / lmms-eval structure (videos/sample_332_real.mp4):
cp ./StreamingBench-sample332-restored/sample_332_restored_publisher_copy.mp4 \
/path/to/StreamingBench/videos/sample_332_real.mp4
- Downloads last month
- 60