mpv.net icon indicating copy to clipboard operation
mpv.net copied to clipboard

Search within and navigate by sub titles tracks

Open User-3090 opened this issue 3 years ago • 2 comments

I'd like to propose a similar searchable list for the active sub title track content that has become popular within educational platforms such as Kajabi. A demo of the requested functionally is available here. This might not look impressive in the tiny demo video, but it's incredible when searching multi hour talks.

search

Why? Modern codecs allow to cram an entire week of conference talks or other educational content into a single 10 GB file. With services such as Descript and the addition of VOSK into SubTitle Edit it has become practical to transcribe an entire week of talks into sub titles in no time.

vosk

The missing bit is a offline/non web based player that can navigate and search the sub title content and use it for navigation. I'm aware that there is a sub-search LUA script, however it has serve limitations such as requiring an external SRT file and doesn't work on Windows.

I'm also aware this is some serious development effort and not a small feature. I can offer to sponsor development a bit, as I really want it badly ;) On the other hand it might push MPV.NET quite a bit as player for educational content as no other player has this feature.

Let's make MPV.NET the best player for conference recordings, talks and other dense educational content!

User-3090 avatar Jun 16 '22 10:06 User-3090

Resolve now has a plugin around Whisper that allows to navigate the timeline by subtitle content. Maybe it can serve as inspiration. If this is something you are willing to work on, I'm happy to sponsor this effort a bit :)

https://github.com/octimot/StoryToolkitAI

All the best and thanks for mpv.net!

User-3090 avatar Dec 21 '22 10:12 User-3090

I looked in the subtitle section of awesome-mpv and found 3 related projects:

  • subtitle-search - Script to search for a phrase inside an active .srt subtitle. Displays matched lines in OSD list, takes sub-delay into account and allows searching for Unicode text in utf8 subtitle files.

  • sub-search - Search for phrase in subtitles and skip to it.

  • playphrase - Search and play phrases from movies and audiobooks.

Go your requirements beyond that?

There is a command palette library here:

https://github.com/Seme4eg/mpv-scripts/tree/master/script-modules

Example code is here:

https://github.com/Seme4eg/mpv-scripts/blob/master/chapter-list.lua

https://github.com/stax76/mpv-scripts#command_palette

For me, large and complex projects have become difficult due to health situation.

Thanks for the donation.

stax76 avatar Jan 14 '23 03:01 stax76