Method: Mediakit::FFmpeg#run

Defined in:
lib/mediakit/ffmpeg.rb

#run(options, driver_options = {}) ⇒ Object

execute runners with options object

Parameters:

  • options (Mediakit::Runners::FFmpeg::Options)

    options to create CLI argument



33
34
35
36
# File 'lib/mediakit/ffmpeg.rb', line 33

def run(options, driver_options = {})
  args = options.compose(self.class.default_global_option)
  @driver.run(args, driver_options)
end