Playing Video From Python Inline Script
I'm currently working on an experiment that is coded entirely in Python and will be executed in OpenSesame through the use of a single inline script. However, I'm struggling with finding a way to play my .avi video stimuli in the experiment window that will utilize the inline script. I've tried using the cv2 code I found elsewhere on the forum, but I'll need to be able to play the audio that accompanies each of the videos. I've also tried an os command to play the video with VLC, but it opens the video in a window hidden by the experiment window. The videos play fine with the VLC player plug-in for the regular OpenSesame interface, but I want to achieve that same goal with just an inline script. Any ideas on how I can do this?