0

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 fingers and cannot find anything definitive. I have managed to get time display on-screen to "work" after fiddling with stuff in /boot, but I'm not sure if it was that, part of an "apt upgrade", or something else that restored the feature I've come to love. I also cannot find any documentation on this anywhere. One thing I've noticed is that this feature seems to have vanished from ALL of my Raspberry Pi's omxplayers sometime around two years ago.

I found one reference to on screen time elapsed display in a function in the code on github, but it wasn't well documented, and I'm not sure I can find even that again. I'd sure like to know how to turn on "display elapsed time and total time of video when paused" for omxplayer.

Regards

1
  • This may have something to do with enabling "fkms" in /boot/config.txt. i.e.: [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2
    – captain
    May 16 at 23:22
0

I think that I have finally solved this, just moments after having given up and asked. :-p

Apparently enabling "fkms" in /boot/config.txt. i.e.:

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

BREAKS ON SCREEN TIME DISPLAY! I commented out those lines, and added a gpu_mem=128 to the end of that file, rebooted, and now I have on-screen time-elapsed:total-time displaying during pause! I hope this helps someone else, probably me when I forget again, in the future. Whew! FWIW, this is on a Raspberry Pi 3. Now, to try to solve the same problem as showing up on Raspberry Pi 4 machines too. (same solution?)

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.