6 releases

new 0.3.2 Oct 31, 2024
0.3.1 Apr 8, 2024
0.2.0 Jul 15, 2023
0.1.1 May 22, 2023

#162 in Video

Download history 7/week @ 2024-07-29 16/week @ 2024-09-23 103/week @ 2024-10-28

103 downloads per month
Used in media_organizer

MIT license

19KB
277 lines

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.

Dependencies

~1–2.5MB
~33K SLoC