public
Description: Ruby wrapper for the mediainfo CLI. http://mediainfo.sourceforge.net
Homepage:
Clone URL: git://github.com/greatseth/mediainfo.git
name age message
file .gitignore Loading commit data...
file Changelog
file LICENSE Tue May 05 18:47:06 -0700 2009 add license [greatseth]
file Manifest
file README.markdown
file Rakefile
directory lib/
file mediainfo.gemspec
directory test/
README.markdown

Mediainfo

Mediainfo is a class wrapping the mediainfo CLI.

Usage

info = Mediainfo.new "/path/to/file"

That will issue the system call to mediainfo and parse the output. From there, you can call numerous methods to get a variety of information about a file. Some attributes may be present for some files where others are not.

For a list of all possible attributes supported:

Mediainfo.supported_attributes

In addition to the stock arguments provided by parsing mediainfo output, some convenience methods and added behavior is added.

Contributors