MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files. V0.7.74 (Debian 6.0 package) requires. MediaInfo (Lib) is a convenient unified display of the most relevant technical and tag data for video and audio files. MediaInfolib with support network AV streams. There is a newer version of this package available. See the version list below for details. MediaInfo is a free software that supplies technical and tag information about a. 26 May 2015 MediaInfo (64-bit) v0.7.74. 11 Nov 2014 MediaInfo (64-bit) v0.7.71. MediaInfo for PC. MediaArea.net SARL (Free) User rating. We don't have any change log information yet for version 0.7.74 of MediaInfo. Sometimes publishers take a little while to make this information available, so please check back in a few days to see if it has been updated.
- Object
- Mediainfo
- Extended by:
- Forwardable, AttrReaders
- Defined in:
- lib/mediainfo.rb,
lib/mediainfo/attr_readers.rb
Overview
Iconjar 1 11. # Mediainfo
Mediainfo is a class wrapping [the mediainfo CLI](mediainfo.sourceforge.net).
## Installation
## Usage
That will issue the system call to `mediainfo` and parse the output. You can specify an alternate path if necessary:
By default, REXML is used as the XML parser. If you'd like, you can configure Mediainfo to use Hpricot or Nokogiri instead using one of the following approaches:
Once you've got an instance setup, 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, but any supported attribute should at least return `nil`.
For a list of all possible attributes supported:
## Requirements
This requires at least the following version of the Mediainfo CLI:
- Object
- Mediainfo
- Extended by:
- Forwardable, AttrReaders
- Defined in:
- lib/mediainfo.rb,
lib/mediainfo/attr_readers.rb
Overview
Iconjar 1 11. # Mediainfo
Mediainfo is a class wrapping [the mediainfo CLI](mediainfo.sourceforge.net).
## Installation
## Usage
That will issue the system call to `mediainfo` and parse the output. You can specify an alternate path if necessary:
By default, REXML is used as the XML parser. If you'd like, you can configure Mediainfo to use Hpricot or Nokogiri instead using one of the following approaches:
Once you've got an instance setup, 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, but any supported attribute should at least return `nil`.
For a list of all possible attributes supported:
## Requirements
This requires at least the following version of the Mediainfo CLI:
Previous versions of this gem(<= 0.5.1) worked against v0.7.11, which did not generate XML output, and is no longer supported.
Defined Under Namespace
Modules:AttrReadersClasses:AudioStream, Error, ExecutionError, GeneralStream, ImageStream, IncompatibleVersionError, Stream, StreamProxy, VideoStream
Constant Summarycollapse
- SECTIONS =
- NON_GENERAL_SECTIONS =
Class Attribute Summary collapse
- .path ⇒ Object
- .xml_parser ⇒ Object
Returns the value of attribute xml_parser.
Instance Attribute Summary collapse
- #escaped_full_filename ⇒ Object readonly
Returns the value of attribute escaped_full_filename.
- #filename ⇒ Object readonly
- #full_filename ⇒ Object readonly
Returns the value of attribute full_filename.
- #last_command ⇒ Object readonly
- #parsed_response ⇒ Object readonly
Translatium 7 4 1 – versatile translation app. Returns the value of attribute parsed_response.
- #path ⇒ Object readonly
- #raw_response ⇒ Object
Returns the value of attribute raw_response.
- #streams ⇒ Object readonly
Class Method Summarycollapse
Mediainfo 0 7 740
- .default_mediainfo_path! ⇒ Object
- .delegate(method_name, stream_type = nil) ⇒ Object
- .load_xml_parser!(parser = xml_parser) ⇒ Object
- .supported_attributes ⇒ Object
- .version ⇒ Object
Instance Method Summarycollapse
- #initialize(full_filename = nil) ⇒ Mediainfo constructor
- #inspect ⇒ Object
- #mediainfo_version ⇒ Object
- #size ⇒ Object
Size of source file as reported by File.size.
- #xml_parser ⇒ Object
Methods included from AttrReaders
mediainfo_attr_reader, mediainfo_date_reader, mediainfo_duration_reader, mediainfo_int_reader
Constructor Details
#initialize(full_filename = nil) ⇒ Mediainfo
Class Attribute Details
.path ⇒ Object
.xml_parser ⇒ Object
Instance Attribute Details
#escaped_full_filename ⇒ Object(readonly)
Returns the value of attribute escaped_full_filename
#filename ⇒ Object(readonly)
#full_filename ⇒ Object(readonly)
#last_command ⇒ Object(readonly)
#parsed_response ⇒ Object(readonly)
#path ⇒ Object(readonly)
#raw_response ⇒ Object
#streams ⇒ Object(readonly)
Class Method Details
.delegate(method_name, stream_type = nil) ⇒ Object
Mediainfo 0 7 74 Download
.supported_attributes ⇒ Object
0.7 As A Fraction
.version ⇒ Object
Instance Method Details
#mediainfo_version ⇒ Object
#size ⇒ Object
Mediainfo 0 7 748
Size of source file as reported by File.size. Returns nil if you haven't yet fired off the system command.