This is a Ruby implementation of the GStreamer media-info library, graciously provided by Nikolai Weilbull <lone-star@home.se>.
It works exactly like media-type.rb.