I made a docker image for this: Built a docker image to allow casting generic security camera streams into chromecast devices