Skip to main content

Package for extracting metadata from video files

Project description

Overview

The VideoInfo class is a comprehensive utility designed for handling and extracting detailed information and metadata from video files. It integrates with various subsystems to provide a wide range of data, including audio, video, format, and data stream metadata, as well as video thumbnails and timecode information.

Features

  • Video Handling: Open and close video files, extracting basic stream information.

  • Metadata Extraction: Extract detailed metadata for video, audio, and data streams.

  • Thumbnail Generation: Generate thumbnails for video files based on a specified size factor.

  • Timecode Analysis: Calculate and provide timecode information for the video.

Components

The class is composed of several components that work together to provide a comprehensive set of information about a video file: - IVideoHandler: Interface for handling basic video operations. - IMetadataExtractor: Interface for extracting metadata from different types of streams. - IThumbnailGenerator: Interface for generating thumbnails from video frames.

Usage

To use the VideoInfo class, initialize it with the required handlers and extractors specific to your video file’s needs. Once instantiated, you can access various properties and methods to retrieve video information and metadata.

video_info = VideoInfo(
    video_handler,
    audio_metadata_extractor,
    video_metadata_extractor,
    format_metadata_extractor,
    data_metadata_extractor,
    thumbnail_generator
)

print(video_info.fps)  # Access frame rate
print(video_info.width)  # Access video width
print(video_info.height)  # Access video height

Conclusion

The VideoInfo class is a robust and flexible solution for anyone looking to extract detailed information and metadata from video files. With its comprehensive set of features and easy-to-use interface, it’s an invaluable tool for developers working in video processing, editing, and analysis.


Note: This documentation is based on the provided class definition and should be updated as the class evolves.

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

gh-video-scope-1.0.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gh_video_scope-1.0.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file gh-video-scope-1.0.1.tar.gz.

File metadata

  • Download URL: gh-video-scope-1.0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gh-video-scope-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0909515c247028f3c8f171119d023ab117535f310555a77ec8553623794fe5cc
MD5 09a391921bfa249578bd0f09faefebff
BLAKE2b-256 154395184dcc43d0d2350e3e81e6f8f28276220bdde898717644e2811a9dc3ef

See more details on using hashes here.

File details

Details for the file gh_video_scope-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gh_video_scope-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gh_video_scope-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0aff71ff8b115ce3b180095c4c967c8ba0f320e937289370431000cbf8099836
MD5 318613a004fec7cb4d887c57e0d4de9a
BLAKE2b-256 17abb1a0c105e06bd9bf94f7d1f373b37490fdaa018cbf2aaf00300c90f98ad3

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