Sha256: 6a9a219d4d4322544a5bb1fae1f6ed4da59ee3b58586501a17fd3eda500e76b6
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
require "ffprober/version" require "ffprober/parser" require "ffprober/format" require "ffprober/stream" require "ffprober/audio_stream" require "ffprober/video_stream" require "ffprober/ffprobe_version" require "json" module Ffprober def self.path name = 'ffprobe' if File.executable? name cmd else path = ENV['PATH'].split(File::PATH_SEPARATOR).find { |path| File.executable? File.join(path, name) } path && File.expand_path(name, path) end end class InvalidInputFileError < ::StandardError; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffprober-0.2.3 | lib/ffprober.rb |