4 changed files with 6 additions and 5 deletions
@ -1,5 +1,6 @@
|
||||
# frozen_string_literal: true |
||||
|
||||
if ENV['FFMPEG_BINARY'].present? |
||||
FFMPEG.ffmpeg_binary = ENV['FFMPEG_BINARY'] |
||||
Rails.application.configure do |
||||
config.x.ffmpeg_binary = ENV['FFMPEG_BINARY'] || 'ffmpeg' |
||||
config.x.ffprobe_binary = ENV['FFPROBE_BINARY'] || 'ffprobe' |
||||
end |
||||
|
||||
Loading…
Reference in new issue