Docs @ Psychtoolbox Wiki : PlayMovie

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Screen('PlayMovie')

PsychtoolboxScreen.{mex*,dll} subfunction

Usage
[droppedframes] = Screen('PlayMovie', moviePtr, rate, [loop], [soundvolume]);

Start playback of movie associated with movieobject 'moviePtr'. 'rate' defines
the playback rate: 0 == Stop playback, 1 == Normal speed forward, -1 == Normal
speed backward, ... . 'loop' Enable looped playback. 'soundvolume' Output volume
of associated soundtrack: 0 = Mute sound output, 0.01 - 1.0 Volume in percent.
On OS-X, media files are handled by use of Apples Quicktime-7 API. On other
platforms, the playback engine may be different from Quicktime. Returns number
of frames that needed to be dropped in order to keep video playback in sync with
realtime and audio playback.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0587 seconds