1

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 nothing appears. I tried pausing through dBus and terminal. Neither shows any OSD.

I'm using

omxplayer --blank "$video"

to start videos within a screen.

Videos play perfectly fine other than missing OSD.

3

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 Raspbian, the package name was different:

sudo apt install -y ttf-freefont
0

I usually use omxplayer wrapped in a script. When I ran it naked I saw the error message "Error: Unable to open font". A little search and I found omxplayer uses these fonts for the OSD..

/usr/share/fonts/truetype/freefont/FreeSans.ttf

/usr/share/fonts/truetype/freefont/FreeSansOblique.ttf

I downloaded the ttf from the web then..

sudo mkdir /usr/share/fonts/truetype/freefont && chmod 755 freefont sudo cp /path/to/font/ttf/files /usr/share/fonts/truetype/freefont chmod 644 /usr/share/fonts/truetype/freefont/*

then to load them without rebooting..

fc-cache

I restarted omxplayer and it worked!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.