Code Monkey home page Code Monkey logo

chaptertool's Introduction

yea boiiiii

chaptertool's People

Contributors

mtillmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chaptertool's Issues

split project

split into

  • core library
  • cli + web
  • new web app that only converts

Export chapters have characters replaced with ! in urls.

When I used the tool to create a chapter file I got unexpected results.

{
 "version": "1.2.0",
 "chapters": [
  {
   "startTime": 0,
   "img": "https!meduspod.com!ep!art!0024-600.jpg",
   "url": "https://meduspod.com",
   "title": "Intro"
  },
  {
   "startTime": 300,
   "img": "https!meduspod.com!assets!art!people!MaryKateUltra.jpg",
   "url": "https://meduspod.com",
   "title": "Chapter 2"
  }
 ]
}

The URLs for the images have ! points instead of the proper characters. It's a simple enough fix with find and replace, but thought I would let you know about it.

support PySceneDetect scene CSV format

Hi

I'm extracting scenes/chapters from a video file by using PySceneDetect since it is really established solution. The problem is that PySceneDetect is focused on scene detection and then video splitting; to output detected scenes to some wide used format is not prioritized even though this is on roadmap https://github.com/Breakthrough/PySceneDetect/blob/master/docs/features.md#version-roadmap

Is there a way to support PySceneDetect CSV scene (chapter) format (example attached) as an import so that it can be edited and converted to other formats supported by your tool?
kazeta5.23-04-15_20-13.00-Scenes.csv

The CSV is generated on list-scenes command and is handled by this piece of code: https://github.com/Breakthrough/PySceneDetect/blob/aa97ed212584447ecd69cb97bf72b4d14277949e/scenedetect/scene_manager.py#L182

Cli issue

          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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.