1.24.4 capture method video for linux 2 (ONLY)

Forum for questions and support relating to the 1.24.x releases only.
Locked
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

1.24.4 capture method video for linux 2 (ONLY)

Post by Alan87i »

Ubuntu 11.4 ZM 1.24.4
My card is the single chip card=77 model I have used several of these for years. I created my options file with the proper driver in it.
When I try to set the source under capture method I have only (Video for linux version 2) as an option. Video for linux version 1 does not appear in the drop down window.

With that said I can only get an image from my camera with the color pallet set to grey.
Thanks
Allan
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by mastertheknife »

Hi,

V4L1 was removed in recent ubuntu versions, but you can get it back i believe by apt-get install libv4l-0 and then recompiling ZM.
V4L2 works very nicely with the bttv driver. What are your capture settings? Try BGR24.

mastertheknife.
Kfir Itzhak.
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by Alan87i »

I have tried every setting I can find on the source menu setup window.
One thing I noticed before I upgraded to 1.24.4 from 1.24.2 was every monitor had the same image.
Maybe this is the problem , the driver has changed ? I've used this driver since ZM1.22.x on Ubuntu 6.0 (options bttv card=77 tuner=4 radio=0 triton1=0 vsfx=0 autoload=0)
[ 21.179282] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]

Just noticed this from a dmesg print out at the bottom.
[24132.316012] bttv0: timeout: drop=1436 irq=1457170/1457286, risc=03c293a4, bits: HSYNC
[24135.720019] bttv0: timeout: drop=1493 irq=1457448/1457564, risc=03c3f3bc, bits: HSYNC
[24140.924015] bttv0: timeout: drop=1567 irq=1457863/1457979, risc=03c6b37c, bits: HSYNC
[24148.932035] bttv0: timeout: drop=1657 irq=1458486/1458602, risc=03c6b37c, bits: HSYNC
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by mastertheknife »

These HSYNC errors are not good. Perhaps the card gone bad.
If its a pico2000 clone, they can be brought new for cheap on ebay. I bought few from here, $7 shipped + comes with heatsink:
http://cgi.ebay.com/4-Channels-CCTV-DVR ... 2a0b96ed6b

mastertheknife.
Kfir Itzhak.
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by Alan87i »

OH yA I have at least 4 more here the card works fine with an old install on buntu 8.04 with ZM 1.23.x
I tride your suggestion and recompiled ZM no luck
Still only have video for linux 2
and still only works in Grey pallet.
hengst
Posts: 28
Joined: Sun Sep 26, 2010 7:15 am
Location: Netherlands

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by hengst »

i can confirm this problem.

also tried every setting possible. no luck.

install zoneminder 1.24.2 / v4l1 set to auto/565 all ok.
hengst
Posts: 28
Joined: Sun Sep 26, 2010 7:15 am
Location: Netherlands

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by hengst »

any progress in this issue ?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by mastertheknife »

Hi,

This is does not look like a ZM issue, but a driver issue, because those errors come directly from the driver.
From what i have seen, the local cameras code did not change much between 1.24.2 and 1.24.4, so if its working in 1.24.2, it should also work in 1.24.4.
What is the capture palette and resolution you are trying to capture at?

mastertheknife.
Kfir Itzhak.
hengst
Posts: 28
Joined: Sun Sep 26, 2010 7:15 am
Location: Netherlands

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by hengst »

was just playing with it.

at this moment 1 have connected one cctv china cam to the one chip card.

in 1.24.2 it works with V4L1 at 620 x 480 / NTSC and RG565 as color pallette.

in 1.24.4 i get picture when set the card to " sudo modprobe card=77 " and zoneminder to V4L2 at 320 x 240 NTSC / any that works.

no way i can get it in color do
Yanson
Posts: 4
Joined: Sun Oct 30, 2011 3:22 pm

Re: 1.24.4 capture method video for linux 2 (ONLY)

Post by Yanson »

I had this problem too - tried every capture palette and it was either black and white or didn't work.

However, I did find a solution - Set it to YUV420 and restart zoneminder. Before restarting the source goes red indicating it doesn't work, but after restarting it goes green!
Locked