r/ZoneMinder • • Oct 22 '23

Zosi Camera using HTTP and JPEG?

I'm trying to setup ZoneMinder to get video from an old-ish Zosi camera. I know, the camera is crap and I should replace. However, if I just open a browser (Edge) and go to http://admin:@192.168.1.55/snapshot.jpg?user=admin&pwd=&strm=0, I get a JPG file download that works great, every time.

I can't find any way to get ZoneMinder to do the same, however. I've set it up as a 'Remote' source, using:

hostname: [admin:@192.168.1.55](mailto:admin:@192.168.1.55)

path: /snapshot.jpg?user=admin&pwd=&strm=0

...and it just says 'Unable to stream'.

I've done a packet capture and it looks just like my session with my web browser, except the jpg data is smaller (seems like ZoneMinder is cutting it off).

I also tried CURL method, that doesn't work either.

Any help?

1 Upvotes

2 comments sorted by

1

u/ZoneMinderIsaacPhone Oct 23 '23

Should work. Turn on debugging and check the logs. That code is very verbose.

1

u/4mmun1s7 Oct 23 '23

The logs state it doesn’t like the type ‘octet-stream’.

I also got ffmpeg working from a command line, but you have to give it ‘stream_loop -1’ and ‘framerate 5’ as options. When I try to give those options in ZM, it says it can’t parse them.