Page 1 of 1

Question about format of "source - file device"

Posted: Sun Oct 18, 2009 5:55 am
by lixiaoquan
If I config zoneminder to get video from a file , what format should the file be?

Does a jpeg file work?

Posted: Sun Oct 18, 2009 11:10 pm
by zoneminder
It has to be a path to a jpeg image only.

Posted: Mon Nov 09, 2009 9:52 pm
by chika_nidza
Hi!

This seems like a really interesting feature, but I'm not sure I got it right... ZM takes a jpeg image as it's source right? That means that it should be able to display whatever jpeg I put on the source path??

I can't manage to make it work :( Could someone give me a little hint please?

This is my configuration
ZM: 1.24.1
Source Type: File
Function: Monitor
Source path: /home/chika_nidza/test.jpg
Capture Width: 350
Capture Height: 240

When I try to see the monitor, nothing happens (only a black screen).

Anyone uses this feature? Thanks in advance for your advice!!!

Posted: Wed Nov 11, 2009 9:27 am
by chika_nidza
Ok, I got it to work. If anyone has the same problem - it seems that the problem was that image width/heigth didn't match the image resolution. After changing that and restarting ZM (maybe not necessary, but the monitor didn't show any image before I did that) everything works great!