Hi, nice to be here...
Please, if you can help me, i dont know where i make a mistake...
zm 1.30.4 debian9 install from https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
cpu j3455, gpu gt630 (for future hwaccels) - ffmpeg compiled properly,
i want only to record/view rstp steam without any analyse...
rstp in vlc working properly, so i belive cam is ok
jpeg/mpeg problem
jpeg/mpeg problem
Last edited by bartekn86 on Fri Sep 01, 2017 2:19 pm, edited 3 times in total.
Re: jpeg/mpeg problem
really, i must be stupid...... cam is a h264 1,3mp 25fps
Re: jpeg/mpeg problem
nph-zms path is correctly IMO.... really dont have any idea why it is dont to work...
- Attachments
-
- 8.png (48.36 KiB) Viewed 4579 times
Re: jpeg/mpeg problem
My new advice on zms is:
Check your apache's access.log, and see what URL is being tried for nph-zms, and whether it's 200 or 404.
Check your apache's access.log, and see what URL is being tried for nph-zms, and whether it's 200 or 404.
Re: jpeg/mpeg problem
thanks for replay... i change zms_patch in /etc/zm/ from
#ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin/
ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin/nph-zms
acces log now show...
192.168.1.2 - - [01/Sep/2017:20:59:34 +0200] "GET /usr/lib/zoneminder/cgi-bin/nph-zms?mode=jpeg&scale=&maxfps=30&buffer=1000&monitor=1&connkey=224995 HTTP/1.1" 404 527 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "GET /usr/lib/zoneminder/cgi-bin/nph-zms?mode=jpeg&scale=&maxfps=30&buffer=1000&monitor=1&connkey=224995 HTTP/1.1" 404 528 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "POST /zm/index.php HTTP/1.1" 200 328 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "POST /zm/index.php HTTP/1.1" 200 328 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:00:07 +0200] "GET /zm/index.php HTTP/1.1" 200 2733 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:01:08 +0200] "GET /zm/index.php HTTP/1.1" 200 2733 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:02:09 +0200] "GET /zm/index.php HTTP/1.1" 200 2735 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:03:11 +0200] "GET /zm/index.php HTTP/1.1" 200 2732 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:04:12 +0200] "GET /zm/index.php HTTP/1.1" 200 2732 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:05:13 +0200] "GET /zm/index.php HTTP/1.1" 200 2734 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:06:14 +0200] "GET /zm/index.php HTTP/1.1" 200 2734 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
404... but why ?
#ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin/
ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin/nph-zms
acces log now show...
192.168.1.2 - - [01/Sep/2017:20:59:34 +0200] "GET /usr/lib/zoneminder/cgi-bin/nph-zms?mode=jpeg&scale=&maxfps=30&buffer=1000&monitor=1&connkey=224995 HTTP/1.1" 404 527 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "GET /usr/lib/zoneminder/cgi-bin/nph-zms?mode=jpeg&scale=&maxfps=30&buffer=1000&monitor=1&connkey=224995 HTTP/1.1" 404 528 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "POST /zm/index.php HTTP/1.1" 200 328 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:20:59:35 +0200] "POST /zm/index.php HTTP/1.1" 200 328 "http://192.168.1.250/zm/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:00:07 +0200] "GET /zm/index.php HTTP/1.1" 200 2733 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:01:08 +0200] "GET /zm/index.php HTTP/1.1" 200 2733 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:02:09 +0200] "GET /zm/index.php HTTP/1.1" 200 2735 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:03:11 +0200] "GET /zm/index.php HTTP/1.1" 200 2732 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:04:12 +0200] "GET /zm/index.php HTTP/1.1" 200 2732 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:05:13 +0200] "GET /zm/index.php HTTP/1.1" 200 2734 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
192.168.1.2 - - [01/Sep/2017:21:06:14 +0200] "GET /zm/index.php HTTP/1.1" 200 2734 "http://192.168.1.250/zm/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
404... but why ?
Re: jpeg/mpeg problem
You should not need to compile ffmpeg if you used the WIKI install instructions.
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
Camera resolution in Zoneminder does not match camera output. Use VLC (Tools, Media Information, Codec) to check camera Display Resolution.
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
Camera resolution in Zoneminder does not match camera output. Use VLC (Tools, Media Information, Codec) to check camera Display Resolution.
Re: jpeg/mpeg problem
If you're getting a 404 on nph-zms, it means that what ZM is telling the browser to retrieve is a URL that Apache doesn't convert into a path to your actual cgi directory; that means that either your apache config or, more likely, your PATHS->ZMS_PATH aren't what they're supposed to me.
Since your GET includes the "real" path of the zms file, I think you've misunderstood what's supposed to go in ZMS_PATH, which is a *URL* path -- what it looks like outside the webserver -- not the filesystem path -- what apache converts it to.
Since your GET includes the "real" path of the zms file, I think you've misunderstood what's supposed to go in ZMS_PATH, which is a *URL* path -- what it looks like outside the webserver -- not the filesystem path -- what apache converts it to.
Re: jpeg/mpeg problem
thanks for replay
resolution match, camera added by onwif function. Windows have tool caled onvif device menager, im sure that you know it, and, res is the same 1280x960bbunge wrote: ↑Sat Sep 02, 2017 1:36 am You should not need to compile ffmpeg if you used the WIKI install instructions.
ive compiled ffmpeg to use hwaccels
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
Camera resolution in Zoneminder does not match camera output. Use VLC (Tools, Media Information, Codec) to check camera Display Resolution.
Re: jpeg/mpeg problem
thanks for advice.. changed zms_patch to /cgi-bin/nph-zms ... in the end I have an image )))) are you able to help me with error /tmp/zm ? folder existBaylink wrote: ↑Sat Sep 02, 2017 2:07 am If you're getting a 404 on nph-zms, it means that what ZM is telling the browser to retrieve is a URL that Apache doesn't convert into a path to your actual cgi directory; that means that either your apache config or, more likely, your PATHS->ZMS_PATH aren't what they're supposed to me.
Since your GET includes the "real" path of the zms file, I think you've misunderstood what's supposed to go in ZMS_PATH, which is a *URL* path -- what it looks like outside the webserver -- not the filesystem path -- what apache converts it to.