[open] Running Video Clips alongside an independent Audio Track
Hi Sebastiaan,
I am trying to develop a project where a randomised set of video clips are played in parallel to a seperate wav podcast.
These short clips are selected from one long movie in the filepool. In other words, the audio track (2 mins) will start, randomised clip1will run from 2secs (50 frames) to 10secs (250 frames), then clip2 from 2secs - 18secs etc until a total of 20 random selected clips are completed. The participant will respond whilst each video is displayed.
I have tried a few suggestions from this forum but cannot find a way to select the start and end frame position.
I believe using the pygame.movie.render_frame may be an option but unsure whether this method will work.
I have a set of Pre-edited video clips to insert but this does not provide me with the randomised solution.
Could you please let me know if this is possible using OpenSesame.
Thanks
Anthony McGuffie

Comments
Hi Anthony,
Yes, this should be possible in OpenSesame in the sense that you can use additional Python libraries to do this. This functionality is not available through a graphical plug-in, so it will take some coding!
My guess is that OpenCV would be a good starting point for the video, as it offers considerable flexibility (at the cost of being tricky). The sound playback should be easy, just using sampler item, for example.
For more, information, see:
Good luck!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!