I'm using ImageIO's get_reader()
function on a video in a context where the process doing this is going to be forked. This reader is then continually randomly indexed (using the get_data
method). Eventually, I run into an error imageio.core.format.CannotReadFrameError: Could not read frame -1
. If the process is not forked, this error doesn't occur. Is ImageIO's get_reader()
not fork safe? Or does my problem lie elsewhere?
Asked
Active
Viewed 306 times
8

Jenny Shoars
- 994
- 3
- 16
- 40
-
2Could you post the code? – mikep Nov 19 '17 at 11:38