public
Description: Ruby wrapper for the mediainfo CLI. http://mediainfo.sourceforge.net
Homepage:
Clone URL: git://github.com/greatseth/mediainfo.git
greatseth (author)
Sat May 09 22:11:55 -0700 2009
commit  d7db130ff7dd98e737e6d8e0bf7343e74759a29a
tree    0ad6f320e60da1f07e9aa666641fb405d9e4b122
parent  19dc0db526fcb59916b91d31e0f17ad429b31c94
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