Code Monkey home page Code Monkey logo

Comments (9)

po5 avatar po5 commented on June 11, 2024 1

There's a latency inherent in the current rendering model, scripts can avoid it by using the custom render functionality but the current implementation is a pain to deal with.
There's a PR to uosc that uses it, and it does seem to fix the issue.
I've thought about forwarding serialized code to the UI script as a way to truly execute within their render loop without requiring extra work from them, but I'm sure there's a less intrusive solution.
Suggestions appreciated.

from thumbfast.

tomasklaen avatar tomasklaen commented on June 11, 2024

Regarding that PR, I'm still waiting for your verdict on that proposed new API :) → tomasklaen/uosc#353 (comment)

from thumbfast.

First-Dan avatar First-Dan commented on June 11, 2024

@po5 Can you link me the PR please? Couldn't find it.

from thumbfast.

christoph-heinrich avatar christoph-heinrich commented on June 11, 2024

@First-Dan tomasklaen already linked to it in the comment above yours.

from thumbfast.

First-Dan avatar First-Dan commented on June 11, 2024

It's working now, but I didn't use the solution provided by the PR becasue i didn't know what to do with it (lol).
I managed to fix it by switching to the original mpv player, because i was using a different fork of mpv called mpv easy player which also had support for vanilla UI and scripts, except for Thumbfast. I guess @po5 had nothing to do with this issue from the beginning but it was something to do with that fork.

Thank you everyone for your help nonetheless!

from thumbfast.

po5 avatar po5 commented on June 11, 2024

@First-Dan Were you actually using thumbfast in that screenshot?
I'd like to copy your configuration to replicate it, if you can link to the scripts you were using.
I thought this was #11, but if the thumbnail is always off it's more likely an issue in the UI script.

Okay, MPV-EASY does something weird that breaks decoration positioning.
mpv-shot0002

from thumbfast.

po5 avatar po5 commented on June 11, 2024

@First-Dan and any other users of MPV-EASY, can you confirm that 74cba1f fixes the issue? (update osc.lua)
This misalignment is what happens when the default ASS alignment is 9 (top-right), Syncplay had 1 (bottom-right). We expected it to be 7 (top-left), and that is now explicitly specified.

from thumbfast.

po5 avatar po5 commented on June 11, 2024

Confirmed to work here 1-minute-to-midnight/mpv-modern-x-compact#7 (comment)

from thumbfast.

po5 avatar po5 commented on June 11, 2024

It was caused by non-default osd-align-x/y values in both Syncplay and MPV-EASY.

https://github.com/422658476/MPV-EASY-Player/blob/f281e7ace9b276dc4aee595c8da1b2093a01f491/mpv-easy-data/rjno1.conf#L11

from thumbfast.

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.