anrayliu / pyvidplayer2

Reliable, easy, and fast video playing in Python
MIT License
35 stars 10 forks source link

Not a WAVE file #27

Closed GaelHF closed 5 months ago

GaelHF commented 6 months ago

I am trying to run this code with pyvidplayer2

studio = Video("assets/Videos/studio.mp4") while studio.active: if studio.draw(screen, (0, 0), force_draw=False): pygame.display.update() pygame.time.wait(16) pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))

But I always get that the file is not a wave file.

anrayliu commented 6 months ago

Ensure that ffmpeg is installed and working properly. Make sure it is ffmpeg.exe that can be accessed, not ffplay or ffprobe.