# SimpleMovieDemo() does not work on my machine!!

**URL:** <https://psychtoolbox.discourse.group/t/simplemoviedemo-does-not-work-on-my-machine/1373>\
**Category:** Uncategorized\
**Created:** [January 14, 2013, 9:17am UTC](https://psychtoolbox.discourse.group/t/simplemoviedemo-does-not-work-on-my-machine/1373 "2013-01-14T09:17:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [January 14, 2013, 9:17am UTC](https://psychtoolbox.discourse.group/t/simplemoviedemo-does-not-work-on-my-machine/1373/1 "2013-01-14T09:17:28Z")

</div>

Hi everybody,  
  
I am trying to see how Psychtoolbox presents an example .mov file. To this end, according to the following URL:  
[http://docs.psychtoolbox.org/SimpleMovieDemo](http://docs.psychtoolbox.org/SimpleMovieDemo)  
  
I simply entered the below function in the MATLAB command window:  
SimpleMovieDemo;  
  
but each time MATLAB returns a same error:  
  
??? Error using ==\> Screen  
Usage:  
  
[moviePtr [duration] [fps] [width] [height] [count]  
[aspectRatio]]=Screen('OpenMovie', windowPtr, moviefile [, async=0] [,  
preloadSecs=1] [, specialFlags1=0][, pixelFormat=4][,  
maxNumberThreads=-1]);  
  
Error in ==\> SimpleMovieDemo at 47  
movie = Screen('OpenMovie', win, moviename)  
  
I checked the existence of the default .mov file: it is still there!  
  
I would be grateful if anybody can say what is probably going wrong?  
  
  
Many Thanks in advance,  
\_V  
  
PS: I use OS X.

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [January 14, 2013, 3:39pm UTC](https://psychtoolbox.discourse.group/t/simplemoviedemo-does-not-work-on-my-machine/1373/2 "2013-01-14T15:39:42Z")

</div>

Did you install gstreamer per instructions on the psychtoolbox wiki and did you UpdatePsychtoolbox()?

 

Best,

Dee  
  

> 

On Mon, Jan 14, 2013 at 5:17 PM, Vahid \<[V.mehrpour@...](mailto:V.mehrpour@...)\> wrote:  

> Hi everybody,  
>   
> I am trying to see how Psychtoolbox presents an example .mov file. To this end, according to the following URL:  
> [http://docs.psychtoolbox.org/SimpleMovieDemo](http://docs.psychtoolbox.org/SimpleMovieDemo)  
>   
> I simply entered the below function in the MATLAB command window:  
> SimpleMovieDemo;  
>   
> but each time MATLAB returns a same error:  
>   
> ??? Error using ==\> Screen  
> Usage:  
>   
> [moviePtr [duration] [fps] [width] [height] [count]  
> [aspectRatio]]=Screen('OpenMovie', windowPtr, moviefile [, async=0] [,  
> preloadSecs=1] [, specialFlags1=0][, pixelFormat=4][,  
> maxNumberThreads=-1]);  
>   
> Error in ==\> SimpleMovieDemo at 47  
> movie = Screen('OpenMovie', win, moviename)  
>   
> I checked the existence of the default .mov file: it is still there!  
>   
> I would be grateful if anybody can say what is probably going wrong?  
>   
> Many Thanks in advance,  
> \_V  
>   
> PS: I use OS X.
