Questions tagged [omxplayer]

1

votes
0

answer
280

Views

Is there a minimal TV GUI for youtube-dl & omxplayer on the Raspberry Pi?

Here's my issue: My Raspberry Pi boots to console (Raspbian) and does the following: - Checks a small Youtube-DL script for new updates to a playlist. If so, it pulls the video and copies it to a folder. After the video is saved, OMXPlayer plays that video from command line and it works perfectly (...
Curiously
1

votes
0

answer
131

Views

Cant run more than 3 OMXplayer Multiple Streams

Using a raspberry pi I'm using omxplayer to play 3 screens of IP cameras. When I add the 4th, the screen goes blank and we have to start over. GPU mem is set to 512. And log says that there is over 700mb GPU remaining. So what do I do?
swg1cor14
1

votes
1

answer
98

Views

GPIO combine with OMX Player to play different videos when triggered

I have a simple project where I want to combine a motion sensor to play certain video files. So normally in an infinitive loop I want to play a flickering video and if the motion sensor is triggered I want to stop the flickering video and select a scary one. See the following code. import RPi.GPIO a...
riasc
1

votes
0

answer
28

Views

How many instances of omxplayer are possible with 1xFHD and 2-3 smaller videos being played at same time?

I'd like to have the following setup: Background video in seamless loop preload x videos and keep them paused or in memory until needed x dependent on videos in certain folder (create library) trigger video based on filename by a serial command (2x 1byte) keep background video running (FHD or 720p,...
Rappelbox
1

votes
1

answer
32

Views

Trying to sync LEDs and Videos using Omxplayer - getting omxplayer.bin errors & other issues

I am a newbie with Python 3 and I have been working on code that will play 4 different videos when one of the five assigned buttons is pressed, and 3 of the videos have timed blinking of LEDs using time.sleep(). I have all the timing working well; however I can not get one video to play/blink LEDs...
Katyman
1

votes
1

answer
493

Views

Raspberry Pi Omxplayer OpenCV

Hi i am trying the improve myself and i am interested with Raspberry Pi. I want to develop a student project with raspberry pi, raspberry pi camera and tft screen. It includes, when raspi cam detect a face, display one movie and while not detect any face display other movie. i wrote a code like belo...
oğuzhan karabulut
1

votes
1

answer
213

Views

Swipe gestures like mx player

I want horizontal swipe gestures to control media player seek like mx player. I have tried gesture detector but didn't work like mx player. Any kind of help will be highly appreciated. This is the class with gesture detector and scale gesture detector. With gesture detector horizontal scroll i cant...
user8324061
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