Skip to main content

VideoInfo Class Documentation

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.

Metadata

Release files for gh-video-scope 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gh-video-scope 1.0.1
File Size Uploaded Provenance
gh-video-scope-1.0.1.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gh-video-scope 1.0.1
File Interpreter ABI Platform
gh_video_scope-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.7 kB

Release files / gh-video-scope-1.0.1.tar.gz

Download URL gh-video-scope-1.0.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0909515c247028f3c8f171119d023ab117535f310555a77ec8553623794fe5cc
BLAKE2b-256 checksum
How to use checksums
154395184dcc43d0d2350e3e81e6f8f28276220bdde898717644e2811a9dc3ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / gh_video_scope-1.0.1-py3-none-any.whl

Download URL gh_video_scope-1.0.1-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aff71ff8b115ce3b180095c4c967c8ba0f320e937289370431000cbf8099836
BLAKE2b-256 checksum
How to use checksums
17abb1a0c105e06bd9bf94f7d1f373b37490fdaa018cbf2aaf00300c90f98ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for gh-video-scope 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page