FFSplitter
Installation
brew install ffmpeg
gem install ffsplitter
Usage
ffsplitter my-video.mp4
or
ffsplitter my-video.mp4 output-directory/
Output files will use the same extension as the input file. For custom output extensions, pass the -e option
ffsplitter my-video.mp4 -e .aac
This will produce audio-only .aac files for each chapter. NOTE: codecs are copied from the source file, so you must use an 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