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.

12
votes
6answers
29k views

How can I quit omxplayer in full screen?

I wanted to play video file by doubling click on it by using omxplyaer. First time, I double-clicked on it, it asks me to choose an application to open the file. Since I cannot find omxplayer in ...
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
5answers
35k views

Is there any GUI mode for omxplayer?

Currently I have to use terminal for media control keys while playing any video via omxplayer. However I am setting up this for a friend and he is not that comfortable with terminal. Is there any ...
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 ...
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 ...
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 ...
4
votes
1answer
2k views

Video and audio out of sync when playing 1080p 60fps on Raspberry Pi 2

I have a 1080p @ 60fps mp4 video saved in a external USB HDD. I've tried playing it on Raspbian in my Pi 2 (the new one, 1 GB RAM, 1 GHz) with Omxplayer, but the audio and video are out of sync. The ...
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 ...
3
votes
1answer
2k views

How to make mp3 playlist with RPi 3

How I can make playlist with omxplayer or omxplayer-wrapper? What I mean playlist, is something that can play next .mp3/.wav file automatically. You know, something like in mp3 player.... or It would ...
3
votes
1answer
6k views

omxplayer alternative or subtitle support

Some general information about my Pi: It's a Pi3 Raspbian Jessie, latest updates as of 13th March 2016 The GPU has 256MB memory Situation: I am using the Raspberry Pi as a retro console (mainly ...
3
votes
1answer
4k views

How to synchronize multiple video displays?

I have 4 HDMI TVs, and I want to play 4 different individual videos (or even 4 different x-y segments/tiles of a single video) on these 4 HDMI TVs, in perfect synchronous with each other. I searched ...
3
votes
2answers
982 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 ...
2
votes
1answer
2k views

Choppy playback Kodi on Raspbian RPI2

I'm trying to setup Kodi on Raspbian to work as good as OSMC distribution. I have problem with video playback on default configuration. (no video, only sound) When I turn off hardware acceleration, ...
2
votes
1answer
6k views

How to install omxplayer on minimal distros?

Currently I'm using omxplayer on Raspbian to automatically play a folder of videos in loop after boot. It works great. The only problem is that it takes almost 90 seconds to boot and start to play ...
2
votes
1answer
297 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 ...
2
votes
1answer
103 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 ...
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 ...
2
votes
2answers
2k views

How to get a read-only Raspbian not to corrupt SD on power-loss

