Skip to main content

openvideo provides convenient dataset generators for the combinatorial optimization problem

Project description


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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openvideo-0.0.1a2.tar.gz (21.1 kB view details)

Uploaded Source

File details

Details for the file openvideo-0.0.1a2.tar.gz.

File metadata

  • Download URL: openvideo-0.0.1a2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for openvideo-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 f76432e679a7b5a8f5b2a10ba65344a77d744881c1c2c983593d128a3c29ce22
MD5 aa0149368081ceff6b271761f81e290a
BLAKE2b-256 cc662d46e856f5a54421476e2859b1b4eb78ddb2fa766fda0e49be9df1a8a2da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page