Video stimulus problem

I’ve been trying to get either a .mov or a .avi video to play. I’m using ubuntu 16.04, and psychopy 1.83.04. I can get the demo MovieStim2.py to run, but when i replace that filename with the one I’d like to test I get a deprecation error:

v1.83.04
()
####################### Running: /home/cat/TEMP/movie.py #######################
pyo version 0.7.8 (uses single precision)
/usr/lib/python2.7/dist-packages/psychopy/visual/movie2.py:322: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  dtype=numpy.uint8)

I’ve tried this with 2 different avi files and an mov file and get the same error message. Any suggestions would be most appreciated :-} Thanks.

That looks like just a warning, meaning that it should continue to run. There’s no other message? Are you literally just taking the demo script and inserting your movie name or are you doing something else?

Googling the error does suggest that it should keep running, but in fact it crashes after a very brief flash of one frame of the video. In the mean time, I downloaded an mp4 and converted it to avi and that, for some reason, does work. And, yes, I’d simply taken the demo script and replaced the file name with my own file, Subsequently, I’ve got an mp4 (no conversion) to work. The avbin, and movie.py don’t seem as reliable., The OpenCV seems best.