openvideo

openvideo provides convenient dataset generators for the combinatorial optimization problem


Keywords
clean, fetch, free, openvideo, video
License
MulanPSL-2.0
Install
pip install openvideo==0.0.1a2

Documentation


OpenVideo is a Python package designed to facilitate the downloading, data streaming, data cleaning, and captioning of various videos from free, royalty-free video websites. It provides a set of functions and classes that enable seamless integration with these websites and streamline video-related data processing tasks. OpenVideo has the following features:

  • Video Downloading: downloading of videos from free, royalty-free video websites.

  • Video Streaming: Implementing data flow between HuggingFace and ModelScope.

  • Video Cleaning: video integrity, scene segmentation, extracting keyframes from videos, etc.

  • Video Captioning: Not yet implemented.

Installation

You can install the stable release on PyPI:

$ pip install openvideo

or get the latest version by running:

$ pip install -U https://github.com/heatingma/OpenVideo/archive/master.zip # with --user for user install (no root)

The following packages are required, and shall be automatically installed by pip:

huggingface_hub>=0.22.2
tqdm>=4.66.1
wget>=3.2
requests>=2.31.0
aiohttp>=3.9.3
async_timeout>=4.0.3
moviepy>=1.0.3
opencv-python>=4.9.0.80
selenium>=4.19.0
scenedetect>=0.6.3
texttable>=1.7.0
bs4>=0.0.2

Video Downloading

website windows macos linux
Pexels ✔ 📆 📆
Mazwai 📆 📆 📆
Mixkit ✔ 📆 ✔
Pixabay ✔ 📆 📆
Coverr 📆 📆 📆
Youtube ✔ ✔ ✔