File size: 3,153 Bytes
ab09854 48add2e ab09854 48add2e ab09854 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
---
license: cc-by-4.0
task_categories:
- text-to-video
language:
- en
tags:
- text-to-video
- Video Generative Model Training
- Text-to-Video Diffusion Model Training
- prompts
pretty_name: OpenVid-1M-mapping
size_categories:
- 1M<n<10M
---
# Summary
This is the extent dataset proposed in the paper "[**OpenVid-1M: A Large-Scale High-Quality Dataset for Text-to-video Generation**](https://arxiv.org/abs/2407.02371)".
OpenVid-1M is a high-quality text-to-video dataset designed for research institutions to enhance video quality, featuring high aesthetics, clarity, and resolution. It can be used for direct training or as a quality tuning complement to other video datasets.
**New Feature**: Video-ZIP mapping files now available for efficient video lookup (see [Dataset Structure](#dataset-structure) and [Extended Usage](#extended-usage)).
# Dataset Structure
```
DATA_PATH
βββ video_mappings (NEW!)
βββ OpenVid_part0.csv
βββ OpenVid_part1.csv
βββ ...
βββ OpenVid_part185.csv
βββ README.md
βββ ...
```
# Key Updates
1. **Video-ZIP Mapping**
We provide 186 mapping files (`OpenVid_part*.csv`) containing:
```csv
zip_file,video,video_path
OpenVid_part0.zip,celebv_--Jiv5iYqT8_0.mp4,OpenVid_part1/celebv_--Jiv5iYqT8_0.mp4
OpenVid_part0.zip,celebv_--Jiv5iYqT8_2.mp4,OpenVid_part1/celebv_--Jiv5iYqT8_2.mp4
OpenVid_part0.zip,celebv_--QCZKgJt6o_0.mp4,OpenVid_part1/celebv_--QCZKgJt6o_0.mp4
OpenVid_part0.zip,celebv_--oCWVOBuvA_0.mp4,OpenVid_part1/celebv_--oCWVOBuvA_0.mp4
...
```
- `zip_file`: Source ZIP archive name
- `video`: Video filename
- `video_path`: Relative path within the ZIP file
2. **Mapping Features**
- Enables direct video lookup without full ZIP extraction
- Contains cross-references between ZIP files and video paths
- Split into multiple files for parallel processing
# Extended Usage
## 1. Video Mapping Access
```python
import pandas as pd
# Load all mapping files
mappings = [pd.read_csv(f"video_mappings/OpenVid_part{i}.csv")
for i in range(186)]
full_mapping = pd.concat(mappings)
# Find ZIP location for specific video
video_name = "celebv_--Jiv5iYqT8_0.mp4"
result = full_mapping[full_mapping.video == video_name]
print(f"Video {video_name} is in {result.zip_file.values[0]} at path {result.video_path.values[0]}")
```
## 2. Advanced ZIP Handling
### Extraction Specific Video from Zip_file
```bash
# Extract specific video from ZIP without full decompression
unzip OpenVid_part0.zip "OpenVid_part1/celebv_--Jiv5iYqT8_0.mp4" -d target_folder
# Unzip files (-j flattens directory structure)
```
# Citation and Acknowledgments
This mapping dataset was developed to enhance **OpenVid-1M** accessibility. Special thanks to the original dataset contributors.
```bibtex
@article{nan2024openvid,
title={OpenVid-1M: A Large-Scale High-Quality Dataset for Text-to-video Generation},
author={Nan, Kepan and Xie, Rui and Zhou, Penghao and Fan, Tiehan and Yang, Zhenheng and Chen, Zhijie and Li, Xiang and Yang, Jian and Tai, Ying},
journal={arXiv preprint arXiv:2407.02371},
year={2024}
}
```
|