Sha256: 21486c7e291a7e119bd2a72becea787b1372fb9cea98301070e918d0089fc2bb

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffprober-0.2.2 lib/ffprober.rb
ffprober-0.2.1 lib/ffprober.rb