SNAP:模拟和神经科学应用平台

问题描述 投票:0回答:1

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

我想使用 .avi 文件作为刺激而不是图像来运行运动意象示例场景。这怎么办?

使用 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
ffmpeg simulation
1个回答
1
投票

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

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

© www.soinside.com 2019 - 2024. All rights reserved.