Questions tagged [omxplayer]

Omxplayer is a video player specifically made for the Raspberry Pi's GPU.

Omxplayer is a command-line media player made by Edgar Hucek from the XBMC project. It has built in support for streaming RTMP and RTSP.

GitHub Project

103 questions
1
vote
0 answers

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,682
  • 6
  • 25
  • 46
1
vote
0 answers

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…
Curiously
  • 361
  • 3
  • 9
1
vote
1 answer

Desktop GPU encoding using gstreamer in WINDOWS

I have developed the gstreamer GPU encoding on Nvidia Jetson Tx2. but now i am trying for Desktop Nvidia GPU encoding using gstreamer. I am not able get "omxh264enc" in the listed supported elements using "gst-inspect-1.0.exe". so, i want to do…
1
vote
1 answer

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…
1
vote
0 answers

Task scheduler for python jobs

I have one main function which I want execute with different arguments. It's function which play video on raspberry pi using omxplayer. I would like to use scheduler which let me to plan executing of specific task, they should define time when task…
Bart
  • 21
  • 2
1
vote
1 answer

Python 3 Subprocess.stdin.write does not work | omxplayer class

For one of my projects, I need a way to create a custom Media Player class. to fo that I create a simple class that calls omxplayer with the given url and writes to the stdin letters like 'p' to pause, 'q' to quit... and so on Here is my code import…
No Braves Studio
  • 151
  • 1
  • 2
  • 12
1
vote
2 answers

Fire events at specific timestamps during video playback

I'm using a Raspberry Pi 3 running Raspbian. I need to play a video file via HDMI, and I need events to be fired at specific timecodes during the playback of the video. The events are simple write operations to the GPIO. My problem is : what…
Simon
  • 140
  • 1
  • 1
  • 12
1
vote
0 answers

omxplayer wrapper not working in open CV

I am new to python coding & I am trying to run omxplayer wrapper in openCV. omxplayer wrapper working fine outside CV. Sample code : from omxplayer import OMXPlayer from time import sleep file_path_or_url='rtsp://..' IPCamera path …
1
vote
1 answer

ProcessBuilder in Java on Raspberry Pi 3 not showing error/input stream for omxplayer

I am doing a little program in Java on a Raspberry pi 3 Jessie, and I am trying to use omxplayer to play a sound from inside the java program. I have the following code: ProcessBuilder p = new ProcessBuilder("omxplayer",…
Mtrompe
  • 351
  • 5
  • 15
1
vote
1 answer

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…
1
vote
1 answer

omxplayer dbus controls stops working when project is exported

I made a project recently on my raspberry to read a 4 byte signal coming from TCP/IP protocol and play the adequate video depending on the signal (0001, 0002, 0101 or 0102). I have 2 problems with that : 1- The code works fine when executed manually…
Maxor4
  • 11
  • 2
1
vote
1 answer

Send a character to subprocess.Popen

I'm trying to control omxplayer on the command line on my rpi3 using a python script, I call subprocess.Popen and to control it (eg. play/pause, increase/decrease volume, etc..) I should write a character to stdin (eg. p, +/-, etc..), the character…
kknickkk
  • 29
  • 4
1
vote
0 answers

omxPlayer playing HLS stream, volume doesn't change immediately in RaspberryPi

In raspbian jessie i am using omxplayer to play a HLS stream from command line. when it plays video, any volume command given from keyboard/remote doesn't execute immediately rather it updates volume at the end of every .ts stream chunk i.e after…
rubayet.R
  • 113
  • 1
  • 9
1
vote
1 answer

python how to kill a popen process, shell false [why not working with standard methods]

I'm trying to kill a subprocess started with: playing_long = Popen(["omxplayer", "/music.mp3"], stdout=subprocess.PIPE) and after a while pid = playing_long.pid playing_long.terminate() os.kill(pid,0) playing_long.kill() Which doesn't…
GWorking
  • 4,011
  • 10
  • 49
  • 90
0
votes
0 answers

Raspberry Pi OMX Player 'layer' function not working on Bullseye install

I have recently updated an old (Pre Bullseye) Raspberry Pi video based project environment from P3b, Python 2.7, Buster to Pi4, Python 3.9, Bullseye. All went well and I am now running as expected on the new platform with one 'deal breaker'…
LKGUK
  • 1
  • 2