I need your help on this : How can I protect my read-only Raspian Raspberry pi not to corrupt SD card sectors ? Why does it ever happen and so frequently in my case ? (I did probably did something ...
2
votes
2answers
2k views

How to control omxplayer via LIRC?

After searching different forums for integrating omxplayer with LIRC, still I haven't found answers to my problem. I have successfully set up LIRC on my Raspberry Pi B+, and now I want to create a ...
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 ...
2
votes
1answer
799 views

Stuttering playback of certain .mp4's

This is actually a follow-up, same situation, but different problem from : Playing WMV with codec on OMXplayer I have Raspbian Jessie with the Adafruit Video Looper installed. It uses a special ...
2
votes
1answer
596 views

Sound glitch when playing video with Pi 3 and omxplayer

I am watching a video on my Raspberry Pi using omxplayer. But sometimes my TV audio output makes a hard sounding glitch, a ("ghrrr") sound randomly. Does somebody know how I can fix this? The video ...
2
votes
1answer
12k views

Install omxplayer on the commandline

OMXPlayer is a standalone commandline OMX player for the Raspberry PI. I cannot find it in the repository. How do I install it?
2
votes
1answer
442 views

omxplayer (sound) hangs

I did a simple alert script in bash. On my RPi nclistens on some port. When somebody (some other RPi or PC) sends a message to this port, nc finishes and omxplayer plays a sound. Then the loop repeats....
2
votes
1answer
2k views

How to play video files on Raspberry Pi using push buttons?

I have a Raspberry Pi Model B+ and I would like to play video files that are stored on a USB flash drive. Basically, I have three different push buttons connected to the GPIO pins of the Raspberry Pi ...
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 ...
2
votes
0answers
17 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.
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 ...
2
votes
0answers
963 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: ...
2
votes
0answers
236 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 ...
2
votes
0answers
494 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....
2
votes
0answers
2k views

Fixing comxaudio decode timeout

On omxplayer, if I play a file, it often works the first time, then if I press q and play it again, I get COMXAudio::Decode timeout This apparently has to do with insufficient memory being allocated ...
2
votes
0answers
357 views

OMXPlayer not exiting after playing mp3

I suddenly ran into this problem. My default OMXPlayer is not exiting ("hanging") after playing a .mp3 from the command line. The only way to exit is Ctrl Z, so I can't use any sort of loop function ...
2
votes
0answers
1k views

Internet TV streaming fails after 10 seconds with Omxplayer

I'm trying to see a internet television broadcast with my pi and omxplayer. The problem is that it loads the broadcast but after 10 seconds the broadcast will freeze. If I pause and then play again, ...
2
votes
2answers
2k views

Reconnect of multiple RTSP streams on omxplayer and screen

I am setting up multiple rtsp streams on rpi2. The rpi will act like surveillance station. After some research I've managed to do that, here is my script below: #!/bin/bash screen -dmS camera1 sh -c '...
1
vote
2answers
346 views

Access shell while music playing

I'm running the following python script to play playlists in my Music library on my ras-pi. import subprocess import random import sys from os import listdir files = [] for f in listdir("/home/pi/...
1
vote
2answers
3k views

omxplayer doesn't play audio when streaming

When I pass a link to omxplayer with youtube-dl it won't play the audio only the video. Where as playing it locally works as expected. It doesn't show the usual Audio codec ac3 channels 6 samplerate ...
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 ...
1
vote
1answer
495 views

omxplayer cannot play yuv444p?

I have encoded videos from image sequences with ffmpeg, some play in omxplayer, some don't. Looking at them with -I shows they use different pixel format, the one that works uses yuv420p, the one that ...
1
vote
1answer
699 views

omxplayer for i386?

I'm developing an application that runs and controls the omxplayer. I very much prefer to develop on my desktop machine, though. So I wonder if it is possible to install omxplayer for a regular ...
1
vote
1answer
2k views

Does omxplayer have a silent mode?

I am doing a little project which requires omxplayer on the Raspberry Pi to not output any information. I am wondering if omxplayer has a silent mode, like fswebcam does or if there is any way to ...
1
vote
2answers
763 views

Using flask to play videos

Currently, I have my pi hooked to the TV and I use it to play movies via ssh. While I love simplicity of tmux and ssh, people around me are not quite excited about it :) My plan is to have a web-...
1
vote
1answer
4k views

Executing a command via PHP

I currently have an Apache web server running on my Pi that has this as the index.php file: <?php if (isset($_GET['play'])) { exec('sudo omxplayer yes.m4a'); } ?> However, my ...
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/...
1
vote
1answer
727 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 ...
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 ...
1
vote
1answer
887 views

xscreensaver and omxplayer

I'm wondering if there is a way to make this two tools working together. I can make Xscreensaver to run omxplayer with some video when the time for screensaver to hit is on, but then I can't stop it......
1
vote
2answers
1k views

Omxplayer change volume when playing

I am trying to change volume. OMXPlayer is not using ALSA so it is not reacting. I am playing live radio stream and I want to change volume of it without stopping the radio. Is this possible? If yes, ...
1
vote
1answer
1k views

How to use a black screen in Python?

For a project I am working on right now, I need to play a number of videos that get triggered via GPIO. That part I got working with omxplayer, my question has to do with the transition to and from ...
1
vote
1answer
5k views

omxplayer seamless looping

I made a script to run video's with omxplayer using omxd: sudo service stop omxd sleep 0.5 sudo service start omxd sleep 0.5 omxd X omxd h omxd O --blank omxd O --no-osd VIDEOPATH='/home/pi/videos" ...