Update: I built a test package of ZoneMinder git master against MariaDB. This version supports my mjpeg USB webcam, so I have been able to test the full functionality. No problems :)