How to install omxplayer on ubuntu?
— OMXPlayer should be used with the fake KMS driver on Ubuntu Core, make sure to have "dtoverlay=vc4-fkms-v3d,cma-256" in .
Since there is no pre-made package for amd64 or i386, you'll have to either install from source or find some emulator capable of running binaries made for an architecture it is compiled for.
Theoretically, this is as easy as following the directions on the github site for OMXplayer:
Oops, that hits an error due to the assumed cross-compilation for an ARM chipset. I tweaked the Makefile to omit the arm-linux-gnueabihf inclusion as well as the vchiq_arm library and it was then able to see that I already had ffmpeg installed (so this phase is done). If this were the only hurdle, you could just skip this step rather than altering the Makefile.
Here you get a fatal error:
/home/dc4 is a hard-coded path. I haven't dug in to see if that's part of some jail it builds for cross-compilation, but the cross-compilation is extremely integral to the design of this code base and it looks like it'd be a major effort to port it to another architecture like amd64 or i386.
There's a similar question on raspberrypi.SE (asked by this question's bounty provider?!) whose accepted answer agrees with my conclusion that this is not possible and additionally states:
meta-raspberrypi is available here https://github.com/martiert/meta-raspberrypi.
Learn some basics of OE Then begin your work.
To be simple in my existing project, I tried it and I'm successful.
After setting the configuration, run the make called "omxplayer."
Otherwise, if you're not good enough in "OE," just try to understand BB file called "OMXPlayer."
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-multimedia/omxplayer/omxplayer_git.bb?h=master
And try to cross-compile individually by checking dependencies.
ADDITION If you're unfamiliar with open-embedded Go for BUildroot Its an more easy then OE.
git clone https://github.com/nezticle/RaspberryPi-BuildRoot.git
cd RaspberryPi-BuildRoot
make raspberrypi_defconfig
make menuconfig
here Location: │ │ -> Package Selection for the target │ │ -> Raspberry Pi
Here, OMXPlayer will be enabled.
1 answer" — You can install it easily as superuser: sudo su. First you need install required dependencies: apt-get install libpcre3 fonts-freefont-ttf. Optionally you can install ."How to install omxplayer on minimal distros? - Raspberry Pi ."21 Jun 2015"RP4 omxplayer installation problem - Raspberry Pi Stack ."29 Jul 2020"How to solve the problem "Unable to locate package libva1 ."25 Jul 2019"Cross-compile OMXPlayer - Raspberry Pi Stack Exchange"13 Dec 2015"More results from raspberrypi.stackexchange.com