I have a camera set up in zone minder that streams video in h.265 format. The camera is set up with a source type of "Ffmpeg" and a rtsp:// url. This all works as expected, I can view the camera live and it creates events, but when I download the event video (on my Mac) I can't play it in QuickTime Player. VLC plays the video fine, for what that is worth.
I have discovered that if I run the following command on the video, QuickTime Player can now play it without issue:
Code: Select all
ffmpeg -i 1439962-video.mp4 -c copy -tag:v hvc1 output.mp4
So my question is this: if zone minder is really using Ffmpeg to capture the stream, as the source type of "Ffmpeg" would seem to indicate, is there a way I can set it to automatically use the "-c copy -tag:v hvc1" options when capturing/saving the stream?
Note that this is for a single camera, the other cameras I have set up do not use h.265.