willprice / python-omxplayer-wrapper

:tv: Control OMXPlayer, the Raspberry Pi media player, from Python
http://python-omxplayer-wrapper.readthedocs.io
GNU Lesser General Public License v3.0
253 stars 71 forks source link

Poor Performance #83

Closed krajni closed 7 years ago

krajni commented 7 years ago

First of all Thanks for your time and effort that you spent with this project. Unfortunately all the Videos I tested on a Raspi 3 had not a good performance. The Videos stutter a lot and are not nice to look at. I tried various Resolutions (1080,720,480) but all of them were stuttering. I also tried both Python 2 and 3 but both have that Issue. Is everyone else having that same problem? The Videos are played without stuttering when OMXPlayer is started directly from Terminal.

varadig commented 7 years ago

Weird, I have a same good performance as omx cli. So maybe you need to check come other thing. How many MB you split to memory for the GPU?

krajni commented 7 years ago

Thanks for the quick reply. 128 MB are reserved for GPU.

krajni commented 7 years ago

And the code isn't fancy either. I'm just testing the performance right now with: from omxplayer import OMXPlayer

player = OMXPlayer("/home/pi/signage/test.mov") player.play()

varadig commented 7 years ago

I'm using RaspbianLite with matchbox-window-manager and 256Mb GPU. What about if use mp4 instead of mov?

krajni commented 7 years ago

Thanks for the hint. Just tried mp4: Same result. And also upgraded first to 256MB and then to 512, but still not getting a better result. I will try with a fresh OS.

willprice commented 7 years ago

Do you get stuttering performance under omxplayer on the cli, if so then the bug resides in your setup or in omxplayer and not this wrapper.

willprice commented 7 years ago

Closing unless someone can reproduce with a minimal working example.