Skip to content

0.12.0#65

Merged
jfkominsky merged 12 commits intomainfrom
0.12.0
Mar 4, 2026
Merged

0.12.0#65
jfkominsky merged 12 commits intomainfrom
0.12.0

Conversation

@jfkominsky
Copy link
Copy Markdown
Owner

Fixes to in-person movie playback for 2025.2+ and a related builder bug.

Changes to movie player affecting lots of things. This lets it run but the first frame functionality is no good the second time a movie file is presented, and I haven't tested if it mutes successfully without direct intervention.
Python 3.8 isn't working b/c it can't install ffpyplayer for some reason. This is not relevant to function so I'm just going to have it test on 3.10.
For some reason frameIndex no longer works, but PTS should still be able to identify when the seek has not yet reached the appropriate frame.
Found a solution for extracting the first frame that is even more fragile and kludgy, but functional. Need to test with audio stimuli to see if it causes chirps on load (it might).
Slower load time but cleaner first frame loading. However there is a slight problem on the first play in 2025.2 where there is a short (~50ms) delay on the very first play that causes a flicker...need to figure out how to test for that.
Version-flexible variables are only helpful if you use them.
Added a specific workaround for the first-playback first-frame black-flicker issue in 2025.2+. Also tested with sound-containing movies and all solutions working well.

A BR has been filed for that issue in particular at PsychoPy, so hopefully it will get fixed soon.
Attention getters also need the first frame extraction, and now that it's modularized, it's easier to just call that function.

Testing being blocked by another bug in getting the movie in the builder, but that will be its own update.
Adding a movie-based attention-getter was crashing because apparently size is no longer an optional argument.
Updating readme with some new developments.
@jfkominsky jfkominsky merged commit 22c465c into main Mar 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant