SNAP:仿真和神经科学应用平台

时间:2014-02-25 11:49:26

标签: ffmpeg simulation neuroscience

是否有关于如何使用SNAP(模拟和神经科学应用平台)1的文档/帮助手册。

我想运行带有.avi文件的Motor Imagery示例场景,而不是图像。怎么办?

使用AlphaCalibration方案时会出现以下错误,该方案提供了播放avi文件的代码。非常感谢

:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Cannot open file: /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Could not open audio /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:gobj(error): Texture "/e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi" exists but cannot be read.
Traceback (most recent call last):
  File "E:\BCI_Feb2014\SNAP-master\src\framework\latentmodule.py", line 458, in _run_wrap
    self.run()
  File "modules\BCI\AlphaCalibration.py", line 30, in run
Exception during run():
    m = self.movie(self.moviefile, block=False, scale=[0.7,0.4],aspect=1.125,contentoffset=[0,0],volume=0.3,timeoffset=self.begintime+t*self.awake_duration,looping=True)
Could not load texture: bird.avi
  File "E:\BCI_Feb2014\SNAP-master\src\framework\basicstimuli.py", line 348, in movie
    tex = self._engine.base.loader.loadTexture(filename)
  File "E:\BCI_Feb2014\Panda3D-1.8.0\direct\showbase\Loader.py", line 554, in loadTexture
    raise IOError, message
IOError: Could not load texture: bird.avi

1 个答案:

答案 0 :(得分:1)

由于文件大小,视频文件未包含在github存储库中。但是,如果您使用放在搜索路径上的任何其他视频文件(例如,在其他媒体文件旁边 - 请参阅Panda3d的内容搜索路径概念),您的用例应该有效。

有一个SNAP版本,包括:ftp://sccn.ucsd.edu/pub/software/LSE-SDK/中的媒体文件,其中可能包含您要查找的文件。