Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 5 new columns ({'group id', 'luminance score', 'aesthetic score', 'id', 'motion score'}) and 1 missing columns ({'duration'}).

This happened while the csv dataset builder was generating data using

hf://datasets/VideoDatasets/SpatialVID-RAW/metadata_short_duration.csv (at revision 94157acfcd7bc7da2b99b635df573f3f33c47b9b), ['hf://datasets/VideoDatasets/SpatialVID-RAW@94157acfcd7bc7da2b99b635df573f3f33c47b9b/metadata_long_duration.csv', 'hf://datasets/VideoDatasets/SpatialVID-RAW@94157acfcd7bc7da2b99b635df573f3f33c47b9b/metadata_short_duration.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              group id: int64
              YouTube id: string
              timestamp_start: string
              timestamp_end: string
              fps: double
              aesthetic score: double
              luminance score: double
              motion score: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1368
              to
              {'YouTube id': Value('string'), 'timestamp_start': Value('string'), 'timestamp_end': Value('string'), 'fps': Value('float64'), 'duration': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 5 new columns ({'group id', 'luminance score', 'aesthetic score', 'id', 'motion score'}) and 1 missing columns ({'duration'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/VideoDatasets/SpatialVID-RAW/metadata_short_duration.csv (at revision 94157acfcd7bc7da2b99b635df573f3f33c47b9b), ['hf://datasets/VideoDatasets/SpatialVID-RAW@94157acfcd7bc7da2b99b635df573f3f33c47b9b/metadata_long_duration.csv', 'hf://datasets/VideoDatasets/SpatialVID-RAW@94157acfcd7bc7da2b99b635df573f3f33c47b9b/metadata_short_duration.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

YouTube id
string
timestamp_start
string
timestamp_end
string
fps
float64
duration
float64
--7SrUK4_sk
00:00:00.300
00:00:19.119
59.940063
18.819
--7SrUK4_sk
00:00:19.720
00:00:41.541
59.940063
21.821
--7SrUK4_sk
00:00:42.142
00:00:55.355
59.940063
13.213
--7SrUK4_sk
00:00:55.956
00:02:17.988
59.940063
82.032
--7SrUK4_sk
00:02:18.588
00:09:22.011
59.940063
423.423
--7SrUK4_sk
00:09:22.612
00:11:27.787
59.940063
125.175
--7SrUK4_sk
00:11:28.838
00:13:40.370
59.940063
131.532
--7SrUK4_sk
00:13:40.970
00:15:09.959
59.940063
88.989
--7SrUK4_sk
00:15:10.560
00:16:43.152
59.940063
92.592
--7SrUK4_sk
00:16:43.753
00:17:40.609
59.940063
56.856
--7SrUK4_sk
00:17:41.210
00:21:58.617
59.940063
257.407
--7SrUK4_sk
00:21:59.518
00:22:21.890
59.940063
22.372
--7SrUK4_sk
00:22:25.694
00:24:32.221
59.940063
126.527
--7SrUK4_sk
00:24:33.172
00:25:37.836
59.940063
64.664
--7SrUK4_sk
00:25:38.437
00:26:05.614
59.940063
27.177
--7SrUK4_sk
00:26:06.215
00:26:41.500
59.940063
35.285
--7SrUK4_sk
00:26:43.101
00:26:48.757
59.940063
5.656
--7SrUK4_sk
00:26:49.358
00:27:10.629
59.940063
21.271
--7SrUK4_sk
00:27:13.232
00:27:50.419
59.940063
37.187
--7SrUK4_sk
00:27:51.019
00:28:11.590
59.940063
20.571
--7SrUK4_sk
00:28:12.190
00:35:59.707
59.940063
467.517
--7SrUK4_sk
00:36:01.910
00:36:07.665
59.940063
5.755
--7SrUK4_sk
00:36:08.967
00:36:12.821
59.940063
3.854
--7SrUK4_sk
00:36:19.878
00:36:26.534
59.940063
6.656
--7SrUK4_sk
00:36:27.485
00:36:31.289
59.940063
3.804
--7SrUK4_sk
00:36:34.242
00:36:58.166
59.940063
23.924
--7SrUK4_sk
00:37:03.721
00:37:06.224
59.940063
2.503
--7SrUK4_sk
00:37:08.176
00:37:11.579
59.940063
3.403
--7SrUK4_sk
00:37:12.180
00:37:16.384
59.940063
4.204
--7SrUK4_sk
00:37:16.985
00:37:19.737
59.940063
2.752
--7SrUK4_sk
00:37:20.338
00:37:23.191
59.940063
2.853
--7SrUK4_sk
00:37:33.151
00:37:35.353
59.940063
2.202
--7SrUK4_sk
00:37:35.954
00:37:42.560
59.940063
6.606
--7SrUK4_sk
00:37:43.161
00:37:47.265
59.940063
4.104
--7SrUK4_sk
00:37:47.865
00:37:55.073
59.940063
7.208
--7SrUK4_sk
00:37:56.474
00:38:03.881
59.940063
7.407
--7SrUK4_sk
00:38:09.587
00:38:16.894
59.940063
7.307
--7SrUK4_sk
00:38:24.402
00:38:26.754
59.940063
2.352
--7SrUK4_sk
00:38:29.407
00:38:33.061
59.940063
3.654
--7SrUK4_sk
00:38:38.666
00:38:43.621
59.940063
4.955
--7SrUK4_sk
00:38:44.222
00:38:49.978
59.940063
5.756
--7SrUK4_sk
00:38:52.930
00:38:55.033
59.940063
2.103
--7SrUK4_sk
00:38:55.633
00:39:16.504
59.940063
20.871
--7SrUK4_sk
00:39:23.261
00:39:26.214
59.940063
2.953
--7SrUK4_sk
00:39:28.416
00:39:30.768
59.940063
2.352
--7SrUK4_sk
00:39:31.369
00:39:44.382
59.940063
13.013
--7SrUK4_sk
00:39:45.683
00:39:48.686
59.940063
3.003
--7SrUK4_sk
00:39:49.287
00:39:52.990
59.940063
3.703
--7SrUK4_sk
00:39:56.294
00:39:59.747
59.940063
3.453
--7SrUK4_sk
00:40:00.348
00:40:21.069
59.940063
20.721
--7SrUK4_sk
00:40:21.669
00:40:27.775
59.940063
6.106
--7SrUK4_sk
00:40:28.376
00:40:37.985
59.940063
9.609
--7SrUK4_sk
00:40:38.986
00:40:44.192
59.940063
5.206
--7SrUK4_sk
00:40:46.844
00:40:51.599
59.940063
4.755
--7SrUK4_sk
00:40:55.002
00:41:05.213
59.940063
10.211
--7SrUK4_sk
00:41:07.064
00:41:16.023
59.940063
8.959
--7SrUK4_sk
00:41:17.575
00:43:11.339
59.940063
113.764
--7SrUK4_sk
00:43:11.939
00:45:20.718
59.940063
128.779
--7SrUK4_sk
00:45:21.318
00:45:54.001
59.940063
32.683
--7SrUK4_sk
00:45:56.554
00:45:59.407
59.940063
2.853
--7SrUK4_sk
00:46:00.007
00:46:02.810
59.940063
2.803
--7SrUK4_sk
00:46:03.411
00:46:11.419
59.940063
8.008
--CYX1RExUM
00:00:00.300
00:05:14.614
29.97003
314.314
--CYX1RExUM
00:05:15.215
00:05:18.018
29.97003
2.803
--CYX1RExUM
00:05:20.520
00:05:23.023
29.97003
2.503
--CYX1RExUM
00:05:28.028
00:05:31.431
29.97003
3.403
--CYX1RExUM
00:05:32.032
00:05:41.441
29.97003
9.409
--CYX1RExUM
00:05:43.944
00:05:47.547
29.97003
3.603
--CYX1RExUM
00:05:50.450
00:05:59.059
29.97003
8.609
--CYX1RExUM
00:06:00.360
00:06:02.662
29.97003
2.302
--CYX1RExUM
00:06:10.470
00:06:13.773
29.97003
3.303
--CYX1RExUM
00:06:14.374
00:06:27.087
29.97003
12.713
--CYX1RExUM
00:06:27.687
00:06:30.690
29.97003
3.003
--CYX1RExUM
00:06:33.593
00:06:36.396
29.97003
2.803
--CYX1RExUM
00:06:41.101
00:06:45.305
29.97003
4.204
--CYX1RExUM
00:06:51.011
00:06:53.913
29.97003
2.902
--CYX1RExUM
00:06:54.514
00:06:58.918
29.97003
4.404
--CYX1RExUM
00:07:02.222
00:07:29.649
29.97003
27.427
--CYX1RExUM
00:07:30.250
00:07:33.053
29.97003
2.803
--CYX1RExUM
00:07:33.653
00:10:38.638
29.97003
184.985
--CYX1RExUM
00:10:39.239
00:10:44.844
29.97003
5.605
--CYX1RExUM
00:10:46.346
00:10:51.551
29.97003
5.205
--CYX1RExUM
00:10:52.152
00:10:55.655
29.97003
3.503
--CYX1RExUM
00:10:58.458
00:11:05.765
29.97003
7.307
--CYX1RExUM
00:11:06.366
00:11:10.570
29.97003
4.204
--CYX1RExUM
00:11:15.275
00:12:00.286
29.97003
45.011
--CYX1RExUM
00:12:02.121
00:13:04.484
29.97003
62.363
--CYX1RExUM
00:13:05.084
00:13:09.989
29.97003
4.905
--CYX1RExUM
00:13:10.590
00:13:31.210
29.97003
20.62
--CYX1RExUM
00:13:32.712
00:13:35.114
29.97003
2.402
--CYX1RExUM
00:13:37.116
00:13:45.224
29.97003
8.108
--CYX1RExUM
00:13:46.726
00:13:51.130
29.97003
4.404
--CYX1RExUM
00:13:57.437
00:14:02.542
29.97003
5.105
--CYX1RExUM
00:14:04.344
00:14:10.450
29.97003
6.106
--CYX1RExUM
00:14:11.050
00:17:51.871
29.97003
220.821
--CYX1RExUM
00:17:54.073
00:17:58.077
29.97003
4.004
--CYX1RExUM
00:18:00.379
00:18:33.913
29.97003
33.534
--CYX1RExUM
00:18:36.115
00:18:53.933
29.97003
17.818
--CYX1RExUM
00:18:56.936
00:22:14.333
29.97003
197.397
--CYX1RExUM
00:22:16.735
00:22:19.939
29.97003
3.204
End of preview.

SpatialVID: A Large-Scale Video Dataset with Spatial Annotations

1Nanjing University  2Institute of Automation, Chinese Academy of Science 
*Equal Contribution  †Corresponding Author
CVPR 2026

       

SpatialVID-RAW

Thank you for your interest in our work. We have received numerous requests from the research community for access to the raw data. To support further research, we are providing the YouTube video IDs and their corresponding timestamps used in our dataset.

Due to potential copyright considerations, this metadata is available through a gated dataset on Hugging Face rather than being fully public. To gain access, you will be required to submit a request. This process helps ensure the responsible and appropriate use of the dataset. We appreciate your understanding and cooperation.

By downloading and using this dataset, you agree to comply with the terms of the LICENSE AGREEMENT.

Dataset Description

Note that group id 0 means the clip is filtered out in our previous processing. So these clips are not included in the SpatialVID-HQ or SpatialVID dataset.

The provided metadata is categorized as follows:

  • Short Clips: This set contains timestamps for video segments that are between 3 and 15 seconds long. A portion of these short clips, determined by their "group id," were used for the annotations reported in our paper. Clips with a "group id" of 0 were filtered out in our previous processing steps.

    Field Name Description
    id Unique identifier for each video clip (matches the annotation folder name).
    group id Identifier of the group the video clip belongs to (e.g., group_0001).
    YouTube id Unique identifier for the YouTube video (e.g., dQw4w9WgXcQ).
    timestamp_start Start time of the video segment (in microseconds).
    timestamp_end End time of the video segment (in microseconds).
    fps Frames per second (FPS) of the video clip.
    aesthetic score Subjective score evaluating the video’s visual aesthetics (0–10).
    luminance score Score measuring the video’s overall brightness.
    motion score Score quantifying the intensity of motion in the video (0–20).
  • Long Clips: To accommodate research that requires extended video context, we also provide timestamps without the 15-second length constraint. Please note that these longer versions do not have separate annotations. However, you can either use our provided annotation process to create your own or utilize the caption information from the corresponding short clips.

    Field Name Description
    YouTube id Unique identifier for the YouTube video (e.g., dQw4w9WgXcQ).
    timestamp_start Start time of the video segment (in microseconds).
    timestamp_end End time of the video segment (in microseconds).
    fps Frames per second (FPS) of the video clip.
    duration Duration of the video segment (in microseconds).

Download Tool

To facilitate the download of video clips based on the provided metadata, we have developed a Python script that allows you to easily download the specified video segments. Please refer to the download_YouTube.py in our GitHub repo.

License

SpatialVID is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC-BY-NC-SA 4.0). By using this dataset, you agree to the following terms:

  1. Attribution: You must credit the original source of the dataset.
  2. Non-Commercial Use: The dataset may not be used for commercial purposes.
  3. ShareAlike: Any modified or derived works must be released under the same license.

For the full license text, visit: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.

If you are the copyright owner of any video in our dataset and you need it to be removed, please contact us, and we will remove the video samples from our dataset / Github / project webpage / technical presentation as soon as possible.

Citation

If you use SpatialVID in your research, please cite our work using the following format (citation will be updated upon paper publication):

@article{wang2025spatialvid,
  title={Spatialvid: A large-scale video dataset with spatial annotations},
  author={Wang, Jiahao and Yuan, Yufeng and Zheng, Rujie and Lin, Youtian and Gao, Jian and Chen, Lin-Zhuo and Bao, Yajie and Zhang, Yi and Zeng, Chang and Zhou, Yanxi and others},
  journal={arXiv preprint arXiv:2509.09676},
  year={2025}
}
Downloads last month
66

Paper for VideoDatasets/SpatialVID-RAW