feuster / ffchapters2 Goto Github PK
View Code? Open in Web Editor NEWFFchapters2 is a FFmpeg based video chapter generation tool
License: GNU General Public License v2.0
FFchapters2 is a FFmpeg based video chapter generation tool
License: GNU General Public License v2.0
Hey,
Thanks for this great tool! Would it be possible, once the chapters are generated, to reintegrate them inside the source mkv file directly?
FFmpeg version is not found when path is autogenerated, for e.g. when ffmpeg binary is in a $PATH folder the autogenerated path will be just the filename. In that case the version is not read from ffmpeg.
Hi there, came across your tool while looking for a way to automate scene detection with ffmpeg to insert chapter markers and it's definitely a lot cleaner than manually using a script to convert the pts_time to seconds etc., so thank you!
Although I don't quite get how the chapter length option works - the output log uses the phrase "Keep only scenes within chapter length", but if a chapter was longer than the length does that mean it'd be split into more chapters, each of which is no longer than length? or does it mean that chapters longer than length are 'ignored', and I guess combined into one even longer one?
Or perhaps it could mean the opposite, where 'scenes' must be at least 5 minutes long to be treated as chapters, in which case the scene markers would be ignored until you find a marker that's at least 5 minutes since the last chapter started. With this interpretation I'd assume I could use a lower number to get more chapters, since more frequent scene changes would still generate chapter markers.
However if I run ffchapters2 on a specific video, it outputs
ScenesAll count: 37
then with various length options:
-l 5 ScenesSelected count: 7
-l 1 ScenesSelected count: 1
-l 15 ScenesSelected count: 3
So I don't really understand why a chapter length of 5 would give the most chapters? Any insight would be great!
Edit: I just tried passing 0 as the chapter length and got the 'Chapter average length selection' interactive prompt (very cool!) though it has made me even more confused... does it now prefer chapters of this length even if there are more/fewer markers?
I need you're help how add this repo on leech bot
Beginning with FFmpeg version 6.0 FFchapters2 crashes during chapter generation.
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.