Dear forum,
I have a short movie that was recorded with a video camera.
I'd like to play this movie via PTB.
However, I'm not sure I know how it is being done. Is it similar to
playing a simple synthetic movie such as:
================================
loop = {
'for i=1:totalFrames;'
'Screen(get(test,''window''),''FillRect'',background);'
'Screen(get(test,''window''),''FillOval'',stimulusColor(i),
stimulusLocation {i});'
'Screen(get(test,''window''),''Flip'');'
'end;'
};
Rush(loop,priorityLevel);
================================
Should I use Matlab's Image Acquisition Toolbox to extract the movie
into single frames and then run them in a similar loop?
Can anyone refer me to demo/functions that perform this process?
I'm using Matlab version 7, with PTB beta, on WindowsXP.
The audio soundtrack of the movie will be played via a separate
hardware device (TDT).
Many thanks in advance,
Hanna
I have a short movie that was recorded with a video camera.
I'd like to play this movie via PTB.
However, I'm not sure I know how it is being done. Is it similar to
playing a simple synthetic movie such as:
================================
loop = {
'for i=1:totalFrames;'
'Screen(get(test,''window''),''FillRect'',background);'
'Screen(get(test,''window''),''FillOval'',stimulusColor(i),
stimulusLocation {i});'
'Screen(get(test,''window''),''Flip'');'
'end;'
};
Rush(loop,priorityLevel);
================================
Should I use Matlab's Image Acquisition Toolbox to extract the movie
into single frames and then run them in a similar loop?
Can anyone refer me to demo/functions that perform this process?
I'm using Matlab version 7, with PTB beta, on WindowsXP.
The audio soundtrack of the movie will be played via a separate
hardware device (TDT).
Many thanks in advance,
Hanna