Ключевые слова:video, howto, tv_tuner, sound, (найти похожие документы)
- BEST_PEOPLE (2:5077/15.22) ---------------------- BEST_PEOPLE (RU.UNIX.BSD) -
From : Igor Nikolaev 2:5030/266 22 Feb 01 05:05:02
Subj : [FreeBSD] howto по настройке mbone box (видеоконференции)
-------------------------------------------------------------------------------
* Forwarded from area 'RU.UNIX.BSD'
Краткий how to по настройке mbone box.
Изменения/дополнения/исправления с благодарностью :-)
1. Install fresh freebsd from ftp://current.freebsd.org
We need install X + kernel developer.
2. Login as root and compile kernel vith multicast,
video and sound:
cd /sys/i386/conf/
cp GENERIC TEST
cat >>TEST <<EOF
options MROUTING # multicast routing
device smbus
device iicbus
device iicbb
device bktr 1 # bt848 driver
options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
options BKTR_USE_PLL
device pcm # if not exist in GENERIC
EOF
config TEST
cd ../../compile/TEST
make depend && make && make install
fastboot
3. Rebooted, login as root and tune multicast
tunnel to other conference point. change $local_ip,
$remote_ip and $max_speed_kbit to real values
cat > /etc/mrouted.conf <<EOF
tunnel $local_ip $remote_ip metric 1 rate_limit $max_speed_kbit
EOF
mrouted
4. Tests results:
`netstat -g` must show multicast routing table.
`mtrace $remote_ip` must trace to this $remote_ip
`dmesg | grep pcm` must show pcm sound driver
`dmesg | grep bktr` must show video bt848 driver
5. Test audio card:
`cat /dev/sndstat`
if `ls -al /dev/audio*` point to device /dev/audio0.0
then make link: `ln -s /dev/audio0.0 /dev/audio0`
6. Install rat, change 4.2.12 to current version
v="4.2.12"
cd
fetch http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/$v/rat-$v.tar.gz
tar xzf rat-$v.tar.gz && cd rat-$v
cd ~/rat-$v/tcl-8.0/unix && ./configure && make
cd ~/rat-$v/tk-8.0/unix && ./configure && make
cd ~/rat-$v/common && ./configure && make
cd ~/rat-$v/rat && ./configure && make
cd
echo "PATH=$HOME/rat-$v/rat" > /usr/local/bin/rat4
echo 'rat $*' >> /usr/local/bin/rat4
chmod a+x /usr/local/bin/rat4
7. Install vic
cd /usr/ports/mbone/vic
make install
8. Login as normal user and start conference (select correct ip/port):
vic 239.0.0.1/10000
rat4 239.0.0.2/10000
Enjoy!
:-)
--
Igor
--- ifmail v.2.12.os.sensi * Origin: чаво? (2:5030/266@fidonet)