Skip to main content

Questions tagged [omxplayer]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Raspberry Pi 4: "omxplayer -o both" produces bad quality audio from jack but HDMI audio is fine

I'm using OMX Player to play a video stream sent to a Raspberry Pi 4 Model B (4GB) powered by a 20W / 3.0A Anker USB C plug. (Based on this project.) The code I'm using to launch OMX Player and route ...
Paul Freeman-Powell's user avatar
1 vote
0 answers
154 views

Playing random Videos with omxplayer (PIR) [closed]

I am trying to do the following: I connected a PIR-Sensor to my raspberry pi to detect motion. If there is motion detected my pi should play random videos from the folder "videos" (about 20-...
marc's user avatar
  • 11
1 vote
1 answer
103 views

Raspberry Pi Signage using omxplayer and LXDE-pi with RTMP, delay for WiFi connectivity

I am using several Raspberry Pi 3B+ around this company. I have these Pi’s configured to automatically start playing an RTMP stream using omxplayer. I did this by adding the following to /etc/xdg/...
matthiasvd's user avatar
1 vote
0 answers
1k views

Splash video for 64-bit Raspian (alternative to omxplayer)

I have RPi Zero 2 with 64-bit Bullseye installed. I am using it for a kiosk application. I want to play an intro (splash video) during boot. The tutorials I read use omxplayer. But when I run the ...
Mustafa's user avatar
  • 11
2 votes
2 answers
8k views

omxplayer repository package for bullseye

I'm trying to get a hardware accelerated playback of H264 videos, e.g. the Big Buck Bunny sample. I have deb http://archive.raspberrypi.org/debian/ bullseye main deb http://raspbian.raspberrypi.org/...
Dmitry Grigoryev's user avatar
1 vote
0 answers
94 views

Getting omxplayer to play through a HiFiBerry DAC

First, I know a thing or two about the Pi, but the audio system is still a complete mystery to me, so please be patient with my ignorance. After installation of a HiFiBerry DAC, omxplayer does not ...
Wes Modes's user avatar
  • 121
1 vote
0 answers
187 views

Custom Boot Animation/Video

Is it possible to make a custom boot animation with VLC player like you used to be able to with omxplayer? I've tried omxplayer as I did years ago but it looks like it's now being phased out and isn't ...
charliehoward's user avatar
0 votes
3 answers
197 views

omxplayer runs at startup - unable to close it

I've got myself in a spot of bother on my PI4. I set up omxplayer to play a video on repeat at startup not realizing that I wouldn't be able to interact with it - meaning I cannot close it. I've tried ...
user140577's user avatar
1 vote
1 answer
214 views

launch OmxPlayer from ssh in loop, will close when ssh disconnect

I'm quite new to raspberry, all I need to do is to play a video in loop from a local ssh connection. These are my step: start the Pi in Cli (so no x server but command line) with network open my ...
Luigi Sorbilli's user avatar
0 votes
1 answer
221 views

Omxplayer not always starting with rc.local

I have trouble with my Raspberry Pi 4B configuration. I prepared RPI to work with TV - it turns on the TV and switches active source to HDMI1 with cec-client. After turning on the TV it should start ...
GrumpyDogue's user avatar
0 votes
1 answer
2k views

Play an audio stream (internet radio) and start again automatically after Wi-Fi reconnects

I have a working Python script that streams an internet radio station with Omxplayer. The script restarts Omxplayer if Omxplayer stops, such as when the internet signal is lost and reconnects. ...
scenography's user avatar
0 votes
0 answers
290 views

omxplayer silent mode no-osd

sorry for the stupid question, I have to use Raspberry for a video installation but don't know a thing about. I do'nt want the osd, I read here that i have to write --no-osd somehow but I use Terminal ...
Samuel's user avatar
  • 1
1 vote
1 answer
125 views

omxplayer - how to force elapsed-time:total-time display during pause

I want videos played via omxplayer to display elapsed-time:total-time on screen when paused, and then go back to just showing the video when playing. I have "searched" until I'm blue in the ...
captain's user avatar
  • 31
1 vote
0 answers
999 views

Raspberry Pi Audio - Can not get 5.1 Surround Sound Audio to output to HDMI

I have an applications where I need to do the following on a Raspberry Pi (3, 4, and/or Zero) running the latest version of Raspberry Pi OS: Play an AC3 file with 5.1 audio over HDMI. Play an MP3 or ...
Mark Stevens's user avatar
2 votes
4 answers
4k views

Start Python Script on Startup

I am having trouble getting what seems like a simple task to work. I have created a Python file that I want to begin on startup. I have followed the steps for rc.local and init.d found here. To test ...
Scott Goss's user avatar
3 votes
0 answers
1k views

Mimic omxplayer behavior with VLC

I'm trying to mimic the behavior of omxplayer file.mp4 --loop using VLC since omxplayer is going to be deprecated soon. The use case is a splash screen on an environment without X. The closest ...
Bil5's user avatar
  • 131
1 vote
0 answers
70 views

No audio from omxplayer when running mp4 from shell script

On PI 4 I can run a video from terminal : $ omxplayer -o alsa video.mp4 audio is ok. When I add this exact line in a bash file it plays the video but no sound. I have tried all variations of -o. ...
RANDY LEWIS's user avatar
0 votes
0 answers
238 views

Is it possible to do an OSD image over displaycameras

I found a video on how to use displaycameras to show rtsp feeds of my companies camera system but they now want a Logo on the bottom center of the screen. Is it possible to do an OSD over the camera ...
user128053's user avatar
1 vote
1 answer
681 views

Send GPIO trigger(s) at specific video timecode(s)?

Just starting out in the wonderful world of RPi maker projects, scored a Model 2b v.1.1, installed the latest Raspbian and now ready for my first project :-) What I want to build is a video player for ...
iGadget's user avatar
  • 11
