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

[pix_film_buffer] as [pix_film] alternative #417

Open
60-hz opened this issue Mar 7, 2024 · 1 comment
Open

[pix_film_buffer] as [pix_film] alternative #417

60-hz opened this issue Mar 7, 2024 · 1 comment

Comments

@60-hz
Copy link
Contributor

60-hz commented Mar 7, 2024

[pix_buffer_filmopen] is very handy when real time video decoding eat all cpu with [pix_film], for whatever codecs issues.

But right now, there is no way to use it other than with fixed buffer size, since the informations of the loaded media is sent after filling the buffer. So this logic doesn't work:

Capture d’écran 2024-03-07 à 18 49 42

As a simple alternative for movie with buffer, here is an example abstraction with help file called [pix_film_buffer] which resize it's own buffer, and use the same outlets logic like [pix_film]. This could be added in parallel of [pix_film].

pix_film_buffer.zip

Could be improved but works nicely for now under MacOS.

@umlaeute
Copy link
Owner

umlaeute commented Mar 8, 2024

i haven't checked your abstraction, but i was actually thinking about adding film-loading support directly to [pix_buffer]

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

2 participants