When I execute the following code the pygame window opens and displays the first frame of my video and then I get this error message: ValueError: Array depth must match number of mixer channels. Is there a mistake in the code? Or is something wrong with the .mp4 file?
import pygame
import moviepy.editor
import os
pygame.init()
video = moviepy.editor.VideoFileClip(os.path.join('files', 'video.mp4'))
video.preview()
pygame.quit()