Skip to main content
Share Your Experience: Take the 2024 Developer Survey
6 votes

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

I responded on the GitHub ticket you filed. According to: apt-cache search libva there is no libva1 anymore but you can edit the script to replace it with libva2. This is sufficient to build ...
jdonald's user avatar
  • 2,914
6 votes

Start Python Script on Startup

As frequently stated here (and other places) rc.local has been deprecated in Linux, and it is not recommended for use. Numerous problems in the use of rc.local have been reported here; you should ...
Seamus's user avatar
  • 22.2k
5 votes
Accepted

How do I change OMXplayer's default volume?

If you are starting omxplayer from the command line you can use the --vol option to set the volume at start. $man omxplayer ... -b --vol n set initial volume in millibels (default ...
RubberStamp's user avatar
  • 1,409
4 votes

I can't get the OSD with omxplayer

Alternatively, install the package containing those fonts: sudo apt install -y fonts-freefont-ttf (Found by searching the list of font-related packages on debian.org) Note: For earlier versions of ...
Chris's user avatar
  • 181
4 votes
Accepted

RP4 omxplayer installation problem

Well I now installed the 32bit image on my raspberry pi 4 (Raspberry Pi Imager from official website) and the program is even pre-isntalled. I read in github that the omxplayer is not yet shipped to ...
Rafael's user avatar
  • 69
3 votes
Accepted

Does omxplayer have a silent mode?

You can pass the --no-osd flag. This tells omxplayer not to display status information on the screen. You can find info like this using the man command: man omxplayer This displays the man (manual)...
Steve Robillard's user avatar
3 votes
Accepted

omxplayer cannot play yuv444p?

The problem libx264 supports multiple "pixel formats", so ffmpeg will automatically attempt to use whatever most closely matches the input. However, some players can't decode anything other than yuv(...
llogan's user avatar
  • 213
3 votes

How to make mp3 playlist with RPi 3

Would a shell script be OK? for song in /path/to/*.mp3 do omxplayer "$song" done This will play all MP3 files in a directory. You can replace /path/to/*.mp3 with a list of ...
Dmitry Grigoryev's user avatar
3 votes

xscreensaver and omxplayer

Ok so there is virtually no info about how to successfully pair xscreensaver and omxplayer, so I took it as a challenge and came up with a workaround, that actually works. :D What needs to be done: ...
VladoPortos's user avatar
3 votes
Accepted

omxplayer for i386?

I don't think it would work. You still can develop on your i386 desktop and compile/deploy remotely via SSH. That would be the easiest way I can think of. If you really want it, you can setup a cross-...
kwasmich's user avatar
  • 2,702
3 votes
Accepted

omxplayer alternative or subtitle support

Kodi does a good job with most formats. You can install it using: sudo apt-get update sudo apt-get install kodi It has both hardware decoding and subtitle support.
goobering's user avatar
  • 10.7k
3 votes

How to install omxplayer on fedora arm 25

You have two choices in this kind of situation. You can try and build from source, which is sometimes wonderfully easy and sometimes plagued with problems; I don't recall doing it with omxplayer so ...
goldilocks's user avatar
  • 59.1k
3 votes

Python script does not continue after os.system command

for what it's worth or for others reading the question, you can solve this easily by using "&" in the call: replace os.system("omxplayer --aspect-mode stretch rtsp://Username:Password@IPaddress:...
pieterdp's user avatar
3 votes

How to I run OMXPlayer in windowed mode from Python?

Arguments given to Python's subprocess and friends are generally not allowed to have spaces. omx = run(["omxplayer", '--win', '1,1,500,400', videoPath]) The above should work. In this instance, ...
Chintalagiri Shashank's user avatar
3 votes

omxplayer works but fbdevsink doesn't -- any ideas?

It turns out this issue had to do with having called tvservice to change the screen resolution. Apparently after this is done a corresponding call needs to be made to fbset. So for example if I go ...
mpr's user avatar
  • 161
2 votes

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

To enable video output while using VNC you will need to do the following on older versions of VNC server on the Rasperry Pi. Open VNC Server>Options>Troubleshooting. Then make sure "enable ...
nikotime77's user avatar
2 votes

How can I quit omxplayer in full screen?

I just use the Alt+F4 to end the video.
Frank's user avatar
  • 21
2 votes

How can I play different videos at same time?

you can use omxplayer --layer n option where n means the priority. higher number means top layer. on first tab run omxplayer --layer 1 --win ..... and on second tab run omxplayer --layer 2 --win ........
Rubayet's user avatar
  • 21
2 votes

How to play mp3 on background from command line

Here's an alternative Open up a screen session using the command screen. Install it if you have to. Run omxplayer -o local sample.mp3 from there. Press Ctrl+A then press D to send the screen to the ...
Aloha's user avatar
  • 7,156
2 votes

How to play mp3 on background from command line

There should be a man page (man omxplayer); the options are also explained here. I do not see a "background" or "damonize" (similar concept) option there. This is probably because omxplayer was ...
goldilocks's user avatar
  • 59.1k
2 votes

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

Apparently, omxplayer does not support the *.mkv file I was trying to play. I played an *.mp4 file and it played beautifully. Disappointing that omxplayer doesn't support more formats. I also tried ...
deanresin's user avatar
  • 197
2 votes
Accepted

how to stream omxplayer remotely

You can do this with the RealVNC server which is installed by default in Raspbian. You simply enable it from the Raspberry Pi Configuration app, and you should see the VNC icon appear in the top right ...
Andrew Wedgbury's user avatar
2 votes

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

Late answer, but hopefully still useful: The problem is that omxplayer needs to be launched from within a terminal window, so that the keyboard input can be directed from the terminal to the player. ...
Dmitry Brant's user avatar
2 votes

How can I play an MP4 video on the Pi?

From a terminal window to play a video once - examples : omxplayer file.mp4 omxplayer /opt/vc/src/hello_pi/hello_video/test.h264 omxplayer /media/pi/4D4F-2594/TV/MaxHeadroom5War.m4v To loop a video ...
CoderMike's user avatar
  • 6,997
2 votes

Start omxplayer on startup with user input

This is linked to Auto-login into LXDE and auto-start video-player (omxplayer) which gives the answer: lxterminal -e "omxplayer -b --loop --no-osd /home/pi/Videos/MyVideoFile.mp4" This has always ...
user3790789's user avatar
2 votes

Show multiple HD streams at once on raspberry pi?

Im no expert but I know the Pis network bandwidth isn't super duper, so I'm assuming you'd get away fine with one HD to start from each Pi, then the more videos you cram for a single Pi to render, you'...
mrSidX's user avatar
  • 608
2 votes
Accepted

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

I found the solution. For others with a similar problem, here is how you should fix it: Instead of using player.stdin.write("left arrow") You should use player.stdin.write("^[[D") Here are ...
Arthur Geel's user avatar
2 votes

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

Provided the CPU can handle it, you need to replace the ";" between the commands with a "&" - this will put the first job in the background and immediately execute the second.
nettings's user avatar
1 vote

How to make mp3 playlist with RPi 3

Try with mkpl (make_playlist) command line tools: cd myalbum mkpl myalbum.m3u or order by name cd myalbum mkpl -o myalbum.m3u If you have affinity with python code, also with python scripts: from ...
onetohobi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible