Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
22 views

omxplayer how to set video position to top right with out resizing it

I want to play the video of unknown dimensions on the top right corner of my LCD tv without scaling it. I wish --win -0 0 does that.
0
votes
0answers
52 views

Play the video in OMXPlayer similar to python-vlc or alternative way to play mp4 files

I am using the below function to detect whether there is an object/obstacle in front of the camera and play a video accordingly. The code below is called upon by another script which handles serial ...
0
votes
0answers
25 views

Omxplayer in Stretch Lite exit

I'm using Strech Lite to loop a video. Is there any method, if I use a loop video in .bashrc, to exit the video?
0
votes
1answer
35 views

EGL surface limitation size

I wanted to show text over omxplayer on fullHD screen, using separate EGL process. Test program works without omxplayer, but when omxplayer is playing, program shows 'EGL_NO_SURFACE' error. After ...
0
votes
1answer
36 views

Switch audio output not working

I'm using Raspbian Stretch Desktop for my Raspberry Pi 3B. I'm using a VGA screen with an HDMI to VGA adapter, so I want the jack to work as my main audio output. If I unplug the HDMI and reboot, the ...
2
votes
1answer
80 views

Is it possible to send 'left arrow' to the OMXPlayer console?

I'm building a MP3 player with physical buttons using a Raspberry Pi and Python. I'm using the subprocess library to allow simultaneous actions without blocking user input. I'm sending commands to ...
1
vote
1answer
75 views

Screenly install process

I recently got a Raspberry Pi, and I would like to use it as an advertising media player. My research led me to Screenly but now I want to know if I have install the OS first and repeat the same copy ...
0
votes
0answers
224 views

How to play .avi video?

I use this command to record a video: ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 out.avi Now. I have out.avi in my /home/pi directory. I then used the command to play the video: ...
0
votes
1answer
130 views

JavaFX and transparency

I'm working on a project who involve JavaFX and Omxplayer. On Windows, where I develop, my code works. I set my stage to stage.initStyle(StageStyle.TRANSPARENT); stage.setOpacity(0.5); On Windows, ...
0
votes
0answers
45 views

Omxplayer loop, sound off at evening on again morning

Is it possible to achieve this with omxplayer looping on a rPi? I want the Pi to pretty much be untouched looping a video on a screen with sound throughout the day, and mute the audio at evening and ...
0
votes
0answers
617 views

Omxplayer don't show video output of rtsp stream

i'm trying to play fullHD rtsp stream from IP camera on PI3 (OS raspbian). I tested stream url rtsp://uss:pss@192.168.200.74 with vlc and mplayer booth show video correctly. When omxplayer opening ...
0
votes
0answers
139 views

After sometime Pi hdmi screen blank while display screen by fbi and video by omxplayer serially

I am running fbi and omxplayer serially and after fbi statement sufficient sleep by calculating total files multiply by image screen ON time fbi statement fbi -autozoom -norandom -timeout $timeout -...
2
votes
1answer
63 views

omxplayer works but fbdevsink doesn't — any ideas?

I'm trying to output video content on the Pi without X11. I'd like to use tvservice to set the resolution settings then be able to run pipelines like this: gst-launch-1.0 videotestsrc ! videoconvert ...
0
votes
1answer
1k views

Can't get OMXPlayer to display video

I am watching a tutorial on YouTube and literally following everything that he is doing.... I have recorded a video and now trying to play it using the omxplayer When i go to play my video using the ...
0
votes
0answers
142 views

IP camera OMXplayer

I got an rtsp stream working for an IP camera and was wondering how I make it so it WONT display the date and time at the top of the video and the name of the camera in the bottom right corner of the ...
1
vote
0answers
54 views

Audio player for non profit [closed]

It's my first time posting here as i'm potentially looking to setup a raspberry pi audio player for a non profit event i'm working on this summer. The idea being that we are creating a sound room with ...
0
votes
1answer
404 views

OMXplayer play video with no sound and mp3 at 2/4 times the speed

Using a USB sound card, I'm trying to play mp3 files, with the default omxplayer. But although all other software works fine, omxplayer play my mp3 files at 2x speed, sometimes even 4 times. Is ...
1
vote
0answers
85 views

