A modified version of ActivityNet-Video-Downloader
- Python 3.X support
- Trim videos into labeled segments
- Download videos in '.mp4' format
-
Install the prerequisites.
pip install -r requirements.txt
-
Download the ActivityNet annotation file
wget http://ec2-52-11-11-89.us-west-2.compute.amazonaws.com/files/activity_net.v1-3.min.json
- if this url doesn't work, please visit the official ActivityNet website
-
Run the script.
python activityNetDownloader.py
- if you use a different json file (not
activity_net.v1-3.min.json
), please specify its filename as an argumentpython activityNetDownloader.py ./another.file.name.json
- All the videos will be downloaded into two directories
downloaded
: Full-length original videostrimmed
: Trimmed videos (train & validation only)