Page 1 of 1

Problem with data size conflict.

Posted: Tue May 22, 2012 6:31 pm
by gallonin
Hi,

I have problem:

Code: Select all



14788 zmc_dvideo0[3446].INF-zmc.cpp/191 [Starting Capture]
997-01-02 01:21:10.616296 zmwatch[3345].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Wizjer, expected 328, got 316]

1997-01-02 01:22:10.699289 zmwatch[3345].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Wizjer, expected 328, got 316]
1997-01-02 01:22:20.707848 zmwatch[3345].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Wizjer, expected 328, got 316]
1997-01-02 01:22:30.720223 zmwatch[3345].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Wizjer, expected 328, got 316]




I have EasyCap DVR USB device and it work with mplayer.

Re: Problem with data size conflict.

Posted: Tue May 22, 2012 6:37 pm
by hk_niko
How many channels do you have?
that stream uses?

Re: Problem with data size conflict.

Posted: Tue May 22, 2012 6:43 pm
by gallonin
hk_niko wrote:How many channels do you have?
that stream uses?
I have only /dev/video0 with inputs from 1 to 4. Now I'm using only input 1.

DVR device support tv system NTSC. Palette YUYV. Resolution 320x240.

Re: Problem with data size conflict.

Posted: Tue May 22, 2012 6:49 pm
by hk_niko
open it in vlc and see the metadata

Re: Problem with data size conflict.

Posted: Tue May 22, 2012 8:27 pm
by gallonin
hk_niko wrote:open it in vlc and see the metadata
metadata is empty, but informations about file are:

720x576
25k/s
I420

for PAL

Re: Problem with data size conflict.

Posted: Wed May 23, 2012 4:40 pm
by PacoLM
Known issue:

To remove errors "zmwatch[2429].ERR [Shared data size conflict in shared_data for monitor Monitor-1, expected 328, got 316]",
edit /usr/local/share/perl/5.12.4/ZoneMinder/Memory.pm (or find where the Memory.pm is) and replace:

Code: Select all

$arch = int(3.2*length(~0)); 
with
$arch = 32;
Hope it helps!

Re: Problem with data size conflict.

Posted: Thu May 24, 2012 4:46 pm
by gallonin
PacoLM wrote:Known issue:

To remove errors "zmwatch[2429].ERR [Shared data size conflict in shared_data for monitor Monitor-1, expected 328, got 316]",
edit /usr/local/share/perl/5.12.4/ZoneMinder/Memory.pm (or find where the Memory.pm is) and replace:

Code: Select all

$arch = int(3.2*length(~0)); 
with
$arch = 32;
Hope it helps!

Now are new problems:

Code: Select all

1997-01-02 01:40:46.647694 zmc_dvideo0[3535].FAT-zm_local_camera.cpp/540 [Failed to get picture attributes: Invalid argument]
1997-01-02 01:40:46.841473 zmdc[3255].ERR-zmdc.pl ['zmc -d /dev/video0' exited abnormally, exit status 255]
1997-01-04 00:19:12.229075 zmc_dvideo0[2879].ERR-zm_monitor.cpp/364 [Got unexpected memory map file size 9217192, expected 49767592]