Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting new clips always causes a delay #24

Closed
itsmattkc opened this issue Feb 5, 2018 · 2 comments
Closed

Starting new clips always causes a delay #24

itsmattkc opened this issue Feb 5, 2018 · 2 comments

Comments

@itsmattkc
Copy link
Contributor

While playback performance is generally acceptable now, starting a new clip causes a "seek" which generally causes a noticeably pause in playback. Olive could theoretically detect upcoming clip changes and seek them before they need to be displayed. The built-in frame caching would handle the rest, so that starting the new clip would be essentially seamless. This kind of optimization should come at the same time as addressing #21 (which will likely require detecting multiple clips of the same source and duplicating the format context).

Olive should also dealloc frame caches on clips after they are finished to save memory on particularly large sequences.

@itsmattkc
Copy link
Contributor Author

A format/codec handling rewrite is coming that should address this, as well as #21

@itsmattkc
Copy link
Contributor Author

I'm going to merge this issue with #21 because they are fundamentally caused by exactly the same problem (especially after the file handling rewrite in 157a658)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant