4 ms·
u r on right track with llm, just tell it that you will give input file and set of start, end times and that it should generate the command for u. As a bonus as
by pdyc 2y ago
u r on right track with llm, just tell it that you will give input file and set of start, end times and that it should generate the command for u. As a bonus ask it to give u the example as well so that it doesn't misunderstands! i think even chatgpt mini should be able to do it.
- drewp 2y agoI found some existing mpv scripts: https://github.com/oltodosel/mpv-scripts/blob/master/show_chapters.lua https://github.com/oltodosel/mpv-scripts/blob/master/show_ch... display chapter names as OSD https://gitlab.com/lvml/mpv-plugin-excerpt https://gitlab.com/lvml/mpv-plugin-excerpt press 'i' and 'o' for in/out points, then 'x' to make a new (auto-named) file. https://github.com/shinchiro/mpv-createchapter https://github.com/shinchiro/mpv-createchapter press 'shift-c' to mark chapters; export as xml file. https://github.com/mar04/chapters_for_mpv https://github.com/mar04/chapters_for_mpv mark chapter times, input titles, save as txt file By having an LLM name the chapters, I meant having whisper do speechrec on the chapter and then asking an LM to summarize the content into a name up to k chars.