omxplayer FIFO control is broken
I found this bug report from Aug 6, 2019 which suggests using something like dbuscontrol.sh to control omxplayer. I'll have to switch to that in videofe, although using the C interface would be even better. I can find no solution to the broken FIFO problem as of yet.
The solution, after some testing, is to use a modified version of dbuscontrol.sh. The original has some tests for files that don't exist and are not created by omxplayer (they are probably artifacts of Raspbian or a wrapper around omxplayer.bin) but those files aren't actually needed for my use case. So I can simplify the script and then call it from the player.c where I'm currently using the FIFO.
I'll need to rip out the FIFO stuff and replace it with calling the shell script.
Updated by Hammel about 4 years ago
- Priority changed from Normal to Immediate
- % Done changed from 0 to 30
- Severity changed from 03 - Medium to 01 - Critical
I've updated the code, which was easier than I thought - most of the changes go into msgPlayer() with a few checks to make sure that will work in main(). Code compiles. Now it needs testing on the kiosk.