Reconstructing session video from .mwk2 file

Hi Chris,

I was wondering if you or others have worked out a way to reconstruct a video playback of a session (stimulus screen with eye traces overlaid) from the raw .mwk2 file?

Thank you,
Sol

Hi Sol,

This discussion describes a way to do it. It also includes some example MATLAB code for generating the movie. However, it relies on the experiment capturing the relevant stimulus display frames as it runs, so this wouldn’t work for data you’ve already collected.

In theory, you could use the stimulus info from #stimDisplayUpdate events to recreate each display frame from the event file, but you would need to write your own drawing code to render the stimuli. That wouldn’t be too hard for images or simple shapes, but it could be tricky to impossible with other stimulus types. (The client eye window basically uses this approach, but it limits the stimulus rendering to simple outlines.)

Cheers,
Chris

Great I hadn’t seen this, thank you!