lib/libis/format/converter/audio_converter.rb in libis-format-0.9.41 vs lib/libis/format/converter/audio_converter.rb in libis-format-0.9.44
- old
+ new
@@ -166,10 +166,10 @@
opts[:output] << '-q:a' << @options[:quality] if @options[:quality]
opts[:output] << '-b:a' << @options[:bit_rate] if @options[:bit_rate]
opts[:output] << '-ar' << @options[:sampling_freq] if @options[:sampling_freq]
opts[:output] << '-ac' << @options[:channels] if @options[:channels]
opts[:output] << '-f' << @options[:format] if @options[:format]
- result = Libis::Format::FFMpeg.run(source, target, opts)
+ result = Libis::Format::Tool::FFMpeg.run(source, target, opts)
info "FFMpeg output: #{result}"
result
target
end
\ No newline at end of file