python-omxplayer-wrapper icon indicating copy to clipboard operation
python-omxplayer-wrapper copied to clipboard

running under Alpine

Open kkhanh opened this issue 4 years ago • 4 comments

Hi,

I'm trying to use the library under Alpine. Do you know if there were any successful attempt ?

The steps I followed : foo# pip3 setup.py install foo# python3

from omxplayer.player import OMXPlayer from pathlib import Path VIDEO_PATH = Path("/tmp/test.mp4") player = OMXPlayer(VIDEO_PATH)

From there I can see a new process on the list : 2935 root 0:02 omxplayer /tmp/test.mp4

but nothing show up on the screen.

No problem when running omxplayer directly without python Im using alpine-rpi-3.10.3-armhf

Any hints appreciated ty

kkhanh avatar Nov 15 '19 13:11 kkhanh

@kkhanh were you able to get this working? If so would you mind sharing your tips so others can benefit? Thanks

willprice avatar Nov 15 '19 16:11 willprice

@willprice I got it working by disabling openGL which is not enabled by default so there should be no problem for anyone. But the library is not working properly, /tmp is empty, looks like a problem with the dbus.

kkhanh avatar Nov 18 '19 10:11 kkhanh

Do you see any *omxplayer* files in /tmp when you run omxplayer from the CLI?

willprice avatar Nov 18 '19 10:11 willprice

@willprice No, /tmp is still empty. chmod 777 /tmp, same result

kkhanh avatar Nov 18 '19 10:11 kkhanh