Page 1 of 1
video playback with bci2000
Posted: 13 Apr 2012, 06:06
by bernhard
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
Re: video playback with bci2000
Posted: 18 Apr 2012, 11:27
by mellinger
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