Class: FileData::Mpeg4
- Inherits:
-
Object
- Object
- FileData::Mpeg4
- Defined in:
- lib/file_data/formats/mpeg4/mpeg4.rb
Overview
Parses and returns metadata from an Mpeg4 file
Class Method Summary collapse
Class Method Details
.get_value(stream, parser, method, *box_path) ⇒ Object
23 24 25 26 |
# 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 |