Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.11 KB

ffprobe Codacy Badge Build Status

A ruby gem that acts as a wrapper around the ffprobe cli utility.

Installation

Add this line to your application's Gemfile:

gem 'ffprobe'

And then execute:

bundle

Or install it yourself as:

gem install ffprobe

Usage

file = Ffprobe::MediaFile.new "data/big_buck_bunny_720p_1mb.mp4"
puts file.inspect

Development

After checking out the repo, run bin/setup to install dependencies in a vendor directory. You then run bin/console for an interactive prompt that will allow you to experiment with the code.

To install this gem on your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at Avlos/ffprobe.