Method: FFMPEG.ffmpeg_binary

Defined in:
lib/streamio-ffmpeg.rb

.ffmpeg_binaryString

Get the path to the ffmpeg binary, defaulting to ‘ffmpeg’

Raises:

  • Errno::ENOENT if the ffmpeg binary cannot be found



50
51
52
# File 'lib/streamio-ffmpeg.rb', line 50

def self.ffmpeg_binary
  @ffmpeg_binary || which('ffmpeg')
end