1 vote
1 answer
295 views

PIR Sensor activated video

I've attempted to modify this script here, but instead of for 4 video outputs, to only 2. I'm pretty new to programming a pi and am trying to wrap this up for an gallery project. Here is my current ...
Scott Goss's user avatar
2 votes
4 answers
12k views

RP4 omxplayer installation problem

I'm trying to install omxplayer on raspberry pi 4 (Debian Buster x64) but I'm having so much trouble and can't install it. First of all I tried: apt update apt install omxplayer And had the following ...
Rafael's user avatar
  • 69
1 vote
1 answer
90 views

OMXPlayer cookie for streaming

I am trying to use OMXPlayer to request a stream from a URL, looking at the --cookie flag that is provided with OMXPlayer, I have tried doing something like this: omxplayer -o hdmi --cookie "...
Nexxus's user avatar
  • 11
2 votes
0 answers
1k views

Ending a Raspberry Pi Slideshow with fbi

I've made a digital picture frame using Raspbian booting to the command line interface. I invoke a slideshow with the following command after logging in with SSH with my mac: ssh pi@<IPaddress> ...
PiPiPi3's user avatar
  • 21
2 votes
1 answer
794 views

How to pause Python script until video clip has finished playing

a bit of background info on what I am running: I have a Raspberry Pi which is listening to serial communication from a Wemos D1. When it receives a message it will play the relevant video file. When ...
Matt's user avatar
  • 21
1 vote
0 answers
96 views

Raspberry pi 3+b Raspbian buster lite mp4 boot video

I am new to the raspberry world and i'm trying to have a video play on startup early on instead of the boot/text that usually shows. I have tried with info from old videos and guides but this hasn't ...
Giddy's user avatar
  • 11
1 vote
1 answer
4k views

Raspberry Pi 4B fast boot (buildroot) with support for hardware accelerated video playback

Dear community, since weeks I am trying to build my own buildroot linux image for the Raspberry Pi 4 (Model B with 2GB) that meets the following requirements... Requirements: Hardware accelerated ...
pinmanu's user avatar
  • 29
1 vote
0 answers
185 views

omxplayer accelerates all video playbacks after upgrade to Buster

