Displaying a .h264 file/stream as a camera?

I have a kkmoon 1116h dvr that currently records to a shared folder on my HASSIO system.
The file extension is .h264. Is there a way to display this stream as a camera?

Does this device allow stream of video to LAN? Most DVR have this function. Have you verified this in settings or maybe check using nmap in Linux command line from another PC.


nmap <dvr_IP>

That should check most common stream ports of DVR (like 554) for available service

I found script for use FFMPEG to convert video file to stream. This was for Cast recordings to Chromecast but can also use for camera in HA. I will see if i can find and repost.

I don’t think direct video file playback is possible in HA but would be great. Maybe display DVR web UI in iframe or in sidebar possible?

Read this post. Has script I talk about and someone made docker image to do same

https://community.home-assistant.io/t/live-stream-from-an-amcrest-camera-to-a-chromecast-enabled-tv