Questions tagged [omxplayer]

0

votes
0

answer
14

Views

How can I know the if a video is playing in python?

I am trying to make a video player that runs a set of standby videos until a distance sensor sees something below a certain distance, at which point, a video is played in it's entirety . so far this is what I got: def videowakeup(): #video for when the sensor detects screen=pygame.display.set_mode(...
R.Matinha
3

votes
1

answer
4k

Views

Vcodec id unknown :XXXX

I was trying to watch some X.mkv files on my raspberry pi. I used to have Openelec 3 and this particular X.mkv was running fine. Now I am on Raspbian running Kodi, and I got a black screen when I launched it, so I looked at the logs. They were talking about OMX player. So I decided to try with it. t...
arthurzinck
2

votes
1

answer
700

Views

Python communicate with omxplayer

I want to know when omxplayer starts playing a live stream link. Some time this takes 4-5 second some times 6-7 second. When I execute os.system('omxplayer '+url), I immediately get the following message: no xset in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/...
Oktay S
2

votes
3

answer
1.5k

Views

OMXPlayer freezes when playing video

I am using OMXPlayer to play some HD videos on my RaspberryPi 3 with latest Raspbian Jessie image. It run perfectly for some time (sometimes 20 minutes, sometimes 3 hours, sometimes 5 hours) but then it freezes. CPU and RAM values are normal. I am running OMXPlayer with this command: /usr/bin/omxpla...
Teemo
7

votes
4

answer
11.9k

Views

Adjust audio volume level with CLI omxplayer - Raspberry Pi

I have a bash script that plays .mp3 files on my Raspberry Pi via omxplayer. But can not control the local (earphone) audio volume with the GUI. Is there a command for the CLI that I can implement in the bash script? I have searched quite a bit, but can not find such a command. Code: omxplayer Song_...
Vandal
5

votes
0

answer
629

Views

Omxplayer cuts off roughly the last second of sound

I am using Omxplayer to play a sound file stored as .MP3 The issue I am facing is that on sound files with duration > 1 second, but < 10 appear to have the end (roughly a second) of the file cut off abruptly as if the track had finished. I am unsure what could be causing this issue as Omxplayer thro...
Aphire
8

votes
0

answer
1.5k

Views

Using go.dbus with omxplayer on Raspberry Pi

I am trying to using the D-Bus interface on omxplayer in order to control the running video. I'm attempting this using the go.dbus library found here: https://github.com/guelfey/go.dbus The omxplayer documentation provides a dbuscontrol.sh script that I can use successfully. It sets some environm...
Majormjr
2

votes
0

answer
676

Views

Run omxplayer “Always on top” from java code

I have RaspberryPi2 (1GB RAM version) with Raspbian OS. I need to execute Omxplayer for play video. If i execute new process, Omxplayer is on a background. I need Omxplayer always on top. How to do it? Omxplayer has not switch to stay on top as for example mplayer (-ontop). I found (https://askubunt...
t0m
2

votes
1

answer
84

Views

Do not show Desktop between 2 videos

I´m working with OMXPlayer on Raspberry. Right now I have a loop(with Python2.7) to show videos and it works correctly. But I have two problems: 1. When one video is finished, the Desktop will be shown for one second. And I don't want it. How can I change quickly to another video without showing th...
Milad
2

votes
0

answer
128

Views

Dockerode : run omxplayer command

I'm struggling to run a container using dockerode. I have the following command which runs perfectly when entered at the command line docker run -it --rm --device /dev/vchiq:/dev/vchiq -v /media/storage:/storage video -o hdmi -p storage/tr01/TR01.mp4 but when I run for inside dockerode it exits imme...
prime
2

votes
1

answer
794

Views

Raspberry pi omxplayer wrapper + Gpio

Omxplayer crashes after pushbuttons I like to change movies with pushbuttons and this is code that I have so far but Omxplayer crashes after few pushbutton are push! I am new to raspberry pi and python been looking for a fix but cannot find any. Any help is welcome. The error I get is: Traceback (m...
user2213386
2

votes
0

answer
509

Views

Multiple instances on DBus

I'm trying to control via DBus multiple instances of omxplayer. This is the code I currently use to control the application: QDBusConnection *m_dbus = new QDBusConnection(QDBusConnection::sessionBus()); m_dbus->connectToBus("/tmp/omxplayerdbus.root", "org.mpris.MediaPlayer2.omxplayer"); // ... QStri...
Mark
3

votes
1

answer
447

Views

Playing a local file on RPi with Node.js

I have a Raspberry Pi set up with a Node.js app that responds when it sees button push from an Amazon Dash Button. It was originally supposed to be a silent doorbell from https://github.com/initialstate/silent-doorbell, but I would like to just have it play a local sound file. Which I think should b...
Erik