Jani::StripMaker

Build Status Code Climate Test Coverage Dependency Status

You can use cli

./strip_maker from_movie_to_strips --input_file path_to_file --fps N --height N --width N

or you can use from ruby code

# build encode option
transcode_options = Jani::StripMaker::TranscodeOptions.new
transcode_options.fps = 15
transcode_options.width = 320
transcode_options.fps = 180

# Get strip files in current directory from movie file
Jani::StripMaker::Movie.new(
  "path/to/movieFile.mov", transcode_options
).to_strips.each(&:write)

Installation

Add this line to your application's Gemfile:

gem 'jani-strip_maker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jani-strip_maker

Contributing

  1. Fork it ( https://github.com/[my-github-username]/jani-strip_maker/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request