Well, thumbs-up again and best of luck. I reached the same conclusion with VLC -- with two cameras switched to VLC it was taking up 70% of my feeble CPU. FFMPEG was much better, but always caused smudging. I implemented work arounds and then finally switched to the native RTP/RTSP player that start working well for me in an almost miraculous fashion (never worked for me before, same version)lowprofile wrote:Season 1 episode 9.
Due to the high load on the server caused by libvlc I resolved to get ffmpeg working (it simply didn't). Given that *buntu 14 uses libav I thought I'd look into that.
Checked OPT_FFMPEG and set PATH_FFMPEG to /usr/bin/avconv.
Set remote method to RTP/RTSP because I heard that enforces a TCP connection.
Set WATCH_CHECK_INTERVAL and WATCH_MAX_DELAY to higher values
Created 2 monitors for each camera, a low res one on MODECT linked to a high res one set to NODECT (using the cameras high and low res streams respectively) so the image processing is done at 704 x 480 but the 1280 x 720 images get saved during an alarm as well.
No image distortion, and the cpu load from ZM is under 10%. The wait begins......
Terminating, last frame sent time 1430120263.528179 secs
Re: Terminating, last frame sent time 1430120263.528179 secs
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
-
- Posts: 19
- Joined: Mon Apr 27, 2015 8:01 am
Re: Terminating, last frame sent time 1430120263.528179 secs
..oh well, I suppose it makes a change!
2015-05-08 15:17:01.586927 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:17:01.375753 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:17:01.371984 zmf 6195 ERR Only read 219224 bytes of 222498 zmf.cpp 267
2015-05-08 15:17:01.368067 zma_m1 6201 ERR Incomplete frame write: 219264 of 222538 bytes written zm_event.cpp 333
2015-05-08 15:16:58.349341 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:58.203011 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:58.197527 zmf 6195 ERR Only read 219224 bytes of 222470 zmf.cpp 267
2015-05-08 15:16:58.189097 zma_m1 6201 ERR Incomplete frame write: 219264 of 222510 bytes written zm_event.cpp 333
2015-05-08 15:16:55.586190 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:55.374937 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:55.371109 zmf 6195 ERR Only read 219224 bytes of 222845 zmf.cpp 267
2015-05-08 15:16:55.365237 zma_m1 6201 ERR Incomplete frame write: 219264 of 222885 bytes written zm_event.cpp 333
2015-05-08 15:16:54.982733 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:54.763037 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:54.761705 zmf 6195 ERR Only read 219224 bytes of 221958 zmf.cpp 267
2015-05-08 15:16:54.759032 zma_m1 6201 ERR Incomplete frame write: 219264 of 221998 bytes written zm_event.cpp 333
2015-05-08 15:16:54.565076 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:54.380880 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:54.375923 zmf 6195 ERR Only read 219224 bytes of 221171 zmf.cpp 267
2015-05-08 15:16:54.371973 zma_m1 6201 ERR Incomplete frame write: 219264 of 221211 bytes written zm_event.cpp 333
2015-05-08 15:16:53.572472 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:53.388655 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:53.384440 zmf 6195 ERR Only read 219224 bytes of 220706 zmf.cpp 267
2015-05-08 15:16:53.377551 zma_m1 6201 ERR Incomplete frame write: 219264 of 220746 bytes written zm_event.cpp 333
2015-05-08 15:16:50.144808 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:49.989480 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:49.986711 zmf 6195 ERR Only read 219224 bytes of 224630 zmf.cpp 267
2015-05-08 15:16:49.979109 zma_m1 6201 ERR Incomplete frame write: 219264 of 224670 bytes written zm_event.cpp 333
2015-05-08 15:17:01.586927 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:17:01.375753 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:17:01.371984 zmf 6195 ERR Only read 219224 bytes of 222498 zmf.cpp 267
2015-05-08 15:17:01.368067 zma_m1 6201 ERR Incomplete frame write: 219264 of 222538 bytes written zm_event.cpp 333
2015-05-08 15:16:58.349341 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:58.203011 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:58.197527 zmf 6195 ERR Only read 219224 bytes of 222470 zmf.cpp 267
2015-05-08 15:16:58.189097 zma_m1 6201 ERR Incomplete frame write: 219264 of 222510 bytes written zm_event.cpp 333
2015-05-08 15:16:55.586190 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:55.374937 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:55.371109 zmf 6195 ERR Only read 219224 bytes of 222845 zmf.cpp 267
2015-05-08 15:16:55.365237 zma_m1 6201 ERR Incomplete frame write: 219264 of 222885 bytes written zm_event.cpp 333
2015-05-08 15:16:54.982733 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:54.763037 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:54.761705 zmf 6195 ERR Only read 219224 bytes of 221958 zmf.cpp 267
2015-05-08 15:16:54.759032 zma_m1 6201 ERR Incomplete frame write: 219264 of 221998 bytes written zm_event.cpp 333
2015-05-08 15:16:54.565076 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:54.380880 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:54.375923 zmf 6195 ERR Only read 219224 bytes of 221171 zmf.cpp 267
2015-05-08 15:16:54.371973 zma_m1 6201 ERR Incomplete frame write: 219264 of 221211 bytes written zm_event.cpp 333
2015-05-08 15:16:53.572472 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:53.388655 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:53.384440 zmf 6195 ERR Only read 219224 bytes of 220706 zmf.cpp 267
2015-05-08 15:16:53.377551 zma_m1 6201 ERR Incomplete frame write: 219264 of 220746 bytes written zm_event.cpp 333
2015-05-08 15:16:50.144808 zmf 6195 INF Frame server socket open, awaiting images zmf.cpp 86
2015-05-08 15:16:49.989480 zmf 6195 WAR Socket closed at remote end zmf.cpp 274
2015-05-08 15:16:49.986711 zmf 6195 ERR Only read 219224 bytes of 224630 zmf.cpp 267
2015-05-08 15:16:49.979109 zma_m1 6201 ERR Incomplete frame write: 219264 of 224670 bytes written zm_event.cpp 333
-
- Posts: 19
- Joined: Mon Apr 27, 2015 8:01 am
Re: Terminating, last frame sent time 1430120263.528179 secs
I did try setting it up using the native rtsp 'remote', and I could indeed get it to work - however the logs were filling up pretty quickly (every 30th frame - odd):
2015-05-08 16:06:03.398631 zmc_m4 15226 ERR Error while decoding frame 421 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:06:00.414303 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 6c 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:06:00.409947 zmc_m4 15226 ERR Error while decoding frame 391 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:57.452026 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 6a 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:57.418140 zmc_m4 15226 ERR Error while decoding frame 361 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:54.414208 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 68 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:54.407779 zmc_m4 15226 ERR Error while decoding frame 331 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:51.412298 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 66 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:51.406918 zmc_m4 15226 ERR Error while decoding frame 301 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:48.411366 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 64 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:48.406953 zmc_m4 15226 ERR Error while decoding frame 271 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:45.413467 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 62 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:45.401653 zmc_m4 15226 ERR Error while decoding frame 241 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:42.427710 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 60 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:42.422831 zmc_m4 15226 ERR Error while decoding frame 211 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:39.416439 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 5e 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:39.409747 zmc_m4 15226 ERR Error while decoding frame 181 zm_remote_camera_rtsp.cpp 302
It seems that each of the three methods by which I can connect to my cameras has its own characteristic log-spamming mechanism
2015-05-08 16:06:03.398631 zmc_m4 15226 ERR Error while decoding frame 421 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:06:00.414303 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 6c 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:06:00.409947 zmc_m4 15226 ERR Error while decoding frame 391 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:57.452026 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 6a 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:57.418140 zmc_m4 15226 ERR Error while decoding frame 361 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:54.414208 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 68 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:54.407779 zmc_m4 15226 ERR Error while decoding frame 331 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:51.412298 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 66 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:51.406918 zmc_m4 15226 ERR Error while decoding frame 301 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:48.411366 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 64 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:48.406953 zmc_m4 15226 ERR Error while decoding frame 271 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:45.413467 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 62 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:45.401653 zmc_m4 15226 ERR Error while decoding frame 241 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:42.427710 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 60 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:42.422831 zmc_m4 15226 ERR Error while decoding frame 211 zm_remote_camera_rtsp.cpp 302
2015-05-08 16:05:39.416439 zmc_m4 15226 ERR 8: 00 00 01 06 e5 01 5e 80 zm_remote_camera_rtsp.cpp 303
2015-05-08 16:05:39.409747 zmc_m4 15226 ERR Error while decoding frame 181 zm_remote_camera_rtsp.cpp 302
It seems that each of the three methods by which I can connect to my cameras has its own characteristic log-spamming mechanism
-
- Posts: 19
- Joined: Mon Apr 27, 2015 8:01 am
Re: Terminating, last frame sent time 1430120263.528179 secs
OK - so the error I get when using 'remote' is caused by I frame - I set the interval to 10 and the FPS to 10 and the error occurs every 100 frames now. I thought that I frame interval was in frames - obviously it's seconds.