1

I want to display an animation using pygame, python without having multiple jpg's or png's using for ex a mp4 or a animation file.

Anonymous
  • 11
  • 5

1 Answers1

0

Pygame had a library called movie but it isn't supported anymore so you can't import it.

But there's still a python package that can do this, just take a quick look at this: How can I play a mp4 movie using Moviepy and Pygame

You can download MoviePy via pip, see https://pypi.org/project/moviepy/ for mor information!

Ari24
  • 370
  • 5
  • 12