media_info

Crates.iomedia_info
lib.rsmedia_info
version0.3.2
sourcesrc
created_at2023-05-19 16:36:47.875582
updated_at2024-10-31 20:01:15.957504
descriptionA tool to extract media information from a media source.
homepagehttps://github.com/andrewgremlich/media_organizer
repositoryhttps://github.com/andrewgremlich/media_organizer
max_upload_size
id868962
size9,819
Andrew Gremlich (andrewgremlich)

documentation

https://github.com/andrewgremlich/media_organizer/blob/master/media_info/README.md

README

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.
Commit count: 74

cargo fmt