Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running under Alpine #197

Open
kkhanh opened this issue Nov 15, 2019 · 4 comments
Open

running under Alpine #197

kkhanh opened this issue Nov 15, 2019 · 4 comments

Comments

@kkhanh
Copy link

kkhanh commented Nov 15, 2019

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 kkhanh closed this as completed Nov 15, 2019
@willprice
Copy link
Owner

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

@kkhanh
Copy link
Author

kkhanh commented Nov 18, 2019

@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 kkhanh reopened this Nov 18, 2019
@willprice
Copy link
Owner

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

@kkhanh
Copy link
Author

kkhanh commented Nov 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants