An open API service indexing awesome lists of open source software.

https://github.com/dschreij/media_player

Plug-in to play movies for the Experiment builder OpenSesame
https://github.com/dschreij/media_player

Last synced: 3 months ago
JSON representation

Plug-in to play movies for the Experiment builder OpenSesame

Awesome Lists containing this project

README

        

Copyright, 2010-2011, Daniel Schreij

1. ABOUT
========
The media_player plug-in adds video playback capabilities
to the OpenSesame experiment builder.

2. LINKS
========
- OpenSesame
- Plug-in page

3. DEPENDENCIES
===============
- PyAudio
- FFMpeg
- PyFFMpeg

4. INSTALLATION INSTRUCTIONS
============================

4.1. WINDOWS XP
===============
The media_player plug-in is included with the binary package of Mac OS for
Windows. If you want to use the media_player while running OpenSesame from
source you need to follow these instructions. This has been tested with
Python 2.6.

- Install pyAudio for your Python version using the installer that is provided
here:

- Download PyFFMpeg. This has been tested with 2.1 Beta. You need the 2.1
Windows binaries package.

Extract the files into the site-packages folder (directly, not into a
subfolder)
[Your Python folder]\Lib\site-packages

- Download the shared library binary of FFMpeg. This has been tested with
version 0.7.1, but new versions are released regularly.

Extract the .dll files (which are in the "bin" subfolder of the archive) into
a "ffmpeg" subfolder of site-packages
[Your Python folder]\Lib\site-packages\ffmpeg

- Copy libgcc_s_dw2-1.dll into the same folder
[Your Python folder]\Lib\site-packages\ffmpeg


- Add the ffmpeg folder to the Path.
My computer -> View system information -> Advanced -> Environment variables
Select "path" under System variables and click "Edit".
Add "[Your Python folder]\Lib\site-packages\ffmpeg;" to the path.

- Test if pyffmpeg has been installed properly by opening a Python prompt and
typing:
>>> import pyffmpeg
This should return without error.

Finally, you will have to download the media_player plug-in and install it by
copying the media_player folder into the plug-in folder of OpenSesame. For more
information, see

4.2. LINUX
==========

You need to install PyAudio, FFMpeg and PyFFMpeg, PyAudio and FFMpeg are most
likely in the repository of your linux distribution. E.g., under Ubuntu they can
be installed by typing:

$ sudo apt-get install ffmpeg python-pyaudio

You will have to install PyFFMpeg manually, by downloading the package from here
(tested with 2.1beta) and placing the files in one of the Python package
folders, such as

/usr/local/lib/python2.6/dist-packages/

Finally, you will have to download the media_player plug-in and install it by
copying the media_player folder into the plug-in folder of OpenSesame. For more
information, see

4.3. MAC OS
===========