Page 1 of 1

Adjusting the Picture + Bt878

Posted: Thu Jun 30, 2011 1:00 pm
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.

Re: Adjusting the Picture + Bt878

Posted: Thu Jun 30, 2011 1:57 pm
by mastertheknife
Try RGB24.

mastertheknife

Re: Adjusting the Picture + Bt878

Posted: Thu Jun 30, 2011 8:12 pm
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?

Re: Adjusting the Picture + Bt878

Posted: Thu Jun 30, 2011 11:27 pm
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.

Re: Adjusting the Picture + Bt878

Posted: Fri Jul 01, 2011 9:07 am
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.

Re: Adjusting the Picture + Bt878

Posted: Fri Jul 01, 2011 10:00 am
by bb99
Check /etc/modprobe.d/bttv.conf and make sure settings match your card type.

Re: Adjusting the Picture + Bt878

Posted: Fri Jul 01, 2011 11:27 am
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.

Re: Adjusting the Picture + Bt878

Posted: Fri Jul 01, 2011 12:12 pm
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

Re: Adjusting the Picture + Bt878

Posted: Fri Jul 01, 2011 12:54 pm
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!

Re: Adjusting the Picture + Bt878

Posted: Sat Jul 23, 2011 4:44 pm
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

Re: Adjusting the Picture + Bt878

Posted: Sat Jul 23, 2011 6:51 pm
by bb99
Posted reply against your original thread.