Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
opensesame-plugin-media-player-mpy
Advanced tools
This plugin enables movie playback in OpenSesame using the MoviePy module. To use it, copy the folder media_player_mpy
into your OpenSesame plugins directory. Alternatively, if you are on Linux or Mac OS, you can also place it in your homefolder under ~/.opensesame/plugins/media_player_mpy
and OpenSesame should pick it up. If properly detected, the plugin should appear as a draggable item in the items list. This plugin should work on all major platforms such as Windows, Mac OS X and Linux.
Note: the first time that you run an experiment that makes use of htis plugin, moviepy will try to determine if ffmpeg (which it uses to read and decode movies) is installed on your system. If it doesn't detect it, moviepy will attempt to download ffmpeg for you. This may take a while and will lock up the OpenSesame interface in the mean time. If you experience a froze interface on the first run, please be patient to let the download of ffmpeg in the background finish. You should see an indication of the download progress in your terminal.
This module depends on the following other libraries. So make sure you have them installed if you run OpenSesame from source (the distributed versions of OpenSesame should already contain these libraries, so no further action is required.)
I dare to say that this is the best implementation of a movie player for OpenSesame yet, but here are some others:
Like moviepy, this module is licensed under the MIT license:
The MIT License (MIT) Copyright (c) 2016-2020 Daniel Schreij
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A video playback plugin for OpenSesame, based on MoviePy
We found that opensesame-plugin-media-player-mpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.