I just recently did a complete overhaul on my CCTV system. I replaced Ubuntu with CentOS server and added a new DVR capture card. I replaced two 4-port Conexant BT878 cards with an 8-port Techwell 6805 card.
Now that I have done that, I can not run any of the cameras in Video for Linux 1 mode. I have to use Video for Linux 2.
When running in VFL2, my image has vertical lines in it (possibly from cheap cameras?), so I would like to go back to VFL1.
I am running the cameras with NTSC / RGB24. I have tried resolutions of 320x240 and 640x480. Same problem each time.
These are the error messages I get when I try to run in VFL1 mode. Any ideas?
Contents of /var/log/messages
Nov 7 20:42:12 t5dvr zmdc[14144]: INF ['zmc -d /dev/video1' starting at 10/11/07 20:42:12, pid = 1918]
Nov 7 20:42:12 t5dvr zmdc[1918]: INF ['zmc -d /dev/video1' started at 10/11/07 20:42:12]
Nov 7 20:42:12 t5dvr zmc_dvideo1[1918]: INF [Debug Level = 0, Debug Log = <none>]
Nov 7 20:42:12 t5dvr zmc_dvideo1[1918]: INF [Starting Capture]
Nov 7 20:42:12 t5dvr zmc_dvideo1[1918]: ERR [Capture failure for frame 0: Invalid argument]
Nov 7 20:42:12 t5dvr zmc_dvideo1[1918]: ERR [Failed to prime capture of initial monitor]
Nov 7 20:42:12 t5dvr zmdc[14144]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
Nov 7 20:42:12 t5dvr zma_m3[1896]: WAR [Waiting for capture daemon]
Contents of zm_debug.log
[root@t5dvr etc]# more /tmp/zm_debug.log.01934
11/07/10 20:44:52.036939 zmc_dvideo1[-1].INF-zm_debug.c/292 [New Debug Level = 0, New Debug Log = /t
mp/zm_debug.log.01934]
11/07/10 20:44:52.079606 zmc_dvideo1[-1].INF-zmc.cpp/188 [Starting Capture]
11/07/10 20:44:52.080133 zmc_dvideo1[-1].ERR-zm_local_camera.cpp/1474 [Capture failure for frame 0:
Invalid argument]
11/07/10 20:44:52.080193 zmc_dvideo1[-1].ERR-zmc.cpp/201 [Failed to prime capture of initial monitor
]
Cant run in Video for Linux 1
Sorry but the techwell is a v4l2 driver there is no v4l driver for it.
here are some references that may help.
http://gitorious.org/tw68
http://www.zoneminder.com/forums/viewtopic.php?t=14588
here are some references that may help.
http://gitorious.org/tw68
http://www.zoneminder.com/forums/viewtopic.php?t=14588