Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [omxplayer]

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

0
votes
1answer
136 views

slideshow (png+mp4) and faster boot

I have rpi zero w as my photo frame project. It is an raspberry pi zero w + spi display 320x480 (via framebuffer) and raspbian lite (no X11) I am using FBI to display images in slideshow manner, and ...
0
votes
1answer
144 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.
1
vote
1answer
156 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
1answer
3k 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 ...
1
vote
1answer
42 views

Play a defined set of MP3's on defined days

am new to Python and have been struggling to create a workable script for a friends project - am hoping someone can point me in the right direction! The script is to control playback of mp3 files ...
1
vote
0answers
35 views

Best way to sync OMXPlayer video with audio stream?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
0
votes
1answer
320 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
1k views

Omxplayer failing on Raspberry pi 3 with Jessie OS

On my Raspberry Pi 2 running Wheezy, I have a php if statement that if true echo exec('/usr/bin/X11/omxplayer -o local --win "0 0 1680 1080" /var/www/xxx/thisvideo.mp4 > /dev/null 2>/dev/null');...
0
votes
1answer
580 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
1k 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
1answer
157 views

Omxplayer doesn't play videos when OpenGL enabled

Today I setup my new RPI3 B+ with raspbian stretch as a desktop (OpenGL enabled 128 mem split). I use RPIs for some time as servers but not as desktop. I tried to play video (with avc codec) with ...
2
votes
0answers
18 views

on omxplayer how to change left/right arrow to seek 10 seconds instead of 30 seconds?

Is there any way to modify the arrow keys to seek to different time-jumps? I'd rather have 10 seconds and 60 seconds jumps instead of the default 30 seconds and 600 seconds.
3
votes
2answers
984 views

How to transcode an mkv video to mp4 using gstreamer and omg?

I have noticed that gstreamer1.0 on Raspbian comes with the omx plugins: pi@pi ~ $ gst-inspect-1.0 | grep omx omx: omxh264enc: OpenMAX H.264 Video Encoder omx: omxvc1dec: OpenMAX ...
0
votes
0answers
133 views

How to stream m3u8 link on raspberry pi?

I have raspberry pi 3 and tried to play m3u8 link using omxplayer directly but that didn't work. pi@raspberrypi:~ $ omxplayer 'http://somesitename/tv/m3u8.php?channel=Discovery_HD&quality=900' ...
2
votes
1answer
28 views

Limit to number of videos that can be selected via buttons in kiosk?

I'll try to make this brief initially, in hopes that someone knows off the bat that there is some limit in omxplayer that I'm hitting. If not, I can post the code and more details about what I've ...
0
votes
1answer
47 views

omxplayer wont run on raspian lite (Pi 2 Model B)

I am trying to build a display which loops 1 video for a museum using an old Pi 2. I am using Raspbian Lite (4.14.79-v7+), because I want to eventually set up the SD card to be read only as I know it ...
0
votes
0answers
103 views

omxplayer - get a url and load in browser window

Bit of a beginner here, so would appreciate all the help I can get. Setting up an electron project and one of its features will allow me to watch live streams. In electron, I can load a URL into a ...
0
votes
0answers
24 views

Omxplayer how to stream video to external react frontend

So the videos are on the pi, we have a react frontend on my local machine connecting to the flask backend which is on the pi. I need a way to get the video from the pi displaying on the website ...
1
vote
1answer
415 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
1answer
808 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
0answers
131 views

Display slideshow of Images and Videos over SSH

Device: 3 B Plus I am trying to create a slideshow of videos / images. The user can select which files he wants to put in the slideshow and this will be shown on a TV. (As an addition, I would also ...
5
votes
2answers
7k views

How to view videos played on omxplayer via ssh or vnc?

Currently whenever I play a video omxplayer starts playing it. But I cannot actually see the video being played. For example I run the following command to play it. omxplayer video.mp4 How do I make ...
4
votes
3answers
19k views

omxplayer video position and dimension

I'm trying to use omxplayer to play a movie file having the movie display placed a certain position and with a custom size. I was hoping this parameter would work --win "x1 y1 x2 y2" Set ...
0
votes
5answers
3k 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
4k 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
60 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 ...
4
votes
3answers
17k views

How to play mp3 on background from command line

The command: omxplayer -o local sample.mp3 works fine - sound is good - but I have to wait for return until the music stops. I want to put this in a backround. I run: omxplayer -o local sample.mp3 ...
1
vote
1answer
2k views

play video on raspberry pi depending on serial input from arduino

my project is done and working as i want but there there is a bit of delay between transition of two videos arduino sends char "a,b,c,d" to raspberry pi serially. depending on the char received the ...
0
votes
1answer
211 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
298 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 ...
0
votes
1answer
283 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
1k 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
1answer
550 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
3k 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
1answer
104 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
0answers
255 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
86 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
0answers
639 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/...
0
votes
1answer
519 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
129 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
1answer
240 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 ...
1
vote
2answers
7k 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 ...
4
votes
1answer
2k 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 ...
2
votes
1answer
495 views

Cross-compile OMXPlayer

I would like to cross-compile OMXPlayer, ultimately so that I can implement playlist support for personal use. Don't bother telling me that that is an unrealistic goal. Perhaps I can help out with the ...
1
vote
1answer
1k 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/...
2
votes
0answers
588 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
247 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 ...
2
votes
0answers
966 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
580 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.
1
vote
1answer
539 views

I get only choppy audio and no video using omxplayer on Raspbian Jessie

I'm trying to play an file720.mkv file to hdmi with omxplayer but I'm getting only choppy audio with no video. omxplayer -g -o hdmi file.720p.HDTV.x264.mkv omxplayer -version omxplayer - ...