[open] Onset times with media_player_vlc
Hello,
Is it possible to log the onset times of videos (e.g. the first frame)? I do not see a time_* logging property
for the vlc video event.
Thank you
Hello,
Is it possible to log the onset times of videos (e.g. the first frame)? I do not see a time_* logging property
for the vlc video event.
Thank you
Comments
Hi,
The easiest way is to insert a simple
inline_scriptjust before themedia_player_vlcwith something like the following in the run phase:This will underestimate the actual playback time by only a very small amount (20 ms on my system). To get an even better estimate, you need a more hackish solution. Add an
inline_scriptafter themedia_player_vlcwith the following in the prepare phase:... and something like the following in the run phase:
This will access the internal state of the
media_player_vlc.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!