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