Ubuntu 14.04.1 and zm 1.27.1 issues

Forum for questions and support relating to the 1.27.x releases only.
mythedoff
Posts: 25
Joined: Sat Dec 04, 2010 5:21 pm

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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.
ThomasNovin
Posts: 29
Joined: Fri Jun 12, 2009 11:36 am

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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?
sogood007
Posts: 25
Joined: Tue Oct 26, 2004 6:53 pm

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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)
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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
sogood007
Posts: 25
Joined: Tue Oct 26, 2004 6:53 pm

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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 7858 times
There is a Options field in the new 1.27 Source setup.
pdharg
Posts: 23
Joined: Fri Feb 14, 2014 1:14 pm

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post by pdharg »

Suggest you start over with this:
Thanks, bbunge, for a greate installation summary, a few things I had missed.
pdharg
Posts: 23
Joined: Fri Feb 14, 2014 1:14 pm

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
littlej
Posts: 68
Joined: Sun Oct 18, 2009 11:46 am

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Post 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
Locked