Movie.width and movie.length do not always work depending on movie

Hello @lucedan

Related:
OpenCV error in Processing 4.0b2 - #10 by glv
Problem with slitscan effect for pre-recorded video - #2 by GoToLoop

You can also add a break statement if you want a timeout in the while() loop.

Reference:

:)