Determine multimedia file properties like width, height, duration


License
Other

Documentation

media_info

Pub

Utilizes platform code to determine audio, video & photo properties.

Depending on the underlying platform version, various workarounds will be applied to fetch the fields.

Currently supported properties:

  • width
  • height
  • frame rate
  • duration (in milliseconds)
  • mime type
  • number of tracks

Additionally, thumbnails can be generated.