Class: QTRefMovie::QTRefMovieDescriptor

Inherits:
QTBase
  • Object
show all
Defined in:
lib/qtrefmovie.rb

Overview

Reference Movie Descriptor Atom Each reference movie descriptor atom contains other atoms that describe where a particular movie can be found, and optionally what the system requirements are to play that movie, as well as an optional quality rating for that movie.

A reference movie descriptor atom’s parent is always a movie reference atom (‘rmra’). Multiple reference movie descriptor atoms are allowed in a given movie reference atom, and more than one is usually present.

A reference movie descriptor atom may contain the following information.

Size The number of bytes in this reference movie descriptor atom.

Type The type of this atom; this field must be set to ‘rmda’.

Data reference atom Each reference movie atom must contain exactly one data reference atom. See “Data Reference Atoms” for more information.

Data rate atom A reference movie atom may contain an optional data rate atom. Only one data rate atom can be present. See “Data Rate Atom” for more information.

CPU speed atom A reference movie atom may contain an optional CPU speed atom. Only one CPU speed atom can be present. See “CPU Speed Atom” for more information.

Version check atom A reference movie atom may contain an optional version check atom. Multiple version check atoms can be present. See “Version Check Atom” for more information.

Component detect atom A reference movie atom may contain an optional component detect atom. Multiple component detect atoms can be present. See “Component Detect Atom” for more information.

Quality atom A reference movie atom may contain an optional quality atom. Only one quality atom can be present. See “Quality Atom” for more information

Instance Method Summary collapse

Methods inherited from QTBase

#add_chunk, #size, #to_s

Constructor Details

#initializeQTRefMovieDescriptor

Returns a new instance of QTRefMovieDescriptor.



242
243
244
245
# File 'lib/qtrefmovie.rb', line 242

def initialize
  super
  @type = 'rmda'
end