I have migrated the following bit of code from MovieStim to MovieStim2:
mov = visual.MovieStim2(
win=win, name='mov',
filename=recording_path,
depth=-0.0,
volume=volume,
units="norm",
size=2,
)
With the normal MovieStim that worked nicely, except for the aforementioned horrible audio. Now audio works great, but the video is very dark, and the aspect ratio is not conserved.
print(mov.size)
gives me 2, 1.25
whereas my vido has the same aspect ratio as my screen, and I should be getting 2, 2
. I can fix this by passing size=(2,2)
, but this requires me to know the aspect ratio of the movie - not all have the same aspect ratio as my screen, and also, not all screens will have the same aspect ratio as the videos I am working with atm.
So I guess I’m asking:
- How can I pass just the horizontal size to the
MovieStim2
call and have it figure out the vertical? - How can I make the video brighter?
PS: I am using the live psychopy directly from the master on github. So if this is not about me not using the class properly, but about some bug, I can help you test any fix you may have in mind,.