livingbio / ffmpeg-media-type

ffmpeg-media-type is a Python library that utilizes FFmpeg to detect various media file information, such as duration, width, and height. This library provides an easy-to-use interface for extracting essential details from media files by leveraging the powerful capabilities of FFmpeg.
MIT License
2 stars 1 forks source link

Add more example in readme #21

Open lucemia opened 1 year ago

lucemia commented 1 year ago

ffmpeg-media-type is a Python library that utilizes FFmpeg to detect various media file information, such as duration, width, and height. This library provides an easy-to-use interface for extracting essential details from media files by leveraging the powerful capabilities of FFmpeg.

Key Features:

  1. Typehint Support: The library is fully compatible with type hinting, allowing developers to benefit from static type checking tools and improve code reliability.

  2. 100% Test Coverage: The library is extensively tested to ensure its functionality and reliability. It achieves 100% test coverage, which means that every line of code in the library is tested, reducing the risk of bugs and ensuring a robust experience for users.

Additional Features:

  1. Bitrate Detection: ffmpeg-media-type can retrieve the bitrate information of media files, providing insights into the data rate of audio or video content.

  2. Codec Information: The library can extract detailed codec information from media files, including the codec name, profile, and format. This enables developers to determine the specific encoding used in the media file.

  3. Metadata Extraction: ffmpeg-media-type can extract metadata from media files, such as title, author, album, and more. This information is useful for organizing and categorizing media files.

  4. Frame Rate Detection: The library can determine the frame rate of video files, which is crucial for applications that require accurate timing or video processing.

  5. Thumbnail Generation: With ffmpeg-media-type, developers can generate thumbnails from video files, allowing them to quickly preview or showcase video content.

  6. Stream Analysis: The library supports analyzing multiple streams within a media file, including audio, video, and subtitle streams. This enables developers to extract information specific to each stream.

  7. Cross-Platform Compatibility: ffmpeg-media-type is designed to work seamlessly on multiple platforms, including Windows, macOS, and Linux, making it highly versatile and accessible.

  8. Extensive Documentation: The library is well-documented, providing clear instructions and examples for developers to get started quickly and easily integrate the library into their projects.

We strive to continuously enhance the functionality of ffmpeg-media-type and welcome contributions from the community. Please refer to the GitHub repository for more information, including installation instructions, usage examples, and contribution guidelines.

lucemia commented 1 year ago

How many types it support