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

Port-based IO API? #36

Open
jackfirth opened this issue Oct 11, 2017 · 1 comment
Open

Port-based IO API? #36

jackfirth opened this issue Oct 11, 2017 · 1 comment
Milestone

Comments

@jackfirth
Copy link

It might be useful for Video to provide a way to read and write video data to and from arbitrary Racket ports, instead of only to and from files. I think a possible way to support this would be for clip to accept an input port from which it reads video data. Maybe it would have to be a thunk that produces a port though? I'm not sure how lazy video construction is or when exactly the file is read into memory.

@LeifAndersen
Copy link
Member

This is also possible, although I will have to think about how to fit this into the current architecture.

Thanks for the suggestion.

@LeifAndersen LeifAndersen added this to the v0.2 milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants