Page 2 of 2

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Aug 19, 2014 9:48 pm
by mythedoff
For my Foscam FI9821W that I had running in a virtual machine, I used libvlc but had problems simillar to what you describe. The problem ended after lowering the Bit rate to 512k in the camera settings. I kept the 720P resolution but lowered the Frame rate to 10. Maybe worth a try.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Wed Aug 20, 2014 8:21 pm
by ThomasNovin
Aug 20 22:20:07 stik zms[668]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
I also get this error. I can see a crash in the log and I don't get any recorded alarm.

Aug 20 22:20:10 stik zma_m1[498]: INF [Monitor-1: 749 - Gone into alarm state]
Aug 20 22:20:10 stik zma_m1[498]: INF [Monitor-1: 749 - Opening new event 36667, alarm start]
Aug 20 22:20:13 stik zma_m1[498]: INF [Monitor-1: 759 - Gone into alert state]
Aug 20 22:20:15 stik zma_m1[498]: INF [Monitor-1: 784 - Left alarm state (36667) - 60(10) images]
Aug 20 22:20:15 stik zma_m1[498]: INF [Monitor-1: 784 - Closing event 36667, alarm end]
Aug 20 22:20:15 stik zms[668]: INF [Got signal 15 (Terminated), exiting]

Anyone knows what this is about?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Wed Aug 20, 2014 11:36 pm
by sogood007
Jonny wrote:Yes, I installed the new version two days ago and works great!
But with rstp hd cam lite bit stuttering on modect i alarm gones on. i have e8400 i my server is powerful enough for 1 hd cam and low res cam.
Yesterday I installed the latest version (1.27.99+1) and seems that is working fine, except for a RTSP camera, that is hanging after 10 seconds watching live video with an already reported.
Can you that not fix with ''?tcp'' add to your stream url. I have no problems with hanging.
For me the ?tcp trick no longer work, instead I need to add the rtsp_transport=tcp as the option field instead.
rtsp_transport=tcp

After that, thing seems works very reliable to me (even better than before 1.26.5) In 1.26.5, I occasionally get red screen and I need to restart the stream by (save the config once again)

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Thu Aug 21, 2014 2:33 pm
by iitywygms
sogood007 wrote:
Jonny wrote:Yes, I installed the new version two days ago and works great!
But with rstp hd cam lite bit stuttering on modect i alarm gones on. i have e8400 i my server is powerful enough for 1 hd cam and low res cam.
Yesterday I installed the latest version (1.27.99+1) and seems that is working fine, except for a RTSP camera, that is hanging after 10 seconds watching live video with an already reported.
Can you that not fix with ''?tcp'' add to your stream url. I have no problems with hanging.
For me the ?tcp trick no longer work, instead I need to add the rtsp_transport=tcp as the option field instead.
rtsp_transport=tcp

After that, thing seems works very reliable to me (even better than before 1.26.5) In 1.26.5, I occasionally get red screen and I need to restart the stream by (save the config once again)
Did you put that at the end like of the path like ?tcp
I tried to add that option to the end of my path but then the camera will not connect.

Works
rtsp://user:pswd@xxx.xxx.x.x:443/videoMain?tcp

No connect
rtsp://user:pswd@xxx.xxx.x.x:443/videoMain?rtsp_transport=tcp

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Thu Aug 21, 2014 3:05 pm
by sogood007
iitywygms wrote:
Did you put that at the end like of the path like ?tcp
I tried to add that option to the end of my path but then the camera will not connect.

Works
rtsp://user:pswd@xxx.xxx.x.x:443/videoMain?tcp

No connect
rtsp://user:pswd@xxx.xxx.x.x:443/videoMain?rtsp_transport=tcp
snapshot1.png
snapshot1.png (9.96 KiB) Viewed 8507 times
There is a Options field in the new 1.27 Source setup.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Aug 22, 2014 5:12 pm
by pdharg
Suggest you start over with this:
Thanks, bbunge, for a greate installation summary, a few things I had missed.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Aug 22, 2014 5:17 pm
by pdharg
For my Foscam FI9821W that I had running in a virtual machine, I used libvlc but had problems simillar to what you describe. The problem ended after lowering the Bit rate to 512k in the camera settings. I kept the 720P resolution but lowered the Frame rate to 10. Maybe worth a try.
Thanks, mythedoff, worked a treat. Any tips for control?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Aug 22, 2014 5:21 pm
by knight-of-ni
pdharg wrote:
For my Foscam FI9821W that I had running in a virtual machine, I used libvlc but had problems simillar to what you describe. The problem ended after lowering the Bit rate to 512k in the camera settings. I kept the 720P resolution but lowered the Frame rate to 10. Maybe worth a try.
Thanks, mythedoff, worked a treat. Any tips for control?
http://www.zoneminder.com/forums/viewto ... =9&t=21266

UPDATE: If my memory serves correctly, I already added the ptz control script for this camera to zoneminder. No need to add it manually.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Sep 12, 2014 8:37 am
by littlej
Hi, i have installed ubuntu + zoneminder like specified a few posts back under vmware

I have a Foscam FI9818W and in vlc i can see the stream at rtsp://user:pass@ip:88/videoMain

if i set it up as ffmpeg it works ok at full resolution 1280x720 but i cannot set it as libvlc i get the following warning / error from zms :

WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results
ERR Terminating, last frame sent time 1410510419.222144 secs more than maximum of 10.000000

Does anyone have any ideea how to solve this ?

Thanks