Class: MediaInfoNative::BaseStreamWithFramerate
- Inherits:
-
BaseStream
- Object
- BaseStream
- MediaInfoNative::BaseStreamWithFramerate
- Defined in:
- lib/mediainfo-native/base_stream_with_framerate.rb,
ext/mediainfo_native/basestream.cpp
Direct Known Subclasses
Constant Summary
Constants inherited from BaseStream
MediaInfoNative::BaseStream::TYPES
Instance Method Summary collapse
- #fps ⇒ Object (also: #framerate)
Methods inherited from BaseStream
Methods included from AttrReaders
#mediainfo_attr_reader, #mediainfo_date_reader, #mediainfo_duration_reader, #mediainfo_int_reader, #supported_attribute, #supported_attributes
Instance Method Details
#fps ⇒ Object Also known as: framerate
4 5 6 |
# File 'lib/mediainfo-native/base_stream_with_framerate.rb', line 4 def fps frame_rate[/[\d.]+/].to_f if frame_rate end |