*動画の切替時のちらつきが気になったら

動画は表示の時に読み込みをするとのことで、1つの動画から次の動画の切り替えでちらつきが出やすいみたい。

んで軽減できる方法としてvideo1.prepare()みたいにpcl内で記述しておくと、trial1.present()の時の表示が割とスムーズになる。

以下参考にしたヘルプの記述。

---------------------------------------------------------------------------------------------------------------------------

Presentation Help : Help Guide : Stimuli : Visual Stimuli : Video Stimuli

Prev : Next

Video Attributes

----途中に書いてある-----------------

You can prepare a video manually using the video::prepare method, which gives you control over when the video is prepared. This is useful if other stimuli (including other videos) or responses are occurring around the start time of the video in which case such a large time delay would be unacceptable. It is also useful if you are synchronizing the start of a video with an external event in which case you need the video to start immediately.

#-- scenario file --#

begin; trial { video { filename = "vid1.mpg"; } vid1; time = 0; video { filename = "vid2.mpg"; } vid2; time = 500; } trial1; begin_pcl; # preparation of vid2 will interrupt vid1 playback so do it ahead of time vid1.prepare(); vid2.prepare(); trial1.present();

-------------------------------------------------------------------------------------------------------------------------------------------------------------

こうしておくと、vid1からvid2の切り替えがスムーズになるということらしい。