Omxplayer not playing nicely with PhatDAC

So I just installed a Phat DAC onto my Raspberry Pi3. While audio from Chromium is completely fine, the audio from omxplayer is messed up. When I try to play a video, the video plays much faster than ...
0
votes
0answers
42 views

omxplayer displays over sleep monitor

I am running live stream from ISS with omxplayer and so far it's working well. However after 15min, the raspberry goes into sleep mode and turns the screen off. Unfortunately the omxplayer stays on ...
0
votes
1answer
376 views

How to I run OMXPlayer in windowed mode from Python?

When I run this program in Python 3 it is working but the video is in full-screen. from subprocess import run videoPath = "/home/pi/video_3.h264" omx = run(["omxplayer",videoPath]) As soon as I add ...
1
vote
1answer
215 views

Show multiple HD streams at once on raspberry pi?

We have a situation where we have a large number of incoming HD video streams which we would like to monitor in a way similar to this wall of monitors each showing 16 channels. This can probably be ...
0
votes
0answers
352 views

OMXPLAYER Short / Small buffer lengths

I'm using OMXPLAYER to decode mpegts UDP streams, however the buffer length is just so long. Currently it's like 6 seconds and that too long to be useful to me, this is a realtime application ...
0
votes
0answers
417 views

freezing screen (random) omxplayer

