No video playback / new install / LevelOne FCS-5051

Forum for questions and support relating to the 1.24.x releases only.
Locked
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

Not sure what the problem is. I don't even know which questions to ask ... :)


I'm working on getting the first camera configured, a LevelOne FCS-5051 (outdoor day/night 2 megapixel).


Fresh Ubuntu 11.10 install. Hardware specs are very good.

This is the config I have set for the camera. Protocol RTSP, method RTP/unicast, host name 192.168.100.21, host port 554, path /h264, 24 bit color, width 1920, height 1080. Source type remote, function monitor, enabled checked, max FPS both set to 60, blend% the default 7.

The camera itself is set as follows
  • to stream 1080p H264 video at 12fps.
  • H264-1 and H264-2 GOV Length are 30, whatever that means (the default).
  • Compression is set to "8192kbps, low compression, highest quality"
  • It has two options unchecked by default, "enable H.264-1 CBR mode" and "enable H.264-2 CBR mode", whatever that means.
I can watch the video feed in-browser only with IE on another computer; I assume this is a browser plugin issue.

I can stream video to VLC on any machine, including the Zoneminder server, through rtsp://192.168.100.21/h264

I know the Zoneminder software is getting data streamed from the camera at 192.168.100.21 because iftop tells me so, to the tune of 500+ KB/s, which seems about right:

Code: Select all

zm-server.local:40200      => 192.168.100.21:6970          0B      0B     0B
                           <=                            547KB   536KB  538KB
So the camera is talking, and ZM is listening.


But when I try to view the video in a browser (via localhost/zm) I get a broken image using Firefox on the server itself, and a black box instead of video using a windows computer on the network (both IE and Chrome).

I tried to post a couple screenshots, but the forum complained I was being too spammy with off-site URLs.


As for the error logs ... I'm not sure what I'm looking for.

The tail of zmwatch.log says

Code: Select all

(date/time) zmwatch[2470].ERR [Shared data size conflict in shared_data for monitor Level1-Camera, expected 328, got 316]
which is suspicious for something, but I don't know what.


Where do I go from here? Thank you.
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

Re: No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

After searching the forum some more I got the "shared data size conflict" error fixed by editing Memory.pm

$arch = int(3.2*length(~0));

changed to

$arch = 32;


zmwatch.log isn't complaining any more, but still no picture.
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

Re: No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

I'll also add that when I attempt to view Zoneminder's camera feed via web browser, it dumps a few debug files.

Here's a snippet if it helps:

Code: Select all

11/23/11 19:15:37.524672 zmu[7731].INF-zm_debug.c/296 [New Debug Level = 9, New Debug Log = /tmp/zm/zm_debug.log.07731]
11/23/11 19:15:37.524961 zmu[7731].DB1-zm_monitor.cpp/2306 [Got 1 monitors]
11/23/11 19:15:37.529916 zmu[7731].DB1-zm_monitor.cpp/340 [monitor purpose=0]
11/23/11 19:15:37.529937 zmu[7731].DB1-zm_monitor.cpp/347 [mem.size=248833192]
11/23/11 19:15:37.529970 zmu[7731].DB1-zm_monitor.cpp/371 [Unable to map file /dev/shm/zm.mmap.1 (248833192 bytes) to locked memory, trying unlocked]
11/23/11 19:15:37.530014 zmu[7731].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 1920x1080 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
11/23/11 19:15:37.530808 zmu[7731].DB9-zm_image.cpp/1352 [x1:0,y1:1079 x2:0,y2:0]
11/23/11 19:15:37.530819 zmu[7731].DB9-zm_image.cpp/1352 [x1:0,y1:0 x2:1919,y2:0]
11/23/11 19:15:37.530828 zmu[7731].DB9-zm_image.cpp/1352 [x1:1919,y1:0 x2:1919,y2:1079]
11/23/11 19:15:37.530836 zmu[7731].DB9-zm_image.cpp/1352 [x1:1919,y1:1079 x2:0,y2:1079]
11/23/11 19:15:37.530846 zmu[7731].DB9-zm_image.cpp/1372 [0: min_y: 0, max_y:1079, min_x:0.00, 1/m:-0.00]
11/23/11 19:15:37.530863 zmu[7731].DB9-zm_image.cpp/1372 [1: min_y: 0, max_y:1079, min_x:1919.00, 1/m:0.00]
11/23/11 19:15:37.530874 zmu[7731].DB9-zm_image.cpp/1386 [Moving global edge]
11/23/11 19:15:37.530885 zmu[7731].DB9-zm_image.cpp/1386 [Moving global edge]
11/23/11 19:15:37.530894 zmu[7731].DB9-zm_image.cpp/1407 [0 - 0: min_y: 0, max_y:1079, min_x:0.00, 1/m:-0.00]
11/23/11 19:15:37.530902 zmu[7731].DB9-zm_image.cpp/1407 [0 - 1: min_y: 0, max_y:1079, min_x:1919.00, 1/m:0.00]
11/23/11 19:15:37.530926 zmu[7731].DB9-zm_image.cpp/1407 [1 - 0: min_y: 0, max_y:1079, min_x:0.00, 1/m:-0.00]
11/23/11 19:15:37.530935 zmu[7731].DB9-zm_image.cpp/1407 [1 - 1: min_y: 0, max_y:1079, min_x:1919.00, 1/m:0.00]

[...]

11/23/11 19:15:37.623992 zmu[7731].DB9-zm_image.cpp/1314 [x:2, y:1079.00]
11/23/11 19:15:37.624001 zmu[7731].DB9-zm_image.cpp/1314 [x:1, y:1079.00]
11/23/11 19:15:37.656034 zmu[7731].DB1-zm_monitor.cpp/460 [Monitor Level1-Camera has function 2]
11/23/11 19:15:37.656050 zmu[7731].DB1-zm_monitor.cpp/461 [Monitor Level1-Camera LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
11/23/11 19:15:37.656065 zmu[7731].DB1-zm_monitor.cpp/462 [Monitor Level1-Camera IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
11/23/11 19:15:37.656082 zmu[7731].DB1-zm_monitor.cpp/2509 [Loaded monitor 1(Level1-Camera), 0 zones]
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

Re: No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

Nobody?

Any other information that I can provide that might help?
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

Re: No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

Anyone? Bueller? Bueller?

I'm about ready to put Windows on the machine and buy a Luxriot license. I need something that works.
gasdoc09
Posts: 6
Joined: Wed Nov 23, 2011 11:54 pm

Re: No video playback / new install / LevelOne FCS-5051

Post by gasdoc09 »

Never mind, I guess. Windows and Luxriot it is.
noidee
Posts: 1
Joined: Wed Dec 21, 2011 11:23 am

Re: No video playback / new install / LevelOne FCS-5051

Post by noidee »

Hello,

You can modify
/proc/sys/kernel/shmall
/proc/sys/kernel/shmmax
to increase shared memory, but that wouldn't help you.


Try:

Maximum FPS: 10
Alarm Maximum FPS: 12

Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: <USERNAME>:<PASSWORD>@<IP CAMERA> <-- example root:@192.168.1.2
Remote Host Port: 80
Remote Host Path: /cgi-bin/jpg/image.cgi?

And don't forget to set
Capture Width (pixels):
Capture Height (pixels):
according to your configuration.


This worked for me.
Locked