GithubHelp home page GithubHelp logo

Comments (6)

ripose-jp avatar ripose-jp commented on August 22, 2024

Forgive me if this has been suggested before

It has not been.

there is some way to achieve this I'm unaware of.

Nope.

I believe adding the ability to search words on the "subtitle list" would be incredibly useful.

I agree.

as you don't have to pause and search on your contents window.

This is where things get sketchy. There was a time early in development where I did allow for subtitle searching while video was playing. The primary reason I disabled it was due to performance reasons. Turns out rending the results of a search is actually pretty expensive. If you're aiming to show 24 FPS video, there's even a good chance you start dropping frames given how much work you heap on the UI thread. I have no doubt that Linux and macOS could handle this, but the Windows version's performance is not only measurably, but noticeably worse #1. I have no idea why and no one's pitched in any ideas, so things stay the way they are. That said I am being a bit of a hypocrite here as I do allow for custom searches to execute without pausing the video which is just as intensive. Take what I say here with a grain of salt as these are just my initial thoughts on this suggestion, things could change when I work on it.

On another note, I have actually considered this idea before. My only apprehensions about implementing it regard how I can do it right. There are a few easy ways to do it, but I want to do it in a way that produces the least jank possible. As far as I'm concerned that's currently the greatest challenge.

from memento.

NathanYearout avatar NathanYearout commented on August 22, 2024

Thanks for the quick and detailed response. I figured it was a performance thing but I also had a feeling there'd be a way it could be done because of existing tools like migaku, of course that is a Chrome based tool though. Perhaps for now you could add a setting to allow auto-copying subtitles to your clipboard so a text hooker page could parse it with yomichan? That would be a decent solution.

from memento.

ripose-jp avatar ripose-jp commented on August 22, 2024

Perhaps for now you could add a setting to allow auto-copying subtitles to your clipboard so a text hooker page could parse it with yomichan?

Memento is mpv so you can just load in plugins that do that if you like. There's no reason for Memento to implement it internally.

The intended workflow for when you want to search for vocabulary in a subtitle in the subtitle list is to double click the subtitle to seek to it, then search it like normal. I don't think that's an unreasonable amount of work.

from memento.

NathanYearout avatar NathanYearout commented on August 22, 2024

Perhaps for now you could add a setting to allow auto-copying subtitles to your clipboard so a text hooker page could parse it with yomichan?

Memento is mpv so you can just load in plugins that do that if you like. There's no reason for Memento to implement it internally.

The intended workflow for when you want to search for vocabulary in a subtitle in the subtitle list is to double click the subtitle to seek to it, then search it like normal. I don't think that's an unreasonable amount of work.

Pausing the content isn't ideal for people who just need to search one word on the fly, certainly there's a workaround that doesn't lag. I'm just going to mark the issue as closed seing as it's just me that is interested in this feature though.

from memento.

ripose-jp avatar ripose-jp commented on August 22, 2024

I think this is a good feature. Please leave this open.

from memento.

NathanYearout avatar NathanYearout commented on August 22, 2024

I think this is a good feature. Please leave this open.

My apologies, I couldn't tell if it was something you're interested in or not. Please let me know if there's anyway I can help, I would try to implement the feature but my C++ is subpar at best so I also am sorry about providing a problem with no solution from my end.

from memento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.