Method: FFMpeg::MainOptions#offset
- Defined in:
- lib/ffmpeg/main_options.rb
#offset(offset) ⇒ Object
Set the input time offset in seconds.
- -]hh:mm:ss[.xxx
-
syntax is also supported.
This option affects all the input files that follow it. The offset is added to the timestamps of the input files. Specifying a positive offset means that the corresponding streams are delayed by ‘offset’ seconds.
offset "600"
or
offset "00:10:00"
70 71 72 |
# File 'lib/ffmpeg/main_options.rb', line 70 def offset(offset) FFMpegCommand << "-itsoffset #{offset}" end |