title: Pygame/MoviePy - The video displays with a terrible framerate and the window size is bigger than my screen
body: <p>I've been looking around for a while trying to find a way to display videos in Pygame because of a new story video-game project. I finally stumbled across Moviepy which works alright...except that the video displays showing only one of the 24 frames each second and the window it displays in is bigger than by screen.
  (on a Windows 10 laptop with an 11inch(I think) screen)</p>
  
  <p>The sound is alright but the video also goes too fast so is out of sync.</p>
  
  <p>I've tried the resize function as said on the docs but it gives no effect.</p>
  
  <p>And I can't find anything to do with the framerate.</p>
  
  <p>So I need a way to make the window smaller and correct the framerate.</p>
  
  <p>This is the code I used:</p>
  
  <pre class="lang-py prettyprint-override"><code>from moviepy.editor import VideoFileClip
  from moviepy.video.fx.resize import resize
  import pygame
  
  pygame.display.set_caption('My video!')
  
  clip = VideoFileClip('Eleeza Crafter And The Cloud Colours Trailer.mp4')
  clip.fx(resize, width=240)
  clip.preview(fps=24)
  pygame.quit()
  </code></pre>
  
  <p>Any help would be appreciated. Thanks :)</p>
  
  <p>EDIT: I tested a different video at the same framerate and it works perfectly?
  Then again it was just a simple line flying around the screen.</p>