Class: DragonflyVideo::Processors::RemoveAudio
- Inherits:
-
BaseProcessor
- Object
- BaseProcessor
- DragonflyVideo::Processors::RemoveAudio
- Defined in:
- lib/dragonfly_video/processors/remove_audio.rb
Constant Summary
Constants inherited from BaseProcessor
Instance Method Summary collapse
Instance Method Details
#call(content, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/dragonfly_video/processors/remove_audio.rb', line 8 def call(content, = {}) content.shell_update do |old_path, new_path| "#{FFMPEG_COMMAND} -i #{old_path} -c copy -an -y #{new_path}" end end |