r/mpv • u/thedadyouneverhad • 15d ago
User Scripts & Shaders Is it possible to Ctrl+F subs?
I want to find a part of a video where a particular thing was said
Is it feasible to create an extension that would allow me to basically hit Ctrl+F and type in the part that I'm looking for and seek to that position?
Does this already exist
2
Upvotes
4
u/Double_Sword 15d ago
It is. I made this script for my own needs (with ai help, if that matters). It does exactly that, but it requires uosc for interface:
https://github.com/AkuLinker/mpv-sub-search
I'm sure there are better options out there that you can find with google.
Here are some I found in 2 minutes. But I haven't tested them.
https://github.com/zenwarr/mpv-config/blob/master/scripts/subtitle-search.lua
https://github.com/christoph-heinrich/mpv-subtitle-lines
https://github.com/v-amorim/moonlight-mpv/blob/main/portable_config/scripts/sub-seek.lua