Module: Hydra::Derivatives::Ffmpeg::ClassMethods

Defined in:
lib/hydra/derivatives/ffmpeg.rb

Instance Method Summary collapse

Instance Method Details

#encode(path, options, output_file) ⇒ Object



18
19
20
# File 'lib/hydra/derivatives/ffmpeg.rb', line 18

def encode(path, options, output_file)
  execute "#{Hydra::Derivatives.ffmpeg_path} -y -i \"#{path}\" #{options} #{output_file}"
end