React Native Media Meta screenshot

React Native Media Meta

Author Avatar Theme by Mybigday
Updated: 12 Dec 2020
84 Stars

Get media file metadata in your React Native app

Overview

React Native Media Meta is a powerful tool for developers looking to retrieve media file metadata within their React Native applications. It simplifies the process of accessing key information such as thumbnail images, duration, and dimensions of media files, making it an essential utility for anyone working with audio or video content in their mobile apps. This library leverages native capabilities on both Android and iOS platforms, ensuring that users can get accurate metadata quickly and efficiently.

Features

  • Metadata Retrieval: Access media file metadata effortlessly through the simple MediaMeta.get(path) promise-based API.
  • Thumbnail Generation: Get a Base64 string of the thumbnail image for videos or artwork for audio files, providing a visual context for your content.
  • Duration Information: Retrieve the playback duration of video files, enhancing user interfaces that require time management features.
  • Cross-Platform Support: Utilizes platform-specific tools; FFmpegMediaMetadataRetriever for Android and AVMetadataItem for iOS, ensuring compatibility and performance.
  • Easy Installation: Quickly integrate the library into your project with straightforward installation instructions.
  • Lightweight License: Released under the MIT license, allowing wide usage and modification with minimal constraints.