video playback with bci2000

Forum for discussion on different user applications
Locked
bernhard
Posts: 1
Joined: 15 Mar 2012, 11:44

video playback with bci2000

Post by bernhard » 13 Apr 2012, 06:06

Hello bci community!

Is it possible with the bci2000 software playing a video for stimulation and record the brain signals?
for example, change the p300 speller view to a video view?

My goal is to record the brain signals of several people while watching a video.

Maybe it is easier to play a video(youtube) and just use bci2000 to record actual brainsignals?

I hope somebody could help me!

regards,
bernhard

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: video playback with bci2000

Post by mellinger » 18 Apr 2012, 11:27

Hi,

there is currently no BCI2000 component that plays back video.
Your options very much depend on your synchronization demands, i.e. whether you need exact information about video frames in your recorded data file. If it is sufficient to start a video at the same time as the EEG recording, then you may use Operator scripting in order to remote control a video player. Operator scripting allows you to execute BCI2000 Operator scripting commands on certain events, e.g. when the Operator module's Start button is clicked (OnStart/OnResume). Using one of the Operator scripting "SYSTEM" or "START EXECUTABLE" commands, you may execute anything that can be run by double-clicking it, e.g. a batch file that starts a video player. The SYSTEM command is synchronous, i.e. it waits until the script has finished, while the START EXECUTABLE runs an executable in the background, and returns once the application has been initialized.

If you use the VLC video player for playback, command line options are documented here:
http://wiki.videolan.org/Documentation: ... Use_of_VLC
E.g., to play a video, you simply start VLC with the name of the video file:
START EXECUTABLE vlc myvideo.avi
You may also control position and size of the video window from the command line.

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests