class FileData::Mpeg4

Parses and returns metadata from an Mpeg4 file

Public Class Methods

get_value(stream, parser, method, *box_path) click to toggle source
# File lib/file_data/formats/mpeg4/mpeg4.rb, line 23
def self.get_value(stream, parser, method, *box_path)
  box = BoxPath.get_root_path(stream, *box_path)
  parser.parse(box.content_stream).send(method) unless box.nil?
end