Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

media_player_pny plugin error

edited May 2018 in OpenSesame

Hello, and thanks for Open Sesame.

I am a new user with little-to-no Python knowledge. I am having difficulties using the media player plugin. Every time I drag and drop a media_player_mpy item into my experiment it results in an error message (see bottom).

Other users have reported similar problems. However, the recommendations don't work for me:

  • I have tried using different internet connections/networks - still get the same error message
  • I have downloaded the ffmpeg.osx file and tried to follow advice to manually copy it into the /Users//Library/Application Support/imageio/ffmpeg location. My 'Application Support' folder (which is in a slightly different location to this address) did not have an 'imageio' folder in it. I created one - followed by a 'ffmpeg' folder - and put the file ffmpeg.osx in it. I still get the same error message.

I am using OpenSesame is 3.1.9. I have tried uninstalling and reinstalling this version. I have also tried an old version (2.9.7) which seems to use a different media player plugin and also results in an error message. My operating system is macOS Sierra 10.12.1.

Any help appreciated. Here is the full error message:

Traceback (most recent call last):
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/widgets/tree_overview.py", line 753, in dropEvent
    self.drop_event_item_new(data, e)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/widgets/tree_overview.py", line 672, in drop_event_item_new
    item, new_items = self.drop_get_item_snippet(data)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/widgets/tree_overview.py", line 560, in drop_get_item_snippet
    catch_exceptions=False)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/misc/qtitem_store.py", line 105, in new
    script=script)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/item_store.py", line 164, in new
    u"Failed to load plugin '%s'" % _type, exception=e)
osexception: 
Failed to load plugin 'media_player_mpy'

item-stack: 
exception type: IOError
exception message: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.
time: Mon Apr 23 17:40:54 2018

Traceback:
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/item_store.py", line 161, in new
    self.experiment, script, self.experiment.item_prefix())
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/plugins.py", line 361, in load_plugin
    item_module = import_plugin(plugin, _type=_type)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/plugins.py", line 332, in import_plugin
    return imp.load_source(plugin, path)
  File "/Applications/OpenSesame.app/Contents/Resources/share/opensesame_plugins/media_player_mpy/media_player_mpy.py", line 42, in <module>
    import mediadecoder
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/mediadecoder/__init__.py", line 6, in <module>
    from mediadecoder.decoder import Decoder
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/mediadecoder/decoder.py", line 9, in <module>
    from moviepy.video.io.VideoFileClip import VideoFileClip
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
    from moviepy.video.VideoClip import VideoClip
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 20, in <module>
    from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 15, in <module>
    from moviepy.config import get_setting
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/moviepy/config.py", line 38, in <module>
    FFMPEG_BINARY = get_exe()
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/imageio/plugins/ffmpeg.py", line 52, in get_exe
    exe = get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat])
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/imageio/core/fetching.py", line 98, in get_remote_file
    _fetch_file(url, filename)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/imageio/core/fetching.py", line 154, in _fetch_file
    os.path.basename(file_name))
IOError: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.

Comments

Sign In or Register to comment.