Mtillmann/chaptertool

Cli issue

Mtillmann opened this issue · 1 comments

          Sorry for commenting on a closed issue. I cannot get `convert` to recognize the `--format` flag. It always outputs JSON:
$ npx chaptertool@latest convert ./Scenes.csv --format mkvmergesimple
{
  imagePrefix: '',
  writeEndTimes: true,
  psdFramerate: 23.976,
  psdOmitTimecodes: false
}
{"version":"1.0.0","chapters":[{"startTime":0,"endTime":0.099},{"startTime":0.1,"endTime":42.174},{"startTime":42.175,"endTime":108.24},{"startTime":108.241,"endTime":206.806},{"startTime":206.807,"endTime":471.67},{"startTime":471.671,"endTime":524.256},{"startTime":524.257,"endTime":723.589},{"startTime":723.59,"endTime":820.053}]}

This is in GitBash on Windows. BTW I tried generate too but if I try to set a flag like scene-value I get Node errors.

My goal is to auto detect camera cuts and write them to my MKVs as chapter markers.

Originally posted by @devinellis in #1 (comment)

@devinellis please try and use the "--output-format" option. Also, I used an equal sign for the options so the correct syntax should be:

npx chaptertool@latest convert ./Scenes.csv --output-format=mkvmergesimple