[open] VLC video playback: resize option missing
Hi all!
Using the 0.27 and the VLC plugin, I would like for my video NOT to be resized to fit the screen. In the help for the plugin, it says there is a resize option which you can choose, or not. But this option is missing from the actual plugin screen (and no variable is set in the script view). Any way I can select it?
By the way thanks very much for OpenSesame and the plugin, I am using it for the first time and have not experienced too many glitches.
Cheers,
Ben
Comments
Hi Ben,
I suspect that the help file has been copied and modified from another plug-in, but the resize option has not actually been implemented.
The current behavior is that the video is always stretched across the full screen. What type of behavior are you looking for? Do you want a small centrally presented video, or something along those lines?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Ben,
If you are just looking for video playback without sound, you could also try the OpenCV based player written by Sebastiaan once. This offers the ability to resize video, if my recollection is correct.
As for the vlc plugin, the possibilities that the vlc library offers me are very rudamentary, so there is not a lot I can do with the video than present it 'as is' (or as I get it from the vlc dll). The resize option was indeed available in an older version of media_player, which was based on a different set of libraries, which we sadly cannot get to work anymore for the current version of Python. I will update the documentation and remove the incorrect information!
I found an option in the API to scale the video to its original size and have added this option to the latest version of the plugin in GitHub (https://github.com/dschreij/media_player_vlc/releases/tag/1.0)