2014-04-26, 21:07
Hi,
I am working on a python script and am using the RenderCapture class to capture video frames.
In a subroutine that starts with the event onPlayBackStarted, I issue a capture() request (using the height and width of the video playing) and then a waitForCaptureStateChangeEvent.
Following this I check getCaptureState and always get back CAPTURE_STATE_FAILED. In a loop, this occurs for every capture() request.
I was wondering if anyone could help me understand what circumstances give rise to a failed capture.
Thanks!
I am working on a python script and am using the RenderCapture class to capture video frames.
In a subroutine that starts with the event onPlayBackStarted, I issue a capture() request (using the height and width of the video playing) and then a waitForCaptureStateChangeEvent.
Following this I check getCaptureState and always get back CAPTURE_STATE_FAILED. In a loop, this occurs for every capture() request.
I was wondering if anyone could help me understand what circumstances give rise to a failed capture.
Thanks!