RPi lovers. Running Buster on an RPi3, which I just upgraded to from Raspbian Stretch. My omxplayer used to work fine right before the upgrade, and now after the upgrade if I try to play a video file (...
Gustavo Lucena Gómez's user avatar
0 votes
1 answer
387 views

Omxplayer green flicker when orientation set to 90 or 270

I have a video in 1080x1920 resolution that I want to display vertically in my 1920x1080 monitor. sudo omxplayer video1.mp4 Outputs the video in full screen normally (stretched but that was expected ...
Panagiotis Iatrou's user avatar
0 votes
0 answers
315 views

OMXPlayer Stops Looping

I am using the following command to loop a video with omxplayer: sudo omxplayer --no-keys --no-osd -o both --loop --aspect-mode fill '/root/video.mp4' & However after between 22-24 hours the ...
Nick Carlton's user avatar
0 votes
1 answer
339 views

OMXPlayer returns "Aborted"

Previously the omxplayer is working fine, until I resized the boot partition (because I run out of sdcard and windows cannot read ext partition), and the omxplayer no longer plays anything. The system ...
Smankusors's user avatar
0 votes
0 answers
651 views

Omxplayer play duration

The Omxplayer -s repeatedly shows the elapsed time of the playing video (on the command line), showing the final duration when the video ends. How can I assign those times to a variable?
teeseetwo's user avatar
1 vote
1 answer
652 views

Omxplayer live RTSP / ffmpeg record

I have a problem on my rpi 3 b+, when i record the screen using this ffmpeg -f x11grab -r 30 -s cif -i :0.0 /tmp/out.mpg it was able to record it properly but when omxplayer plays RTSP. it doesn't ...
user114131's user avatar
0 votes
1 answer
357 views

OMXPLAYER - display subtitle language

Is it possible to display on OSD the subtitle language or the subtitle filename of a video? Thanks
Erebus's user avatar
  • 1
0 votes
1 answer
493 views

Draw something over omxplayer

I am playing a video with OMXPlayer in fullscreen mode. What I want to do is to draw something. I want to see my video by transparency. I have tried with pygame, but I cannot see both videos and ...
Bob5421's user avatar
  • 107
1 vote
1 answer
568 views

Video player for Raspberry Pi 1/2/3/4

My project, unfortunately, was affected by the release of the raspberry 4 and buster. My script shows on my clients' tv advertising videos with subtitles resized and positioned ad hoc and with a fixed ...
Jax2171's user avatar
  • 11
1 vote
0 answers
380 views

Is there a way to stop Pyaudio and omxplayer from printing info

I am trying to create an application which uses wakeword with snowboy and speech recognition using the speechRecognition library in Python. When I start my scripts, when say I my wake-word - 'Python'...
Ashutosh Tiwari's user avatar
2 votes
0 answers
398 views

Gstreamer OMX encoder doesn't accept parameters?

I'm trying to use Gstreamer 1.0 to send a USB webcam feed over RTMP. I have the following working pipeline that uses the OMX h264 encoder on a Raspberry Pi: gst-launch-1.0 v4l2src device=/dev/video0 !...
Nick's user avatar
  • 121
1 vote
2 answers
2k views

How to play two videos from the terminal (loop, fullscreen), dual screen on the raspberry pi 4b?

i'm a PiNoob :) who can help me? How can I play two videos (in sync) on the raspberry pi 4b? I'm using omx player. I need to combine the following lines: omxplayer --display=2 --loop /home/pi/...
Sjoerd Mol's user avatar
1 vote
1 answer
380 views

Creating a "video black" gap between videos

Is it possible to play a series of video files without showing the desktop or console between each video? I would be fine with simply displaying a black screen for a split second. I do see that there ...
moorej's user avatar
  • 165
0 votes
2 answers
174 views

Ultrasonic Sensor + omxplayer block CPU

Thanks to the community i create a scrip that check status of 3 ultrasonic sensors and depending on the status omxplayer will play a movie or other. Problem is that after few while and video loops CPU ...
Victor Ram's user avatar
2 votes
2 answers
3k views

I can't get the OSD with omxplayer

I installed omxplayer on Raspbian Buster Lite (no Desktop, no Xserver) on an rpi3. On my previous builds when I paused a video I would get an OSD with the current runtime and time remaining. Now ...
deanresin's user avatar
  • 207
1 vote
2 answers
3k views

Play 2 videos on 2 hdmi displays with rpi 4

New raspberry has 2 hdmi connectors. Is it possible to play 2 different videos at the same time (one per screen) with a single raspberry ? Thanks
Bob5421's user avatar
  • 107
0 votes
0 answers
744 views

Send input commands to control omxplayer through netcat

So my question is about how to control omxplayer remotely using netcat (nc) or simple TCP. Do I need to use named pipes and if so what are the commands needed. There are many way to accomplish what I ...
DarkXDroid's user avatar
1 vote
0 answers
143 views

When i play a wav file with sample rate 250000Hz with omxplayer, it seam that th omxplayer is hang up in some place

When i play a wav file with sample rate 250000Hz with omxplayer in my pi 3b+, it seems that the omxplayer is hang up in some place. i got the error log as below, can anybody explain the meaning of ...
Ming Ding's user avatar
  • 147
2 votes
1 answer
4k views

How to solve the problem "Unable to locate package libva1" when compile omxplayer in pi 3b+?

When i try to compile the Omxplayer in my raspberry 3b+, i just run the prepare script as the instructions from the README.md. But I got the following error. Can anybody explain this. Thanks. pi@...
Ming Ding's user avatar
  • 147
1 vote
0 answers
507 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 ...
Emved's user avatar
  • 41
1 vote
1 answer
119 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 ...
D_eM's user avatar
  • 11
2 votes
0 answers
143 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.
captain's user avatar
  • 31
2 votes
1 answer
82 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 ...
bgollands's user avatar
0 votes
1 answer
1k 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 ...
W. Smith's user avatar