Jani::StripMaker
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
= Jani::StripMaker::TranscodeOptions.new
.fps = 15
.width = 320
.fps = 180
# Get strip files in current directory from movie file
Jani::StripMaker::Movie.new(
"path/to/movieFile.mov",
).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
- Fork it ( https://github.com/[my-github-username]/jani-strip_maker/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request