Module: CarrierWave::FFmpeg::ClassMethods

Defined in:
lib/carrierwave/ffmpeg.rb

Instance Method Summary collapse

Instance Method Details

#encode(format, opts = {}) ⇒ Object



7
8
9
# File 'lib/carrierwave/ffmpeg.rb', line 7

def encode format, opts = {}
  process encode: [ format, opts ]
end

#movie(path) ⇒ Object



11
12
13
# File 'lib/carrierwave/ffmpeg.rb', line 11

def movie path
  ::FFMPEG::Movie.new path
end