[SOLVED] Zoneminder no video

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Zoneminder no video

Postby freetibet » Aug 31st, '13, 10:40

OK so I installed Zoneminder again…
But no video
lspci shows…
Code: Select all
02:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0e.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

and this…

Code: Select all
 $ dmesg | less
[    9.840585] Linux video capture interface: v2.00
[    9.858126] bttv: driver version 0.9.19 loaded
[    9.858130] bttv: using 16 buffers with 2080k (520 pages) each for capture
[    9.863321] bttv: Bt8xx card found (0)
[    9.863349] bttv: 0: Bt878 (rev 17) at 0000:02:08.0, irq: 18, latency: 32, mmio: 0xd000f000
[    9.863366] bttv: 0: using: IVC-200 [card=102,insmod option]
[    9.863439] bttv: 0: tuner absent
[    9.863441] bttv: 0: the autoload option is obsolete
[    9.863442] bttv: 0: use option msp3400, tda7432 or tvaudio to override which audio module should be used
[    9.865109] bttv: 0: registered device video0
[    9.867007] microcode: CPU0 sig=0x20655, pf=0x2, revision=0x2
[    9.868260] bttv: 0: registered device vbi0
[    9.868298] bttv: 0: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[    9.885860] iTCO_vendor_support: vendor-support=0
[    9.885930] gpio_ich: GPIO from 180 to 255 on gpio_ich
[    9.886581] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
[    9.886607] iTCO_wdt: Found a H55 TCO device (Version=2, TCOBASE=0x0460)
[    9.886753] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=1)
[    9.887104] ppdev: user-space parallel port driver
[    9.901164] bttv: PLL set ok

so the card is there…
are there any other terminal commands I can do to check this card etc… I have full access and SSH access
Last edited by freetibet on Sep 1st, '13, 16:20, edited 2 times in total.
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Video Lan for Mageia ?

Postby freetibet » Aug 31st, '13, 14:45

Looking for video pan or equivalent so I can see vide from my 8 chip bttv card…
is there any if so how to install ?
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby doktor5000 » Aug 31st, '13, 16:23

Maybe you forgot again to configure your system properly for this card?
Check again viewtopic.php?f=8&t=3998
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Video Lan for Mageia ?

Postby doktor5000 » Aug 31st, '13, 16:27

Video Lan, video pan, what is your post about? You need an equivalent for what exactly?

Use cheese or vlc or something else to see if the video device is usable ... For installation check https://wiki.mageia.org/en/Software_management
Apart from that, it's quite frustrating if we answer the same question again and again, if you had already solved that before. Please document your setup this time so next time you don't have to ask the same again.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Zoneminder no video

Postby freetibet » Aug 31st, '13, 18:23

No I put in a /etc/modprobe.d/bttv.conf file and also for good measure put a one liner in the modules.conf file
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Video Lan for Mageia ?

Postby pete910 » Aug 31st, '13, 18:27

Are you planning to use zoneminder with it?

But like Doc said, you can use cheese/vlc to view the inputs

If you wish to see if the driver has loaded open a console as root and do

Code: Select all
lsmod | grep bttv


You should have something like this.

Code: Select all
[root@srv1]# lsmod | grep bttv
bttv                  106506  2
v4l2_common             8560  1 bttv
videodev               64770  4 bttv,v4l2_common
videobuf_dma_sg         8576  1 bttv
videobuf_core          16921  2 bttv,videobuf_dma_sg
btcx_risc               3846  1 bttv
rc_core                16131  7 ir_lirc_codec,ir_sony_decoder,bttv,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
tveeprom               11324  1 bttv
i2c_algo_bit            4807  2 bttv,i915
i2c_core               25632  9 bttv,v4l2_common,videodev,tveeprom,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
[root@srv1 modprobe.d]#
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Video Lan for Mageia ?

Postby freetibet » Aug 31st, '13, 18:30

