GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Mtillmann/chapconv: convert between 20+ chapter formats

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
eslint.config.js
eslint.config.js
 
 
index.js
index.js
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
readme.md
readme.md
 
 
readme.template.md
readme.template.md
 
 

Repository files navigation

chapconv

Convert chapters between different formats. See @mtillmann/chapters for details on the supported formats.

Installation

npm install -g @mtillmann/chapconv
# then use
chapconv --help

or use the npx command to run the tool without installation:

npx @mtillmann/chapconv@latest --help

convert

Usage: chapconv convert [options]

Convert input to given format

Options:
  -V, --version             output the version number
  -i, --input [input]       Input file (default: "stdin")
  -o, --output [output]     Output file (default: "stdout")
  -f, --format <format>     Output format (choices: "applechapters", "applehls",
                            "audible", "chaptersjson", "ffmetadata",
                            "matroskaxml", "mkvmergesimple", "mkvmergexml",
                            "mp4chaps", "podcastpage", "podigee", "podigeetext",
                            "podlovejson", "psc", "pyscenedetect", "scenecut",
                            "shownotes", "shutteredl", "spotifya", "spotifyb",
                            "transistorfm", "vorbiscomment", "webvtt",
                            "youtube", default: "chaptersjson")
  -p, --pretty              Pretty print output (where applicable)
  -r, --replace             replace the output file if it exists
  --input-format <format>   Explicitly specify input format (choices:
                            "applechapters", "applehls", "audible",
                            "chaptersjson", "ffmetadata", "ffmpeginfo",
                            "matroskaxml", "mkvmergesimple", "mkvmergexml",
                            "mp4chaps", "podcastpage", "podigee", "podigeetext",
                            "podlovejson", "psc", "pyscenedetect", "scenecut",
                            "shownotes", "shutteredl", "spotifya", "spotifyb",
                            "transistorfm", "vorbiscomment", "webvtt",
                            "youtube")
  -e, --extras <extras...>  Extra output format options (key=value), see
                            https://github.com/Mtillmann/chapters?tab=readme-ov-file#chapterjson-tostring-options
  -h, --help                display help for command

detect

Usage: chapconv detect [options]

Detect format of input

Options:
  -i, --input [input]  Input file (default: "stdin")
  -h, --help           display help for command

reading and writing

chapconv convert < input.xml > output.json
# or
chapconv convert -o output.json < input.xml
# or
cat input.xml | chapconv convert > output.json
# or
cat input.xml | chapconv convert -o output.json
# or
chapconv convert -i input.xml > output.json
# or
chapconv convert -i input.xml -o output.json

About

convert between 20+ chapter formats

Topics

applechaptersapplehlschaptersffmetadataffmpegmkvmergemp4chapspodcasting20podlovepyscenedetectshutteredlvorbis-commentvorbis-comments

Resources

Readme
Activity

Stars

7 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.