# change frame rate of AVI movie

**URL:** <https://psychtoolbox.discourse.group/t/change-frame-rate-of-avi-movie/901>\
**Category:** Uncategorized\
**Created:** [June 13, 2007, 10:18am UTC](https://psychtoolbox.discourse.group/t/change-frame-rate-of-avi-movie/901 "2007-06-13T10:18:16Z")\
**Posts on this page:** 3\
**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:** [June 13, 2007, 10:18am UTC](https://psychtoolbox.discourse.group/t/change-frame-rate-of-avi-movie/901/1 "2007-06-13T10:18:16Z")

</div>

Hi everyone,  
  
I've recorded an AVI movie with a video camera. the recorded frame-  
rate was 25 frames per sec.  
I'd like to play this movie via PTB.  
however, since my monitor refreshing rate is 60Hz, the movie plays   
much faster than it was recorded.  
any suggestions what can be done to display it in the correct rate?  
  
thanks!  
Hanna

---

<div class="post-metadata">

**Author:** ![viv\_eeks](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@viv\_eeks](https://psychtoolbox.discourse.group/u/viv_eeks)\
**Post date:** [June 14, 2007, 11:59am UTC](https://psychtoolbox.discourse.group/t/change-frame-rate-of-avi-movie/901/2 "2007-06-14T11:59:06Z")

</div>

Hi Hanna,  
  
Read the movie in PTB and then write it onto a different file with a different frame rate as per your requirements! then use the second movie for your experiments!!  
  
Thanks & Regards,  
Kant  
  
**_hanna\_zahar \<hanna\_zahar@...\>_** wrote:

> > Hi everyone,  
> >    
> > I've recorded an AVI movie with a video camera. the recorded frame-  
> > rate was 25 frames per sec.  
> > I'd like to play this movie via PTB.  
> > however, since my monitor refreshing rate is 60Hz, the movie plays   
> > much faster than it was recorded.  
> > any suggestions what can be done to display it in the correct rate?  
> >    
> > thanks!  
> > Hanna
> 
>   
> 
> * * *
> Get the Yahoo! toolbar and [be alerted to new email](http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.php)wherever you're surfing.

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [June 14, 2007, 4:38pm UTC](https://psychtoolbox.discourse.group/t/change-frame-rate-of-avi-movie/901/3 "2007-06-14T16:38:47Z")

</div>

Look at PlayMoviesDemoOSX and friends in PsychDemos/QuicktimeDemos  
on how to play movies with controlled audio-visual timing.  
  
Select a monitor refresh rate which is a multiple of your movies rate  
for optimal results, e.g., 75 Hz, 100 Hz or 125 Hz in your case.  
  
-mario  
  

> --- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), Vivek Kant \<viv\_eeks@...\> wrote:  
> \>  
> \> Hi Hanna,  
> \>   
> \> Read the movie in PTB and then write it onto a different file with a different frame rate   
> as per your requirements! then use the second movie for your experiments!!  
> \>   
> \> Thanks & Regards,  
> \> Kant  
> \>   
> \> hanna\_zahar \<hanna\_zahar@...\> wrote: Hi everyone,  
> \>   
> \> I've recorded an AVI movie with a video camera. the recorded frame-  
> \> rate was 25 frames per sec.  
> \> I'd like to play this movie via PTB.  
> \> however, since my monitor refreshing rate is 60Hz, the movie plays   
> \> much faster than it was recorded.  
> \> any suggestions what can be done to display it in the correct rate?  
> \>   
> \> thanks!  
> \> Hanna  
> \>   
> \>   
> \>   
> \>   
> \>   
> \>   
> \> ---------------------------------  
> \> Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.  
> \>
