Method: Timecode#convert
- Defined in:
- lib/timecode.rb
#convert(new_fps, drop_frame = @drop_frame) ⇒ Object
Convert to different framerate and drop frame based on the total frames. Therefore, 1 second of PAL video will convert to 25 frames of NTSC (this is suitable for PAL to film TC conversions and back).
372 373 374 |
# File 'lib/timecode.rb', line 372 def convert(new_fps, drop_frame = @drop_frame) self.class.new(@total, new_fps, drop_frame) end |