Project

ffsplitter

0.0
No commit activity in last 3 years
No release in over 3 years
Split video files into chapters
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 10.0.0, ~> 10.0
>= 2.0.0, ~> 2.0

Runtime

>= 1.0.0, ~> 1.0
 Project Readme

FFSplitter

Prerequisites

Install FFMpeg

Installation

gem install ffsplitter

Usage

ffsplitter test.mp4 [options]
  -e, --output-extension EXTENSION
  -o, --output-path PATH

Output extension

Output files use the same extension as the input file. For custom output extensions, pass the -e option. For example:

ffsplitter my-video.mp4 -e .aac

will produce audio-only .aac files for each chapter.

NOTE: Codecs are copied from the source file, so you must use a compatible extension.

Testing

bundle exec rspec

Contributing

  1. Fork it
  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 new Pull Request

To Do

  1. Handle extensions without a leading .