Skip to main content

MoviePy media player plugin for OpenSesame

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.

Dependencies

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.)

Alternative OpenSesame movie player plugins

I dare to say that this is the best implementation of a movie player for OpenSesame yet, but here are some others:

  • media_player_gst - Based on the GStreamer framework (0.10). Worked quite well, except on OSX where videos suddenly tended to freeze.
  • media_player_vlc - Based on the vlc python bindings. It 'hijacks' a window by its handle and renders the video in there, but this all does not work very gracefully.

License

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.

Release files for opensesame-plugin-media-player-mpy 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opensesame-plugin-media-player-mpy 0.2.3
File Size Uploaded
opensesame_plugin_media_player_mpy-0.2.3.tar.gz 62.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opensesame-plugin-media-player-mpy 0.2.3
File Interpreter ABI Platform
opensesame_plugin_media_player_mpy-0.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 172.0 kB

Release files / opensesame_plugin_media_player_mpy-0.2.3.tar.gz

Download URL opensesame_plugin_media_player_mpy-0.2.3.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1eeb4ffaea6136da888a00c61f6bd4333ef1ba9e776676fb44881b6fad4e5c2
BLAKE2b-256 checksum
How to use checksums
524ec37a5e10f0f6b201f6c2e27628ddfd923556378964bdfa68e296c8e0bf1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / opensesame_plugin_media_player_mpy-0.2.3-py2.py3-none-any.whl

Download URL opensesame_plugin_media_player_mpy-0.2.3-py2.py3-none-any.whl
Size 109.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4516cd03ce7934f45969f5c4bff937a8afda1d01a203e901686f96352ae63b3f
BLAKE2b-256 checksum
How to use checksums
6a44086c01f613f8692374a4d656776886c918cbb2436929c4d19db76c3781d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.10

2 release files

0.1.9

3 release files

0.1.8

3 release files

0.1.6

3 release files

0.1.5

3 release files

0.1.4

3 release files

0.1.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page