Page 2 of 3
Posted: Fri Nov 13, 2009 2:06 pm
by knight-of-ni
At this point I'm out of good ideas. Based on the camera connection parameters you provided, I'm assuming you have authentication turned off on the camera. You may also want to turn off (at least temporarily) your firewall and disable selinux just to make sure they aren't interfering. Yeah, I know... I'm just guessing at this point.
Phil's suggestion is probably your best bet. Note that, before you can run configure with the mapped memory option, you will need to yum install perl-Sys-Mmap. I don't believe this RPM is in RedHat's repository (it is not in CentOS'). You may have to add the RPMforge repository to your system in order to allow your system to automatically find this RPM for you.
I do need to warn you that enabling the entire RPMforge repository may cause your system to see a whole bunch of updates. I recommend you install only what you need and exclude or just ignore the rest.
Posted: Fri Nov 13, 2009 2:53 pm
by bsagowitz
well still getting the black screen. I'm going to wipe the system and start over. Might even try a 32bit install.
I can't express how much I appreciate all the help I've received. I really appreciate it. I will document every thing I do from this point out on this thread. I'm sure it will turn out.
Thanks!
Brad
Posted: Mon Nov 16, 2009 4:50 pm
by bsagowitz
Well I started from a fresh install of 32bit Red Hat 5.4 and following the centos guide I came up to my first error and its when I'm compilling ffmpeg. I get the followin error after issuing "make"
libavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’
libavcodec/vdpau.c: In function ‘ff_vdpau_mpeg4_decode_picture’:
libavcodec/vdpau.c:320: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:321: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:322: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:323: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:324: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:325: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:326: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:327: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:328: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:329: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:330: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:331: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:333: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:334: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:336: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:337: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:343: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:344: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:349: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
make: *** [libavcodec/vdpau.o] Error 1
Posted: Mon Nov 16, 2009 4:53 pm
by bsagowitz
this looks like its vdpau stuff... I'm sure I don't have that installed. I do have an Nvidia card and I'm using the NVIDIA proprietary driver.
Posted: Mon Nov 16, 2009 6:07 pm
by knight-of-ni
You've got an ffmpeg problem. I'm assuming you complied ffmpeg from source?
Look at your output prior to the error... do you see any complaints about missing header files?
The trouble with ffmpeg is that the authors constantly change things around, and trying to stay on top of the changes is a challenge.
Posted: Mon Nov 16, 2009 6:22 pm
by bsagowitz
hmmm this is the text before the error
Code: Select all
make
gcc -DHAVE_AV_CONFIG_H -I. -I"/root/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavcodec/vdpau.d -MT libavcodec/vdpau.o -c -o libavcodec/vdpau.o libavcodec/vdpau.c
In file included from libavcodec/vdpau.c:32:
libavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’
Posted: Mon Nov 16, 2009 7:50 pm
by bsagowitz
Well.... I installed ffmpeg from the rpmforge repository. We will see how that goes
Posted: Mon Nov 16, 2009 7:53 pm
by knight-of-ni
I noticed that the author of the CentOS guide appears to have configured ffmpeg w/o enabling any options. Do a make clean and then reconfigure ffmpeg with the following:
Code: Select all
./configure \
--enable-gpl \
--enable-swscale \
--enable-shared \
--enable-pthreads
This is what worked on my system although I forgot why I chose those options. If configure doesn't like the "enable-swscale" option then just delete that line.
Lastly, don't forget to do a make install-libs after make install.
Posted: Thu Nov 19, 2009 8:21 pm
by bsagowitz
got it working!!!! (on ubuntu server 9.04)
although I think it was the connecting and setup of the camera that was in error.
now i have another problem.
I have three cameras setup (axis 2130r, a tape robot camera, and an axis 207) I can view all of them live. but when the 2130r (setup in modect) records an event I can't see it.
its a blank (not black)
what should I be looking for to help troubleshoot this? I don't see anything in the logs.
Posted: Fri Nov 20, 2009 3:27 pm
by knight-of-ni
Just to clarify, are you saying that you can view recorded events just fine from the tape robot and an axis 207 cameras, but not the 2130r?
Posted: Fri Nov 20, 2009 3:29 pm
by bsagowitz
no... I can see live feed fine... but as I look at it I can't record any events
something is messed up somewhere
just don't know where to look first.
Posted: Fri Nov 20, 2009 3:49 pm
by knight-of-ni
Right, but what I'm asking is whether or not the problem is isolated to just the 2130r or if the problem affects all three cameras. That will determine what to focus on.
Posted: Fri Nov 20, 2009 3:52 pm
by bsagowitz
oh sorry... its seems its all of them.
I've setup zones on two of the three cameras (207 and 2130r) and when there is motion... nothing gets recorded.
as a side note I have the events going to a different drive and have chmod'd the dir for full open permissions (777)
Posted: Fri Nov 20, 2009 4:05 pm
by knight-of-ni
Yeah, first thing I was going to suggest is to check to your Zoneminder events folder.
Can you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
When you open a live view on one of your cameras, do you see any events listed beneath the window? This would confirm that the system is at least logging the event pointers to the database.
Also, how did you tell Zoneminder to record to your data disk? Did you change the default under Options -> Paths, redirect via symbolic link, or something else?
Posted: Fri Nov 20, 2009 4:26 pm
by bsagowitz
Can you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
yes I can. each directory is a number and under that number are a lot of jpg's
Can you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
no. its blank
Also, how did you tell Zoneminder to record to your data disk? Did you change the default under Options -> Paths, redirect via symbolic link, or something else?
I went to Options>Paths>DIR_EVENTS and put /data/zm