Method: PopCap::FFmpeg#initialize

Defined in:
lib/pop_cap/ffmpeg/ffmpeg.rb

#initialize(filepath, options = {}) ⇒ FFmpeg

Public: initialize

filepath - Requires a valid filepath to a file on the local filesystem. commander - Defaults to Commander for executing system commands.



22
23
24
25
26
# File 'lib/pop_cap/ffmpeg/ffmpeg.rb', line 22

def initialize(filepath, options={})
  check_for_ffmpeg_install
  @filepath, @options = filepath, options
  @commander = options[:commander] || Commander
end