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
- Fork it
- 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 new Pull Request
To Do
- Handle extensions without a leading
.