Adjusting the Picture + Bt878

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
Devostator
Posts: 11
Joined: Tue Jun 28, 2011 1:15 pm

Adjusting the Picture + Bt878

Post by Devostator »

Good day!

Available:

- Ubuntu 10.10
- Zoneminder 1.24.2 installed via the "Software Center Ubuntu"
- 4-Channel DVR Video Capture PCI Card for 25/30 FPS Security Cameras (Multimedia video controller: Brooktree Corporation Bt878 Video)
- 1 / 3 SONY CCD Waterproof Surveillance Security Camera with 48-LED Night Vision - Black (DC 12V)

I can not adjust the image (PAL / NTSC)

Please tell me what settings to set for a normal image.

Thank you in advance.
Attachments
Imgzm02.jpg
Imgzm02.jpg (40.12 KiB) Viewed 5851 times
Imgzm01.jpg
Imgzm01.jpg (66.41 KiB) Viewed 5851 times
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Adjusting the Picture + Bt878

Post by mastertheknife »

Try RGB24.

mastertheknife
Kfir Itzhak.
Devostator
Posts: 11
Joined: Tue Jun 28, 2011 1:15 pm

Re: Adjusting the Picture + Bt878

Post by Devostator »

Does not work (RGB24)

How to set the resolution? The camera supports PAL 752x582 and NTSC 510x492 (written in the specification). Suppose I put the 752x582 and change the format of the video, but in this case there is no picture at all.

Conclusion: The need to set a different resolution, but what? and what video format? Too many combinations to enumerate.

Can anyone faced with this situation?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Adjusting the Picture + Bt878

Post by bb99 »

ZM doesn't know that you even have camera's hooked up in this case, it's dealing with the capture card output only. So we need to discover what that is. Try these settings and see if you have any luck:

Device Path: /dev/video0
device channel: 0
Device Format: NTSC
Capture Palette: BGR24 or greyscale
Capture Width (pixels): 320
Capture Height (pixels): 240

Or:

Device Path: /dev/video0
device channel: 0
Device Format: PAL
Capture Palette: BGR24 or grayscale
Capture Width (pixels): 384
Capture Height (pixels): 288

If this is a single chip card then subsequent camera's will be on video0 channel 1 and so on (running multiple camera's on a single chip will require "CAPTURES_PER_FRAME" to be set to 2). If a multiple chip card then Video1, channel 0. Also at the resolutions you're considering (PAL 752x582 and NTSC 510x492) you will probably run into shared memory issues; the work around is well covered in the wiki and forums. Once you get a single camera running you can start to change things to better suit your needs. Please post back your results.
Devostator
Posts: 11
Joined: Tue Jun 28, 2011 1:15 pm

Re: Adjusting the Picture + Bt878

Post by Devostator »

My motherboard has a single chip. Therefore I need to put: device channel: 0

After busting a few combinations was able to get something similar to the image from the camera. Still have problems with color.

Prompt where to dig.

PS: Sorry for the big screenshots.
Attachments
imgzm05.jpg
imgzm05.jpg (96.82 KiB) Viewed 5822 times
imgzm04.jpg
imgzm04.jpg (43.17 KiB) Viewed 5822 times
imgzm03.jpg
imgzm03.jpg (108.46 KiB) Viewed 5822 times
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Adjusting the Picture + Bt878

Post by bb99 »

Check /etc/modprobe.d/bttv.conf and make sure settings match your card type.
Devostator
Posts: 11
Joined: Tue Jun 28, 2011 1:15 pm

Re: Adjusting the Picture + Bt878

Post by Devostator »

I use every time:

sudo modprobe-v bttv card = 0x69 tuner =- 1 autoload = 0

I'm not sure that 0x69 - this is my card, but it worked fine the other (small) camera in PAL resolution of 320x240 and YUYV.

I do not have a bttv.conf. Today, try to look into this direction. And look what exactly the chip is at stake might actually chose the wrong type of card.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Adjusting the Picture + Bt878

Post by mastertheknife »

Try creating /etc/modprobe.d/bttv.conf file with this in it:

Code: Select all

# BTTV Modules options
# For fast loading
options i2c-algo-bit bit_test=1 

# Pico2000 clone, 4 inputs 1 chip
options bttv gbuffers=16 card=77 radio=0 tuner=4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1
mastertheknife
Kfir Itzhak.
Devostator
Posts: 11
Joined: Tue Jun 28, 2011 1:15 pm

Re: Adjusting the Picture + Bt878

Post by Devostator »

It works! ) bbtv.conf - cool:)

The camera settings are set: PAL 576x432 BGR24

I think the picture is fairly good (for this camera)

Thank you very much mastertheknife and bb99!
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

Re: Adjusting the Picture + Bt878

Post by alltech »

dont have this file will create it

Check /etc/modprobe.d/bttv.conf and make sure settings match your card type

I am going away now for a week. To bad it haS TAKEN FOUR DAYS and not get this working. will be leaving shortly
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Adjusting the Picture + Bt878

Post by bb99 »

Posted reply against your original thread.
Post Reply