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
0
votes
0 answers

How to Send Hotkeys via SSH to OMXPlayer with JSch?

I want to be able to play a video on my Raspberry Pi and control it from my phone. After looking into this I decided to use a SSH connection and then play a video from a link using OMXPlayer. At first I used a session.openChannel("exec"); channel…
Dan13_
  • 193
  • 1
  • 2
  • 16
0
votes
1 answer

Raspberry Pi: Playing multiple video files in mkfifo pipe

I have 2 files, test.mp4 and test2.mp4 that I want to play concurrently with no noticeable break in the middle. Currently I'm using mkfifo test cat test.mp4 > test & cat test2.mp4 > test & omxplayer test However, when I do this, omxplayer just…
user3246167
  • 129
  • 1
  • 15
0
votes
1 answer

Stream Video from Raspberry Pi to my Webpage

I want to live stream the video captured on my SJ 4000 Camera. The Camera is Connected to my Rpi by Wi-Fi and the stream is available using the following address: rtsp://192.168.1.254/sjcam.mov Now, I want to watch this stream in my webpage by…
velu4689
  • 35
  • 1
  • 6
0
votes
1 answer

Passing song name to omxplayer in python

I'm passing a song name to a function and can't manage to construct the path for omxplayer def PlayMusic(song): #check if the process exists is_pid = subprocess.call("pidof omxplayer.bin > /dev/null", shell=True) if is_pid == 0: return…
tamus
  • 53
  • 1
  • 1
  • 9
0
votes
3 answers

How can I kill omxplayer player on a Raspberry Pi using Python

I'm doing a DIY project using a Raspberry Pi 3 where I need to play 4 videos using omxplayer. Each video is played once you press a certain button on the protoboard: Press Button 1 - Play Video 1 Press Button 2 - Play Video 2 Press Button 3 - Play…
Iker
  • 2,018
  • 2
  • 29
  • 52
0
votes
1 answer

OMXPLAYER pause seek for 6secs with --live

When i use the live parameter in my command line like this : omxplayer -o hdmi http://www.example.com/video.mp4 --live If I press "p" the video is paused but seek +6s. I doesn't have the problem when i doesn't use the live parameter. Thanks.
J.Doe
  • 9
  • 1
0
votes
1 answer

PID number mismatch

I spawn a process in Python with the following code (just the relevant code): ... _LAUNCH_CMD = '/usr/bin/omxplayer -s --vol %s %s %s' ... cmd = self._LAUNCH_CMD % (volume, args, file) ... self._process = pexpect.spawn(cmd, timeout=5) It always…
Tibor Balogh
  • 27
  • 1
  • 7
0
votes
1 answer

Terminal not clearing after auto start bashscript in raspbian wheezy

I'm using a raspberry pi 2 to show all the video's in a folder. The raspberry automatically boots up (with a generic electric timer) in to console (not the gui) and after it boots it runs a bashscript I found here. This bashscript contains an…
0
votes
2 answers

Python + TKinter + OMXPlayer window on top

I own a raspberry pi 2 and i start learning Python. I would like to do something very basic : the window of my Python program on top of omxplayer window like a notification system. I have been able to make an "always on top" window with TKinter but…
user3546553
  • 63
  • 10
0
votes
0 answers

Module Object is not Callable, using a PIR Sensor

I'm trying to build a Motion Detected play video for my store as a Welcome Introduction, so I'm using a PIR Sensor connected to the raspberry, and here is my code: import RPi.GPIO as GPIO import time import os import…
0
votes
2 answers

how to quit omxplayer without using terminal?

I have made an application launcher using Tkinter for the raspberry pi.I made the application launcher to start automatically after x loads by placing @/usr/bin/sudo /home/pi/myscript.py inside /etc/xdg/lxsession/LXDE-pi/autostart. And for launching…
Akshay
  • 463
  • 6
  • 15
0
votes
1 answer

Killing or stopping an active thread

I've come a long way and I'm almost there. I've converted from using Thread to Threading and can now switch videos mid-play, but I still am having trouble killing or stopping the first video. Basically, I'm making a video player controlled by…
jmcclaire
  • 175
  • 3
  • 4
  • 16
-1
votes
2 answers

On raspberry my script breaking after looping some time when there was no input stream

On raspberry my script breaking after looping some time when there was no input stream #! /bin/sh clear echo -n "Box ID: " ; sudo cat /proc/cpuinfo | grep Serial | cut -d ' ' -f 2 sleep 2 ping -c1 -s1 www.google.com pingStatus=$? if […
1 2 3 4 5 6
7