MediaInfo (64-bit) v0.7.86. Ad-supported Vista / Win10 / Win7 / Win8 / WinXP. Download Description; Info; All versions; Reviews; MediaInfo is a free software that. A unified display of relevant technical and tag data for A/V files.
- Object
- Mediainfo
- Extended by:
- Forwardable, AttrReaders
- Defined in:
- lib/mediainfo.rb,
lib/mediainfo/attr_readers.rb
Overview
# Mediainfo
Mediainfo is a class wrapping [the mediainfo CLI](mediainfo.sourceforge.net).
Affinity designer 1 4 3 download free. ## 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`.
Virtualbox 5 1 16 – x86 virtualization software. 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 readonlyReturns the value of attribute escaped_full_filename.
- #filename ⇒ Object readonly
- #full_filename ⇒ Object readonlyReturns the value of attribute full_filename.
- #last_command ⇒ Object readonly
- #parsed_response ⇒ Object readonlyReturns 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
- .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 Easeus data recovery wizard 11 0 download free.
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
.supported_attributes ⇒ Object
.version ⇒ Object
Instance Method Details
#mediainfo_version ⇒ Object
Mediainfo 0 7 86 X
#size ⇒ Object
0.7 Repeating As A Fraction
Size of source file as reported by File.size. Returns nil if you haven't yet fired off the system command.