mtillmann / chaptertool Goto Github PK
View Code? Open in Web Editor NEWManage and generate chapters for podcasts and other media via cli or web
Home Page: https://mtillmann.github.io/chaptertool/
Manage and generate chapters for podcasts and other media via cli or web
Home Page: https://mtillmann.github.io/chaptertool/
discovered this in the shutter media encoder app:
unsure what "format" is used by shutter. CMX3600?
actual parser: https://github.com/iluvcapra/pycmx
Example output: bunny-dings.edl.txt
add trimming / scaling option on load if the current project's length does not match the stored project's length
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
I attempted to use this on a VTT file, however I had to change the extension to TXT before I could.
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)
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.
split into
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.