Comments (6)
Is "refresh" something you added to your branch?
from tlrender.
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.
And yes, I am seeing that in current branch, when I call the refresh_cache_cb() in my code.
from tlrender.
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.
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.
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)
- Add support for saving all layers of an OpenEXR HOT 2
- [tlBake] -ffp option causes error HOT 2
- When .otio file contains a segment of an audio clip that does not start at 0, the audio plays too far into the next clip. HOT 1
- .otioz files are playing and showing without audio in latest edit branch. HOT 2
- Qt version does not display video HOT 2
- Zooming via trackpad does not work HOT 2
- Menu icons are barely visible in light mode (macOS) HOT 1
- Compare Wipe Mode is broken in edit branch HOT 1
- Add an option CmdLine.cpp and IApp.cpp to leave unparsed values in an array. HOT 1
- Bad sequence detection. HOT 2
- Add a std::future/std::promise to send I/O options to tlIO HOT 3
- Add an option to clear a single frame or frame range from the cache
- Sequence detection is failing on padded frames. HOT 1
- Can glfw3 be compiled with both wayland and x11 support? HOT 4
- Image Sequences are played at trimmed (source_range?) rate instead of ImageSequence's rate() value.
- tlplay-gl.sh HEAD on Linux and mrv2 on Linux and Windows have issues memory spikes playing the current 4K mp4 movie
- tlRender build fails on osx - ZLIB_VERNUM != PNG_ZLIB_VERNUM HOT 2
- Shader Clamping in imageFragmentSource() HOT 1
- RtAudio tlRender audio enhancements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlrender.