Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<media_key: string, source: string, hf_video_path: string, archive_path: string, archive_member: string, bytes: int64, sha256: string, metadata_media_type: string, provenance: string, sequence: struct<storage: string, fps: int64>>
to
List({'media_key': Value('string'), 'source': Value('string'), 'hf_video_path': Value('string'), 'archive_path': Value('string'), 'archive_member': Value('string'), 'bytes': Value('int64'), 'sha256': Value('string'), 'metadata_media_type': Value('string'), 'provenance': Value('string'), 'sequence': {'storage': Value('string'), 'fps': Value('int64')}})
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                  return check_status(status)
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 369, in _generate_tables
                  yield Key(shard_idx, 0), self._cast_table(pa_table)
                                           ~~~~~~~~~~~~~~~~^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2328, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1870, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2170, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<media_key: string, source: string, hf_video_path: string, archive_path: string, archive_member: string, bytes: int64, sha256: string, metadata_media_type: string, provenance: string, sequence: struct<storage: string, fps: int64>>
              to
              List({'media_key': Value('string'), 'source': Value('string'), 'hf_video_path': Value('string'), 'archive_path': Value('string'), 'archive_member': Value('string'), 'bytes': Value('int64'), 'sha256': Value('string'), 'metadata_media_type': Value('string'), 'provenance': Value('string'), 'sequence': {'storage': Value('string'), 'fps': Value('int64')}})

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

OneStreamer-Core-SourceVideo

Video assets for the OneStreamer-Core annotations and the StreamForest InternVid temporal grounding annotations in MCG-NJU/OneStreamer-1M. See its dataset card for the task taxonomy and metadata format, and our paper for the data construction pipeline.

The release is organized by source directly under the repository root. Each uncompressed part-XXXXX.tar has a corresponding part-XXXXX.manifest.json; download them as a pair. The source videos remain subject to their respective source datasets' terms.

README.md
AVA/
  part-00000.tar
  part-00000.manifest.json
  ...
COIN/
Ego4D/
EgoQA/
InternVid/
  StreamForest/
MAGQA/
Molmo2-Cap/
Molmo2-VideoCapQA/
PerceptionTest/
Shot2Story/
THUMOS/
TVQA/
TimeLens-100K/
TimeLens2-93K/
UCF-Crime/
YouTube-Collected/

StreamForest InternVid

InternVid/StreamForest/ contains the 23,240 source MP4s referenced by the 25,000 InternVid temporal grounding annotations in the StreamForest collection of OneStreamer-1M. To download this subset, use allow_patterns=["InternVid/StreamForest/*"]. Extract all selected tar shards into the same media root. Each MP4 is stored at the annotation’s video_path.

Download and unpack

For example, download the EgoQA shard using huggingface_hub:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="yyd7/OneStreamer-Core-SourceVideo",
    repo_type="dataset",
    allow_patterns=["EgoQA/*"],
    local_dir="OneStreamer-Core-SourceVideo",
)

Unpack the selected shards into a shared media root:

mkdir -p media
tar -xf OneStreamer-Core-SourceVideo/EgoQA/part-00000.tar -C media

For annotations with media_type: "video", the extracted path is media/<video_path> and can be used directly. Each OneStreamer-Core shard contains only the selected Core media, with one file per distinct metadata media reference.

Match videos to metadata

Each manifest identifies the annotation repository in hf_dataset and pins its revision in annotation_revision. The video_dataset field identifies this source-video repository; all archive_path values are relative to its root. The manifest's assets list contains:

Field Meaning
media_key Stable identifier for the metadata media reference.
source Source dataset or collection.
hf_video_path Exact video_path in the Core metadata.
archive_path Tar location relative to this source-video repository, such as EgoQA/part-00000.tar.
archive_member MP4 location inside the tar and under the extraction root.
bytes, sha256 Size and SHA-256 of the individual MP4.
metadata_media_type The annotation's original media representation: video or sequence.
provenance Whether this asset is a dataset video/clip, a processed clip/segment, or a reconstruction from frames.
sequence The annotation's frame rate and, when specified, filename pattern and starting index.

Match an annotation's video_path to hf_video_path. The MP4 to read is identified by archive_path and archive_member. All annotation IDs, times, task assignments, and silence/standby/response data retain their metadata definitions.

Frame-sequence annotations

For metadata_media_type: "sequence", hf_video_path refers to a frame directory. The released MP4 is the input for reconstructing that frame sequence; its path is recorded separately as archive_member. Follow sequence.fps and any filename_pattern / index_start when creating the frame directory.

  • Time-based 4 FPS names are 00000_00.jpg, 00000_25.jpg, 00000_50.jpg, 00000_75.jpg, followed by 00001_00.jpg, and so on. The sample times are 0, 0.25, 0.5, 0.75 seconds, etc.
  • TVQA uses 3 FPS and one-based names such as 00001.jpg; frame index 1 is at time 0.
  • If the metadata omits a filename pattern, use the source dataset's frame convention. A frame-directory reference should not be replaced blindly with an MP4 path in a loader that expects images.

AVA and TVQA assets marked reconstructed_from_frames preserve the available frame order and timing and have no audio. They are H.264 reconstructions, not recovered original recordings, and do not reproduce JPEG files byte for byte. AVA's separately available original video is identified by its own provenance. Other sequence sources use their available dataset videos or clips. Processed clips and segments retain their local annotation time axis; they are not replaced with full-length source recordings.

Downloads last month
126,350

Paper for yyd7/OneStreamer-Core-SourceVideo