Sha256: 46d8c8bfcd619557fb31780c17a85a89db3b8da23fc8bab885810569d83c5b86
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 Bytes
Contents
require 'open3' module Hydra::Derivatives class CapabilityService attr_accessor :ffmpeg_output def capture_output @ffmpeg_output = Open3.capture3('ffmpeg -codecs').to_s rescue Logger.warn('Unable to find ffmpeg') @ffmpeg_output = "" end def fdk_aac? @ffmpeg_output.include?('--enable-libfdk-aac') || @ffmpeg_output.include?('--with-fdk-aac') end end end
Version data entries
4 entries across 4 versions & 1 rubygems