No commit activity in last 3 years
No release in over 3 years
Make jani(https://github.com/shin1ohno/jani) strip from movie file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 2.13.3
= 0.19.1
 Project Readme

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

Requirements

You have to have ffmpeg and imagemagick installed in your system.

If you use mac, just brew install ffmpeg imagemagich will work fine.

You can use dockerfile for Rails system setup.

gem 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