https://github.com/daiz/autochapter
A node.js module / CLI tool for generating MKV/OGM chapter files out of Avisynth trims.
https://github.com/daiz/autochapter
Last synced: 4 months ago
JSON representation
A node.js module / CLI tool for generating MKV/OGM chapter files out of Avisynth trims.
- Host: GitHub
- URL: https://github.com/daiz/autochapter
- Owner: Daiz
- License: mit
- Created: 2013-09-10T18:27:31.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-01-24T15:02:50.000Z (over 12 years ago)
- Last Synced: 2025-04-22T15:49:36.752Z (about 1 year ago)
- Language: LiveScript
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autochapter
**autochapter** is a node.js module / CLI tool for generating MKV/OGM chapter files out of [Avisynth](http://avisynth.nl/index.php/Main_Page) trims.
## Features
- Calculate chapter points from Avisynth `Trim()` commands
- Snap chapter points to keyframes (XviD & x264 stats files supported)
- Visually verify and adjust chapter points with a browser-based interface (TBD)
- Automatic chapter naming (intended for anime) (TBD)
- Template system for custom chapter naming / ordered chapters (TBD)
- VFR support via MKV timecodes (v1 and v2) (TBD)
- Exports MKV and OGM type chapters (TBD)
## Requirements
In order to use the verification interface (which is highly recommended and enabled by default) you should have the following:
- [Avisynth](http://avisynth.nl/index.php/Main_Page) installed (>=2.60 recommended)
- [AVSMeter](http://forum.doom9.org/showthread.php?t=165528) in your `PATH` (>=1.6.0 recommended)
If you're not on Windows, both should work fine in Wine. No guarantees, though. Testing feedback welcome.
## Installation (TBD)
```
npm install -g autochapter
```
# Usage
You should have an Avisynth script with a bunch of trims on a single line, eg.
```
Trim(567,1582)++Trim(1583,4276)++Trim(7880,29031)++Trim(31736,48215)++Trim(48216,50910)
```
autochapter will always look for the first line containing a trim command and use it for the chapter generation.