Method: FFMPEG.ffprobe_binary

Defined in:
lib/streamio-ffmpeg.rb

.ffprobe_binaryString

Get the path to the ffprobe binary, defaulting to what is on ENV

Returns:

  • (String)

    the path to the ffprobe binary

Raises:

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



58
59
60
# File 'lib/streamio-ffmpeg.rb', line 58

def self.ffprobe_binary
  @ffprobe_binary || which('ffprobe')
end