Method: Hydra::Derivatives::CapabilityService#capture_output

Defined in:
lib/hydra/derivatives/services/capability_service.rb

#capture_outputObject



6
7
8
9
10
11
# File 'lib/hydra/derivatives/services/capability_service.rb', line 6

def capture_output
  @ffmpeg_output = Open3.capture3('ffmpeg -codecs').to_s
rescue StandardError
  Logger.warn('Unable to find ffmpeg')
  @ffmpeg_output = ""
end