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.
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.