Giter VIP home page Giter VIP logo

Comments (6)

darbyjohnston avatar darbyjohnston commented on September 27, 2024

Is "refresh" something you added to your branch?

from tlrender.

ggarra13 avatar ggarra13 commented on September 27, 2024

No. I just added that to force the IOOptions to be different. I assumed you might have been doing a compare of, as usual:

Player::setIOOptions(const io::Options& value)
{
if (p.ioOptions == value)
return;
...etc...
}

If it is not needed, let me know.

from tlrender.

ggarra13 avatar ggarra13 commented on September 27, 2024

And yes, I am seeing that in current branch, when I call the refresh_cache_cb() in my code.

from tlrender.

ggarra13 avatar ggarra13 commented on September 27, 2024

I added the "refresh" = randomString() as I was getting the IOOptions from the player. So, that for example, the OpenEXR "Layer" option is not changed. I saw that you were doing:

player->setIOOptions({});

But that would reset the OpenEXR layer selection.

from tlrender.

darbyjohnston avatar darbyjohnston commented on September 27, 2024

I checked in a change so the player now requests the current video frame first when caching, this should hopefully make skipping frames more interactive. I would also recommend not setting the cache read behind too high, it's just meant to keep a few frames for stepping back and forth.

Instead of setting the I/O options you can also use timeline::Player::clearCache() to clear the cache.

from tlrender.

ggarra13 avatar ggarra13 commented on September 27, 2024

Thanks. I think the main culprit was the ReadBehind. Once I left it at 0.4secs without trying to increase it due to the memory setting, the workflow became interactive.

from tlrender.

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.