donphan/config/initializers/ffmpeg.rb

7 lines
189 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Rails.application.configure do
config.x.ffmpeg_binary = ENV['FFMPEG_BINARY'] || 'ffmpeg'
config.x.ffprobe_binary = ENV['FFPROBE_BINARY'] || 'ffprobe'
end