FLUTTER ECOSYSTEM

media_info

Determine multimedia file properties like width, height, duration

Latest version
0.12.0+2
30-day downloads
90
Likes
41
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The media_info package provides a Flutter plugin to extract detailed properties from multimedia files, such as video width, height, duration, bitrate, and codec information. It leverages native platform capabilities on Android and iOS to deliver accurate metadata without requiring additional dependencies. Ideal for applications that need to analyze or display media file details before playback or processing. The package is lightweight and integrates seamlessly into existing Flutter projects using the standard pub package manager.

Use cases
  • Video metadata extraction
  • Media file analysis before playback
  • Content validation in media apps
  • Dynamic UI adjustments based on media dimensions
  • Automated media processing workflows
Key features
  • Supports both Android and iOS platforms
  • Extracts video resolution, duration, and codec details
  • Lightweight and easy to integrate
  • Uses native platform APIs for accuracy
  • Provides consistent data across devices
Suitable for
  • Developers building media players
  • Apps requiring media file inspection
  • Content management systems with media assets
  • Educational or creative tools handling multimedia
  • Applications needing responsive media layouts
Considerations
  • Requires platform-specific permissions for file access
  • Limited to supported media formats by underlying OS
  • May not work with encrypted or proprietary formats
  • Performance depends on file size and complexity
  • No real-time streaming metadata support
Supported platformsAndroidiOS

Install package

flutter pub add media_info

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects