media_info 0.3.1

A tool to extract media information from a media source.
Documentation

Media Info

A tool to extract media information from a media source.

This is a supplemental library crate for Media Organizer.

Features

To enable features, do the following...

For all features: photo, video, and audio metadata...

media_info = { version = "0.3.1", features = ["all"] }

To enable just the photo metadata info...

media_info = { version = "0.3.1", features = ["exif"] }

To enable just the video metadata info...

media_info = { version = "0.3.1", features = ["ffmpeg"] }

To enable just the audio metadata info...

media_info = { version = "0.3.1", features = ["id3"] }

API

read_audio_creation_date(path_str: &str) -> Result<String, String>

read_photo_creation_date(path_str: &str) -> Result<String, String>

read_video_creation_date(path_str: &str) -> Result<String, String>

Roadmap

  • More functions to read other bits of metadata info.