Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.06 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.06 KB

ActivityNet-Video-Downloader

A modified version of ActivityNet-Video-Downloader

Major differences

  • Python 3.X support
  • Trim videos into labeled segments
  • Download videos in '.mp4' format

Using activityNetDownloader

  1. Install the prerequisites.

    pip install -r requirements.txt
  2. 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
  3. 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 argument
    python activityNetDownloader.py ./another.file.name.json
  1. All the videos will be downloaded into two directories
    • downloaded: Full-length original videos
    • trimmed: Trimmed videos (train & validation only)