this is what I get
Code: Select all
[root@localhost cctvadmin]# lsmod | grep bttv
bttv                  126808  3 bt878
btcx_risc              13400  1 bttv
tveeprom               17009  1 bttv
videobuf_dma_sg        18745  1 bttv
videobuf_core          25097  2 bttv,videobuf_dma_sg
rc_core                26458  1 bttv
v4l2_common            16095  1 bttv
videodev               96255  4 bttv,v4l2_common
i2c_algo_bit           13197  2 bttv,i915
i2c_core               30189  9 drm,bttv,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,tveeprom,videodev
Last edited by isadora on Aug 31st, '13, 18:32, edited 1 time in total.
Reason: Command-output placed between [CODE]-tags, to keep the forum readable. ;)
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Video Lan for Mageia ?

Postby freetibet » Aug 31st, '13, 18:33

OK CHeese see's all the inputs but no video coming in…
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby pete910 » Aug 31st, '13, 18:37

Is Zoneminder chowing anything?

Also change your buffers to 32. Works better on the 8 chip
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Zoneminder no video

Postby doktor5000 » Aug 31st, '13, 18:39

I've merged the two threads together as they're about the same problem ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Zoneminder no video

Postby freetibet » Aug 31st, '13, 19:00

OK how do I change the buffers to 32 ?
You mean in the monitor settings in Zoneminder… OK done that , no joy.
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby pete910 » Aug 31st, '13, 19:01

No I mean in the bttv.conf file!

In fact post the full line that's in the bttv.conf file.

Mine looks like this .

Code: Select all
options i2c-algo-bit bit_test=1
options bttv gbuffers=32 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 combfilter=1 chroma_agc=1 coring=1 full_luma_range=1


Notice that gbuffers is set to 32!

Here's Zm's cam setup for my card on the first input .

Image

If your seeing just a black screen when you view the monitor, change the colour settings to 32768 in the monitor window (caught me out this one :oops: )
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Zoneminder no video

Postby freetibet » Sep 1st, '13, 10:45

yep colours were set to 32768 by default
/etc/modpobe.d/bttv.conf

is

Code: Select all
options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0


I also for good measure edited the modules.conf file

/etc/modules-load.d/modules.conf


Code: Select all
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
options i2c-algo-bit bit_test=1
Last edited by doktor5000 on Sep 1st, '13, 11:31, edited 1 time in total.
Reason: added code tags, to improve on clarity
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby doktor5000 » Sep 1st, '13, 11:31

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Zoneminder no video

Postby pete910 » Sep 1st, '13, 15:35

No need to put the same line in both modules.conf and bttv.conf.

What is ZM coming up with when you view the input? (Blue/black/etc no input warning...)

Is Zm throwing any errors? /Warnings? in the log

Do you know for certain the camera(s) are working?

This is whats shown when no cam is connected

Image

Is the correct value for the cams selected in the monitor set up as is like mine in the screen-shot above ?(Pal/NSTC colour format etc)


Pete.
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Zoneminder no video

Postby freetibet » Sep 1st, '13, 15:42

that is exactly what I see
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby pete910 » Sep 1st, '13, 15:50

freetibet wrote:that is exactly what I see



If that's what your seeing your card and Zoneminder is working fine, Its your cameras that ain't!, presuming you have the correct input selected that is. (/dev/video0 /dev/video1 etc) :roll:
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Zoneminder no video

Postby freetibet » Sep 1st, '13, 15:54

yep
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: Zoneminder no video

Postby pete910 » Sep 1st, '13, 16:18

freetibet wrote:yep


:?

Please mark the topic solved.
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Zoneminder no video [SOLVED]

Postby doktor5000 » Sep 1st, '13, 18:15

Yep what? Yep you recognised the problem, but what is the solution?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Zoneminder no video [SOLVED]

Postby pete910 » Sep 1st, '13, 22:33

doktor5000 wrote:Yep what? Yep you recognised the problem, but what is the solution?


Hence my :?

:D
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest