Making progress. No longer do we get a crash but the resulting mkv is invalid. Suspect its the encoding stage from the image buffer
Merge branch 'release-1.26' of https://github.com/chriswiggins/ZoneMinder into release-1.26