Questions tagged [omxplayer]
Omxplayer is a video player specifically made for the Raspberry Pi's GPU.
148 questions
0
votes
0
answers
67
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 ...
1
vote
0
answers
176
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-...
1
vote
0
answers
2k
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 ...
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/...
1
vote
0
answers
101
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 ...
1
vote
0
answers
198
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 ...
0
votes
3
answers
223
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 ...
1
vote
1
answer
234
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 ...
0
votes
1
answer
233
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 ...
1
vote
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. ...
0
votes
0
answers
312
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 ...
1
vote
1
answer
143
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 ...
1
vote
0
answers
1k
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 ...
2
votes
4
answers
6k
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 ...
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 ...
1
vote
0
answers
77
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. ...
0
votes
0
answers
253
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 ...
0
votes
1
answer
745
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 ...
1
vote
1
answer
320
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 ...
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 ...
1
vote
1
answer
91
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 "...
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>
...
2
votes
1
answer
810
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 ...
1
vote
0
answers
102
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 ...
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 ...
1
vote
0
answers
199
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 (...
0
votes
1
answer
399
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 ...
0
votes
0
answers
322
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 ...
0
votes
1
answer
354
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 ...
0
votes
0
answers
665
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?
1
vote
1
answer
662
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 ...
0
votes
1
answer
367
views
OMXPLAYER - display subtitle language
Is it possible to display on OSD the subtitle language or the subtitle filename of a video?
Thanks
0
votes
1
answer
521
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 ...
1
vote
1
answer
587
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 ...
1
vote
0
answers
410
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'...
2
votes
0
answers
399
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 !...
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/...
1
vote
1
answer
397
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 ...
0
votes
2
answers
177
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 ...
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 ...
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
0
votes
0
answers
752
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 ...
1
vote
0
answers
145
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 ...
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@...
1
vote
0
answers
514
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 ...
1
vote
1
answer
123
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 ...
2
votes
0
answers
148
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
1
answer
85
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
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 ...
0
votes
1
answer
863
views
omxplayer wont run on raspbian lite (Pi 2 Model B)
I am trying to build a display for a museum which loops 1 video 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 ...