mrmike612
Posts: 1
Joined: Wed Jan 08, 2014 2:58 pm

Problem when playing video with Pygame

Thu Jan 09, 2014 12:09 pm

Hello everyone,
I'm doing small project that use the Raspberry Pi to play the video whenever the push button is pressed. As far as I go, I used Pygame library to play the video, but it only plays at 320x240 resolution, if it is higher, the video will be in slow frame, the sound is also incorporate when go to higher resolution. If anyone know how to fix this issue, please tell me. I really appreciate :D

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Problem when playing video with Pygame

Thu Jan 09, 2014 1:16 pm

PyGame is probably not using the GPU when playing video, so it might be smarter to just use "omxplayer" to do the videoplaying.

Return to “Graphics, sound and multimedia”