Comments (6)
Remove all files in /tmp that got 'omxplayer' in the filename and kill all running dbus instances. Try to restart omxplayer-sync after that. You must only use a single user to start omxplayer or omxplayer-sync respectively. If you did start it once as root and then try to start it as non-root, it will fail.
from omxplayer-sync.
Still the same issue after cleaning the '/tmp' directory and 'sudo killall dbus-daemon'. will try complete clean install on a fresh raspbian.
from omxplayer-sync.
ok, I got rid of the error by reinstalling everything from scratch. Here is a little bit more verbose version of the installing instructions:
install pexpect:
sudo apt-get install python-pexpect
install python bindings for DBUS ( https://github.com/LEW21/pydbus ):
sudo apt-get install python3-setuptools
sudo wget https://github.com/LEW21/pydbus/archive/master.zip
sudo unzip master.zip
rm master.zip
cd pydbus-master/
sudo chmod 777 setup.py
sudo ./setup.py build
sudo ./setup.py install
install omxplayer-sync:
sudo apt-get remove omxplayer
sudo rm -rf /usr/bin/omxplayer /usr/bin/omxplayer.bin /usr/lib/omxplayer
sudo wget -O- http://yokto.net/0/omxplayer/omxplayer-3176db4.tar.bz2 | sudo tar -C / -xjvf -
sudo ln -sf /lib/arm-linux-gnueabihf/libpcre.so.3 /lib/arm-linux-gnueabihf/libpcre.so.1
sudo wget -O /usr/bin/omxplayer-sync https://github.com/turingmachine/omxplayer-sync/raw/master/omxplayer-sync
sudo chmod 0755 /usr/bin/omxplayer-sync
sudo wget https://github.com/turingmachine/omxplayer-sync/raw/master/synctest.mp4
from omxplayer-sync.
Now the same error appeared again. The only thing I changed was the filename and the way the startup script is launched. instead of calling it from /etc/profile i now use .bashrc to call it. I deleted the files in /tmp and restarted and get the same messages.
on the master and server:
WARNING: dbus connection could not be established
org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.omxplayer was not provided by any .service files.
when I log in to the x server I get an Error message in a window: GDBus.Error:.org.freedesktop.PolicyKit1.Error.Failed:
Cannot determine user of subject
from omxplayer-sync.
What is your exact call to omxplayer-sync? Try to start omxplayer directly. What user are you using to play files? omxplayer tries to start it's own dbus server: https://github.com/popcornmix/omxplayer/blob/master/omxplayer#L50
from omxplayer-sync.
Oh, this is so embarrassing. I was trying to play back an .mpeg. It works well with the .mp4 version of the file. Sorry for the noise. The error message was not exactly helping me to trouble shoot this, but after seing that the test file works well, I realized what's the issue.
from omxplayer-sync.
Related Issues (20)
- omxplayer-sync -muv synctest.mp4 fails HOT 1
- stuttering HOT 21
- How can I upload new video's to the omxplayer-sync directory on my pi's? HOT 2
- How to upload NEW video to omxplayer-sync video directory on pi's? HOT 3
- --win and --crop not working HOT 2
- play pause HOT 1
- Pass thru error messages for audio
- ERRORS while installing HOT 1
- 4 screen setup HOT 2
- dpkg: error: cannot access archive HOT 1
- playing multiple videos in a sequence
- launch omxplayer-sync on startup HOT 7
- Multiple groups of synced videos sharing same network HOT 2
- MASTER and SLAVE on SAME raspberry? HOT 1
- PI 4 installation error HOT 1
- Distorted sound HOT 3
- Movies over an hour restart and goes black
- Rpi4 4k output HOT 2
- Is this a perfect frame sync? HOT 2
- directory issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omxplayer-sync.