Motion - Support Question 2008x 05x 10x 161321

Kodicom 4400R (BT 878A)

Question

http://www.linuxtv.org/v4lwiki/index.php/Kodicom_4400R how do i configure this ? the card has 16 inputs and 4 chips, i can view the v4l devices /dev/video[0-3] with xawtv i can view in input with "xawtv -device /dev/video0" and setting composite input (i can view from composite 0 to composite 15). how do i set "composite n°" on motion config file ? i tried with "videodevice /dev/video0" and "input" from 0 to 8 but i can't see anything frown, sad smile

Paste in your error messages, config settings, terminal window output etc in this text field.

Environment

Motion version: 3.2.9
ffmpeg version: ffmpeg-20070225
Libraries: ffmpeg, mysql, postgresql
Server OS: Slackware Linux hellpenguin 2.6.25.2 #9 Wed May 7 17:01:51 CEST 2008 i686 pentium4 i386 GNU/Linux

-- DavideConsonni - 10 May 2008

Answer

Add to modprobe.conf
# kodicom 4400R card bttv drivers
options bttv card=133,132,133,133 i2c_scan=0
# this one is from: http://tvtime.sourceforge.net/problems.html#bttvload
options i2c-algo-bit bit_test=1

Now in motion.conf define each input as thread :

thread /path/cam1.conf

thread /path/cam2.conf

thread /path/cam3.conf

thread /path/cam4.conf

In cam1.conf

videodevice /dev/video1

input 1

( and others parameters like webcam_port , target_dir , etc )

In cam2.conf

videodevice /dev/video2

input 2

( and others parameters like webcam_port , target_dir , etc )

In cam3.conf

videodevice /dev/video3

input 3

( and others parameters like webcam_port , target_dir , etc )

In cam4.conf

videodevice /dev/video4

input 0

( and others parameters like webcam_port , target_dir , etc )

-- AngelCarpintero - 10 May 2008

Question

cam1 -> video0 but cam2 -> video1, not 2 ?

anyway i tried with:

videodevice /dev/video0 input 0 webcam_port 7090

(and other 3 files)

i run motion and i get:

May 11 15:49:38 hellpenguin motion: [1] Thread 1 started

May 11 15:49:38 hellpenguin motion: [2] Thread 2 started

May 11 15:49:38 hellpenguin motion: [3] Thread 3 started

May 11 15:49:38 hellpenguin motion: [4] Thread 4 started

but i can't see livestrem neither the file saved. and motion don't give me any error

but motion hang if i try to kill the process:

3289 0.0 0.0 0 0 ? Zl 15:49 0:00 [motion] < defunct >


Sorry i did a mistake , corrected already. Please upgrade to 3.2.10 or at least attach your motion.conf / threadx.conf files and the output of motion

running in debug mode and no daemon :

./motion -c /path/motion.conf -n -d 9

-- AngelCarpintero - 12 May 2008


sorry again, but this is right ?

In cam4.conf videodevice /dev/video4 input 0

video4 with input0 ?

i have theese devices: root@hellpenguin:/usr/local/etc# ll /dev/video*

lrwxrwxrwx 1 root root 10 2008-05-11 16:37 /dev/video0 -> v4l/video0

lrwxrwxrwx 1 root root 10 2008-05-11 16:37 /dev/video1 -> v4l/video1

lrwxrwxrwx 1 root root 10 2008-05-11 16:37 /dev/video2 -> v4l/video2

lrwxrwxrwx 1 root root 10 2008-05-11 16:37 /dev/video3 -> v4l/video3

no video4 frown, sad smile

-- DavideConsonni - 12 May 2008

I got that config for a contributor that is using that capture card with 4 cameras .

TV capture card /dev/video0

Kodicom /dev/video1-4

Then for you should work :

video0 input 1

video1 input 2

video2 input 3

video3 input 0

But probably could be some difference as there's different version/releases of this card so easy way it to check /dev/video0 with inputs 0-4 and repeat with others.

-- AngelCarpintero - 13 May 2008

Answered as long as user seems that finally managed to fix his problem changing his setup.

-- AngelCarpintero - 08 Jun 2008
Topic revision: r7 - 08 Jun 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.