I have several pi's (PI3, latest stable Jessie). They're all used to (only) play short mp4 pmovies in a loop, using omxplayer. Omxplayer is starting up with a short script (in /home/pi/.config/...
1
vote
1answer
583 views

how to run an http online radio with omxplayer in background?

I use omxplayer to stream a internet radio, but omxplayer is printing a whole lot of stats on the terminal, i want it fully in background. i tried redirecting the stdout and stderr with &> /dev/...
0
votes
1answer
211 views

omxplayer - running from command line is much longer than voice's length

On my Raspberry Pi 3 I got omxplayer which I am using to run mp3 file: omxplayer -o alsa /home/voice/7.mp3 With -i option I get this output: Input #0, mp3, from '/home/voice/7.mp3': Metadata: ...
0
votes
1answer
302 views

Start omxplayer on startup with user input

I am having trouble getting omxplayer to automatically play a video after a small delay after powerup, AND be able to use the keyboard controls. I am adding the omxplayer command to the /etc/rc.local ...
3
votes
2answers
2k views

How do I change OMXplayer's default volume?

The title pretty much says it all. I am using Ubuntu MATE, which uses ALSA instead of PulseAudio. OMXplayer bypasses ALSA. Because of this OMXplayer always starts playback at 100% volume, which is far ...
2
votes
0answers
419 views

ffmpeg slideshow on raspberry pi raspbian

I'm trying to make a slideshow video from few (in this case 3) .jpgs. To do this, I'm using ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4 and actually it works on ...
1
vote
0answers
172 views

How to make omxplayer not always on top?

I am using Adafruit's Video Looper to loop on a video using python script and omxplayer. Although, I made a few modifications. I want a popup window to appear when a GPIO button is pressed. I have ...
0
votes
0answers
268 views

Rasberry Pi 3 with NOOBS unable to reproduce mkv files with subtitle

I'm trying to use the Raspbery Pi 3 as my TV Player. (Like a Chromecast) I'm testing it with the Rick And Morty Season 3 (.mkv files). I've tried Kodi, VLC, TBOplayer, MPlayer and Gnome MPlayer. ...
2
votes
0answers
582 views

omxplayer ignores --fps option when playing h264 file

I made a video using the Raspberry Pi camera that came with a .h264 extension. I know that this file doesn't have the fps metadata associated with it. I found that playing it with omxplayer like this: ...
0
votes
1answer
217 views

run basic file explorer with fix file in raspbian jessie lite the os without gui,

I would like to run a File explorer or a simple GUI without running the whole desktop gui. I want to use my Raspberry Pi as a simple dvd player, which run files by omxplayer command. video will be ...
0
votes
1answer
438 views

How can I control the video height of OMXPlayer?

I installed OMXPlayer which plays well but sometimes the screen size is well beyond the default. Since controls are off screen when this occurs you can only reboot to solve the problem.
-2
votes
1answer
1k views

How can I play an MP4 video on the Pi?

Does anyone know the steps to play an MP4 video from a USB stick? When I insert the stick, I see the file on file manager but can't get it to play. I would like to set it up for looping with a ...
0
votes
1answer
453 views

start omxplayer with matchbox window manager

I have a RPI 3 with Raspbian Jessie, set up to boot in cli mode, autologin with user pi. I have installed matchbox window manager because it's lighter than lxde and I use only chromium and omxplayer. ...
0
votes
1answer
775 views

Play different videos with omxplayer depending on reported sonar distance

I am a new to Python. What I want to do is that playing different videos depends on distance using Ultrasonic sensor. For example, if the distance <= 20, play movie1. if the distance > 20, play ...
0
votes
0answers
833 views

Help with video play from within python using python-omxplayer-wrapper

I am creating a visual front end for a computer project. I have previously written some test code and can successfully play videos, loop a video and stop one and start the other to get a transition ...
1
vote
2answers
4k views

Python script does not continue after os.system command

First post and also first time experimenting with a PI & Python. I have a pi-3 model B with the 7" touchscreen and PIR sensor. My goal is to have it set up so that it constantly displays the ...
1
vote
1answer
537 views

Omxplayer video flashes to black screen when connected to projector

I'm using Tim Schwartz's Raspberry Pi Video Looper to turn my Pi 3 Model B into a simple video player. It works flawlessly connected to my Samsung HDTV over HDMI as well as my older Apple Cinema ...
0
votes
1answer
412 views

How to install omxplayer on fedora arm 25 [closed]

I'm using fedora arm 25 on raspberry pi 3, i want to install omxplayer, please help me.
3
votes
0answers
204 views

“at” command doesn't allow usage of lxterminal and other bash commands

I am very new to the raspberry Pi and try to make like a "alarm Clock" with my Raspberry Pi Model 3 B. For setting the song which it should play for a given time I use the "at" command. The problem ...
0
votes
0answers
1k views

need omxplayer python commands

I have made this omx player from this site; It works fine. It plays mp4 files via gpio and has a stop button via gpio also. I want to add commands to do pause/resume and maybe FF/Rewind. How do I add ...
5
votes
1answer
1k views

Cannot play videos

I have the latest version of Raspbian on the Pi 3. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux I have never been able to play a ...
0
votes
5answers
2k views

omxplayer won't play on boot

I have a python script that needs to run the omxplayer after the pi is finished booting on the latest version of Raspbian whit Pixel. I have tried the 3 different methods from the accepted answer ...
2
votes
2answers
3k views

Video is playing in omxplayer - now how do I control it?

I'm new to Pi and Linux. I'm running Raspian on a Pi3 and have managed to play a video from the file explorer by entering omxplayer in the command line option. Now my video is playing but I have no ...
0
votes
1answer
792 views

how to stream omxplayer remotely [closed]

I would like to play omxplayer in a service like VNC or RDP, etc.
0
votes
0answers
304 views

Custom media Player

Noob speaking I've been working on a project for a while now. I'm using a Rpi Zero W (yeah wifi!) for displaying content on a 9" screen. It will be placed at shops to show a video of a product. ...
2
votes
0answers
378 views

OMXplayer has no audio when run from shell script

When I run OMXplayer from a shell script ( called by PHP) the video output is ok, but no audio what so ever. If I run the OMXplayer from the commandline everything is ok. Both video and Audio are fine....
0
votes
1answer
768 views

Repeat the playing of an mp4 file

Using omxplayer I want to repeat the playing of a 2 minute mp4 file for about 30 minutes. I could do this by using a for-While loop, but there is about a half second display of the terminal between ...
0
votes
1answer
679 views

Omxplayer subtitle problem on RPi 3 with Ubuntu Mate OS

Like you can see from the title I have problems with subtitles in omxplayer. Basically there are 2 problems. First is that all non-english (like č, š, ž) letters are missing in subtitle text. Not ...