|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 22 article |
2001-08-13 02:02:35 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
¸®´ª½º¿¡¼ Ƽºñº¸±â |
|
|
******************
¸®´ª½º¿¡¼ TV º¸±â
******************
ÀÛ¼ºÀÏ : 2001³â 5¿ù 11ÀÏ
ÀÛ¼ºÀÚ : ¼º¸Çö(ganymede at linuxstudy.pe.kr)
** PC »ç¾ç ¹× ½Ã½ºÅÛ È¯°æ **
CPU : MMX 200
RAM : 64MB
HDD : 13.2GB
VGA : WinXPerfect(Trident TGUI9660 Chipset)
VGARAM : 2MB
TV Card : Little OnAir TV/FM
Sound Card : ESS1868
OS : RedHat 7.1 (FTP ¿µ¹®ÆÇ, KDE ÇѱÛÆÐÄ¡)
Kernel : Kernel 2.4.4
Little OnAir TV/FM ±âÁØÀ¸·Î ÇÕ´Ï´Ù.
** ÇÊ¿äÇÑ °Íµé **
TV Card´Â ´ç¿¬È÷ ÀÖ¾î¾ß°ÚÁö¿ä. bttv driver¿¡¼ ±¹³»È¸»ç Á¦Ç°ÀÎ Sigma TVII-FM,
Little OnAir TVµî¸¦ Áö¿øÇÕ´Ï´Ù. ±×¿Ü Á¦Ç°µéÀº ¾Æ·¡ bttv ÆÄÀÏÀ» Ç®¸é, CARDLIST,
º¸½Ã°Å³ª # make list Çغ¸½Ã¸é Âß~~ ³ª¿Ã°Ì´Ï´Ù. Âü°íÇϼ¼¿ä.
bttv-0.7.65.tar.gz (http://www.strusel007.de/linux/xawtv)
xawtv_3.46.tar.gz (http://www.strusel007.de/linux/bttv/)
linux-2.4.4.tar.gz2 (http://kernel.pe.kr)
¼³Ä¡ÇϱâÀü¿¡ Ä¿³Î¹öÀü 2.4.4¸¦ ¾´´Ù¸é ²À bttv Driver ¸¦ ¹Þ¾Æ¼ ÄÄÆÄÀÏ ÇÒÇÊ¿ä´Â
¾ø½À´Ï´Ù. ÀÌÀü Ä¿³Î¹öÀüÀº ¾ÊÇغÁ¼ ¸ð¸£°Ú½À´Ï´Ù.
** ¼³Ä¡ **
¸ÕÀú ¹Þ¾Æ¿Â ÆÄÀϵéÀ» ÀÓÀÇ µð·ºÅ丮¿¡ Ç®¾î³õ½À´Ï´Ù.
Redhat 7.1´Â msp3400.o ¸ðµâÀÌ ºüÁ®ÀÖ´õ±º¿ä.
±×·¡¼ Ä¿³ÎÀ» ´Ù½Ã ÄÄÆÄÀÏÇß½À´Ï´Ù. ÄÄÆÄÀϽà ´ÙÀ½Àº ²À üũÇØÁÖ¼¼¿ä.
Character devices --->
I2C support --->
[M] I2C support
[M] I2C bit-banging interfaces
[M] I2C device interface
Multimedia devices --->
[*] Video For Linux
Video For Linux --->
[*] V4L information in proc filesystem
[M] BT848 Video For Linux
Sound --->
[M] Sound card support - ¸ðµâ·Î ¼³Ä¡Çϼ¼¿ä. Àú¸¸ ±×·±Áö ¸ð¸£°Ú½À´Ï´Ù¸¸
»ç¿îµå ¸ðµâ ¶Ù¿ï¶§ ¿¡·¯³³´Ï´Ù.
[M] TV card(bt848) mixer support - msp3400.o ºÎºÐÀÔ´Ï´Ù.
msp3400.oÀº TV sound °ü·Ã ¸ðµâÀÔ´Ï´Ù.
´Ù¸¥ Ä¿³Î °ü·ÃºÎºÐÀº http://kernel.pe.kr »çÀÌÆ®¿¡¼ Âü°íÇϼ¼¿ä.
bttv ¼³Ä¡´Â ¾ÆÁÖ½±½À´Ï´Ù.
# cd bttv-0.7.65
# make
# make install
# ./MAKEDEV --> ÀåÄ¡ÆÄÀϵ鸦 »ý¼ºÇØÁÝ´Ï´Ù.
¿©±â±îÁö bttv¼³Ä¡°¡ ³¡³µ½À´Ï´Ù. ¾ÆÁÖ ½±Áö¿ä.
Xawtvµµ ¿ª½Ã °£´ÜÇÕ´Ï´Ù.
# cd xawtv-3.46
# ./configure --prefix=/usr/local/xawtv
./configure --prefix='¼³Ä¡ÇÒµð·ºÅ丮' ÇØÁÖ¸é ¼³Ä¡ÇÏ°í½ÍÀº°÷¿¡
¼³Ä¡ÇÒ¼öÀÖ½À´Ï´Ù. --prefix´Â »ý·«Çصµ »ó°ü¾ø½À´Ï´Ù.
»ý·«ÇÒ°æ¿ì /usr/local/ ¿¡ default·Î ¼³Ä¡µË´Ï´Ù.
# make
# make install
¿©±â±îÁö°¡ Xawtv ¼³Ä¡³¡ÀÔ´Ï´Ù.
´ÙÀ½Àº ¸ðµâ¸¦ ¼³Á¤ÇÏ´Â ºÎºÐÀÔ´Ï´Ù.
# vi /etc/modules.conf ¿¾îº¸¼¼¿ä.
´ÙÀ½À» Ãß°¡ÇØÁÖ¼¼¿ä.
Little OnAir TV/FM °æ¿ì
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=43 radio=1
options tuner type=2
options msp3400 mixer=1
À̺κÐÀ» ÀßÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù. bttv ¼Ò½º ÆÄÀÏÁß¿¡ CARDLIST.orig ¸¦ Âü°íÇؼ
card=¹øÈ£, type=¹øÈ£ Àû¾îÁÖ¾î¾ßÇÕ´Ï´Ù. radio=¹øÈ£, mixer=1 Àº ¾î¶²Ã¥¿¡¼
º»°Çµ¥ Ã¥À̸§ÀÌ »ý°¢³ªÁö ¾Ê³×¿ä. ÀÌ·¸°Ô ÇÏ½Ã°í ´Ù½Ã ºÎÆôϴÙ. ³¡³°Ô ¾Æ´Õ´Ï´Ù.
.xawtv¸¦ ÀÚ±â Ȩµð·ºÅ丮¿¡ »ý¼ºÀ» ÇØÁÖ¾î¾ßÇÕ´Ï´Ù. »ý¼ºÇÏÁö ¾ÊÀ¸¸é chnnel
Á¶ÀýÀÌ ±²ÀåÈ÷ ºÒÆíÇÒ°Ì´Ï´Ù.
´ÙÀ½ ÀúÀÇ .xawtv ÀÔ´Ï´Ù.
[global]
freqtab=us-bcast
mixer=line
fullscreen=640x480
capture=overlay
[defaults]
source=Television
norm=ntsc
[MBC] ---> ¿©±â¼ºÎÅÍ []Àº ÀÓÀÇ·Î Àû¾îµµµË´Ï´Ù.
channel=9 ---> ¹æ¼Û channel¸¦ Àû¾îÁÖ¸é µË´Ï´Ù.
key=F1 ---> ±â´ÉÅ°ÀÔ´Ï´Ù.
[KBS]
channel=11
key=F2
[EBS]
channel=19
key=F3
[KBS2]
channel=25
key=F4
[SBS]
channel=37
key=F5
freqtab=us-bcast À̺κп¡¼ us-bcast¸¦ us-cable·Î ÇßÀ»°æ¿ì ÀϺÎä³ÎÀº
Á¤»óÀûÀ¸·Î ³ª¿ÀÁö¸¸ ÀϺÎä³ÎÀº ä³Î ¹øÈ£µµ ´Ù¸£°í Èæ¹éÀ¸·Î ³ª¿À´õ±º¿ä.
±×·¡¼ us-cable ·Î ¹Ù²å½À´Ï´Ù. ´Ù Á¤»óÀûÀÔ´Ï´Ù.
ÀÌ ÆÄÀϸ»°íµµ xawtv½ÇÇàÇßÀ»¶§ xawtvâ¿¡¼ ¸¶¿ì½º¿ÞÂÊÀ» Ŭ¸¯Çϸé
À§ÀÇ ¼³Á¤µé¸¦ ÇÒ¼öÀÖ½À´Ï´Ù. ¾Æ½±°Ôµµ ¼³Á¤Àº ÀúÀåÀÌ ¾ÊµÇ³×¿ä.
À§ ÆÄÀϸ¦ ¿Ö ¸¸µé¾îÁÖ¾ú´ÂÁö ¾Æ½Ã°ÚÁö¿ä.
ÀÌÁ¦ xawtv¸¦ ½ÇÇàÇصµ µÉ°Ì´Ï´Ù. ÀÓÀÇÀÇ µð·ºÅ丮¿¡¼ ½ÇÇà°¡´ÉÇÏ°Ô
ÇÏ·Á¸é, xawtv½ÇÇàÆÄÀÏÀ» .bashr¿¡ PATH¸¦ °É¾îÁÖ´øÁö ¾Æ´Ï¸é À½....
½ÇÇàÆÄÀϵ鸸 /X16R/bin/ ¸µÅ©½ÃÄѵµ µË´Ï´Ù.
¾Æ¸¶ ¿¡·¯°¡ ³ª¿À´Â ºÐµéÀÌ °Ô½Ç°Ì´Ï´Ù.
/dev/video¸¦ ¸øã´Â´Ù°í ³ª¿À½Ç°Ì´Ï´Ù.
ÀÌ°Å ¿ª½Ã °£´ÜÇÕ´Ï´Ù. ¸øã´Â ÀåÄ¡ÆÄÀÏ¿¡ ¸µÅ©¸¦ °É¾îÁÖ¸éµË´Ï´Ù.
±×·±µ¥ /dev/video ¶ó´Â µð·ºÅ丮°¡ ÀÖ¾ú¼ ¸µÅ©°¡ °É¸®Áö ¾Ê´õ±º¿ä.
Àú´Â ±×³É µð·ºÅ丮¸í¸¦ ¹Ù²å½À´Ï´Ù. ³ªÁß¿¡ Ȥ½Ã ÇÊ¿äÇÒ±îºÁ¼¿ä.
# mv /dev/video /dev/video.bak
# ln -s /dev/video0 /dev/video
# xawtv ½ÇÇà
¿©±â¼ ¶Ç ¿¡·¯°¡³ª¸é À§ ±ÛµéÀ» ´Ù½ÃÇѹø º¸¼¼¿ä.
Channel Á¶ÀýÀº ¹æÇâÅ° »ó/Çϸ¦ »ç¿ëÇصµµÇ°í¿ä.
¾Æ¸¶ .xawtv¿¡¼ ¼³Á¤ÇØÁØ ±â´ÉÅ°¸¦ »ç¿ëÇϸé ÆíÇϽǰ̴ϴÙ.
¸¶¿ì½º Á¶ÀÛµµ µË´Ï´Ù. ¸¶¿ì½º xawtvâ¿¡¼ ¸¶¿ì½º ¿ÞÂʸ¦ Ŭ¸¯ÇϽøé
¾î¶»°Ô ÇؾߵÉÁö ¾Æ½Ç°Ì´Ï´Ù.
Radioµµ µéÀ»¼öÀÖ½À´Ï´Ù.
´ç¿¬È÷ TV Card ¿¡¼ ¶óµð¿À¸¦ Áö¿øÇØÁÖ¾î¾ß µÇ°ÚÁö¿ä.
½ÇÇàÆÄÀÏÀº xawtv½ÇÇàÆÄÀÏ°ú °°Àº À§Ä¡¿¡ ÀÖ½À´Ï´Ù.
Å×½ºÆ®¹Û¿¡ Áö¿øÀÌ ¾ÊµË´Ï´Ù. Terminal¿¡¼ ½ÇÇàÇϼ¼¿ä.
¿À¸¥ÂÊ À§¿¡ ±â´ÉÅ°°¡ ÀÖ½À´Ï´Ù. g ¸¦ Çѹø ´©¸£°í µè°í½ÍÀº ÁÖÆļö¸¦
ÀÔ·ÂÇÏ½Ã°í ¿£Å͸¦ Ä¡¸é µéÀ»¼öÀÖ½À´Ï´Ù.
»ó/ÇÏ ¹æÇâÅ°·Î ÁÖÆļö¸¦ Á¶ÀýÇÒ¼ö ÀÖ½À´Ï´Ù.
** ´Ù¸¥ ÀÀ¿ë ÇÁ·Î±×·¥µé **
kwintv¶ó´Â°Ô Àִµ¥...ÄÄÆÄÀÏ°úÁ¤¿¡¼ ½ÇÆÐÇؼ ±×¸¸µÎ¾ú½À´Ï´Ù.
http://www.mathematik.uni-kl.de/~wenk/kwintv
¿¡ °¡½Ã¸é ±¸ÇϽǼö
ÀÖ½À´Ï´Ù. ¼º°øÇÏ½Ã¸é °¥ÄÑÁÖ¼¼¿ä.
¸¶Ä¡¸ç......
ÀÚÃë»ýÀε¥´Ù TV°¡¾ø¾î¼ TV Card ¼³Ä¡Çߴµ¥, Linux¿¡¼ ¼³Ä¡°¡ ½¬Áö¾Ê´õ±º¿ä.
¹Ì¸£°í ÀÖ¾ú´Â ¹é¼öóÁö¶ó ½Ã°£ÀÌ ³²±æ·¡ Çѹø½Ãµµ Çغ»´Ù´Â°Ô ±×¸¸ ÀÌƲ¹ãÀ»...
ÈåÈå.....±×·¯³ª Áñ°Å¿î ¸®´©½ÌÀ» À§Çؼ.....¼º°øÇß½À´Ï´Ù.
Á¶±ÝÀ̳ª¸¶ µµ¿òÀÌ µÇ¼ÌÀ¸¸é ÇÕ´Ï´Ù.
--
¹°º´ÀÚ¸®
Áö±Ý ¼³¸íÇÏ´Â ³»¿ëÀº Bt878 ChipÀ» »ç¿ëÇÏ´Â TV card ÀÇ ³»¿ëÀÔ´Ï´Ù.
½ÃÁß¿¡ ÆǸŵǰí ÀÖ´Â TV ¼ö½Å cardÀÇ ´ëºÎºÐÀÌ ÀÌ bt878 ȤÀº ±× °è¿À» »ç¿ëÇÏ°í ÀÖÁö¿ä..
linux¿¡¼ µ¿ÀÛÇϱâ À§ÇØ bttv ¶ó´Â driver°¡ ÀÖÀ¾´Ï´Ù.
±×·¯³ª Á¦Á¶È¸»ç ¸¶´Ù Audio Mux ºÎºÐÀÌ ¾à°£¾¿ ´Þ¶ó
TV ¿µ»óÀº ½±°Ô º¸¿© Áö³ª TV À½¼ºÀÌ Á¦´ë·Î Ãâ·ÂµÅÁö ¾Ê´Â ¹®Á¦Á¡ÀÌ ÀÖ¾úÀ¾´Ï´Ù...
±×·¡¼ ´ëºÎºÐÀÇ »ç¿ëÀÚ°¡ TV¸¦ º¸±âÀ§ÇØ(???) ºñµð¿À(VTR)¿Í TV Card¸¦ ¿µ»ó, À½¼º
cableÀ» »ç¿ëÇÏ¿©
TV cardÀÇ ¿ÜºÎ ÀԷ´ÜÀÚ(composite)¿¡ ¿¬°áÇÏ¿© ½Ãû ÇÑ °É·Î ¾Ë°í ÀÖÀ¾´Ï´Ù.
TV card°¡ ¾Æ´Ï¶ó capture boardÀÇ ±â´É¸¸ ÇßÁÒ. :-(
ÀÌÁ¦ TV card¸¸À¸·Î TV ½ÃûÀ» Çغ¸µµ·Ï ÇÏÁÒ.:-)
±×·¸°Ô Çϱâ À§Çؼ´Â bttv driver¸¦ ¾à°£(?)¼öÁ¤ ÇØ¾ß ÇÕ´Ï´Ù.
Á¦°¡ testÇÑ Á¦Ç°Àº
»ç¶÷°ú¼ÀƲÀÇ Little OnAir TV Card
½Ã±×¸¶ÄÄÀÇ Sigma TV II Card
½Ã±×¸¶ÄÄÀÇ Sigma TVII-FM Card
TestÇÑ ÀúÀÇ PCȯ°æÀÔ´Ï´Ù.
Accel linux 6.1
kernel 2.2.13
S3 trio3D
ESS1869
bttv-0.6.4h.tar.gz .
xawtv-3.07
ÀÌÁ¦ ½ÃÀÛÇØ º¼±î¿ä.. Áغñ
kernelÀÇ È¯°æ¼³Á¤ÀÌ moduleÀ» Áö¿øÇÏ°í Video for Linux ¿¡¼ bt848Ç׸ñÀÌ module·Î
¼³Á¤ÇÏ°í kernelÀÌ ÄÄÆÄÀÏ µÅÀÖ¾î¾ßÇÑ´Ù. ±×·¸Áö ¾ÊÀ¸¸é Ä¿³Î ÄÄÆÄÀÏÀ» ÇÏÀÚ..
ÇÏÁö¸¸ ´ëºÎºÐ ¹èÆ÷º»Àº ±âº»À¸·Î ¼³Á¤ µÇ¾î ÀÖ´Â °Í °°´Ù..
´ÙÀ½ µÎ °¡Áö¸¦ Áغñ
xawtv (TV application) .
bttv-0.6.4hkr.tar.gz (bttv driver) --À§ Á¦Ç°À» µ¿ÀÛ½ÃÅ°±â À§ÇØ Á¦°¡ ÆÐÄ¡ ÇÑ
¹öÀüÀÔ´Ï´Ù.bttv driver install
#tar xzvf bttv-0.6.4hkr.tar.gz
#cd bttv-0.6.4hkr/driver
#make
#make install
#make list
card=28 - Little OnAir TV
card=29 - Sigma TVII-FM
À̶ó°í Ãâ·ÂÀÌ µÉ °ÍÀÌ´Ù.
ÀڱⰡ °¡Áö°í ÀÖ´Â card ¹øÈ£¸¦ Àß ±â¾ïÇÏÀÚ../etc/conf.modules ¼öÁ¤
#vi /etc/conf.modules
´ÙÀ½ÀÇ ³»¿ëÀ» Ãß°¡ÇÑ´Ù.
Little OnAir »ç¿ëÀÚ
alias char-major-81 videodev
alias char-major-81-0 bttv
pre-install bttv modprobe -k tuner
options bttv card=28
options tuner type=2
Sigma TV II »ç¿ëÀÚ
alias char-major-81 videodev
alias char-major-81-0 bttv
pre-install bttv modprobe -k tuner
options bttv card=29
options tuner type=8
Sigma TVII+FM »ç¿ëÀÚ
alias char-major-81 videodev
alias char-major-81-0 bttv
pre-install bttv modprobe -k tuner
options bttv card=29 radio=1
options tuner type=2
ÀÌ·¸°Ô Çϸé FM ¶óµð¿Àµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù.TV ÇÁ·Î±×·¥ ¼³Ä¡
¿©·¯°¡Áö°¡ ÀÖ°ÚÁö¸¸ ¿©±â¼´Â °£´ÜÈ÷ xawtv¸¸À» »ìÆ캸ÀÚ.
#rpm -tb xawtv-3.07.tar.gz
#cd /usr/src/redhat/RPMS/i386 ¶Ç´Â #cd /usr/src/accel/RPMS/i386
#rpm -i xawtv* (3 °³ÀÇ rpm ÈÀÏÀÌ ¸¸µé¾î Áö´Â µ¥ radio ³ª mise´Â ÇÊ¿äÇÑ »ç¶÷¸¸
¼³Ä¡ÇÏ¸é µÈ´Ù.)
.xawtv¶ó´Â ȯ°æ¼³Á¤ ÈÀÏÀ»
$man xawtvÇؼ ÂüÁ¶Çؼ ÀÚ±â Ȩµð·ºÅ丮¿¡ ¸¸µé¾î ³Ö¾îµÐ´Ù..
$xawtv ÀÌÁ¦ TV¸¦ º¸ÀÚ
ÀÌ°ÍÀº ÀúÀÇ .xawtv ȯ°æ ¼³Á¤ÀÔ´Ï´Ù. ÂüÁ¶Çϼ¼¿ä..
Ȥ½Ã ¼Ò¸® Á¶ÀýÀÌ ¾È µÅ¸¸ .xawtv ÀÇ mixer=line ÀÌ ºÎºÐÀ» Á¤È®È÷ ÀÚ±â soundcardÀÇ
mixer¿¡ ¸ÂÇôÁØ´Ù.
±×¸®°í Çϳª´õ xwindowÀÇ Çػ󵵴 HI or True colour °¡ µÅ¾ß Á¦´ë·Î º¸ÀÌÁÒ..
¸¶Áö¸·À¸·Î ÇÁ·Î±×·¥¿¡ °°ÀÌ ÀÖ´Â ¹®¼µéÀ» Àß Àо¼¼¿ä...°Å±â¿¡ ¸ðµç ´äÀÌ...
P.S.1. Sigma TVII-FM »ç¿ëÀÚÀÇ FM radio ûÃë.
xawtv-radio¸¦ ¼³Ä¡ Çß´Ù¸é $radio ÇÏ¸é µÈ´Ù. ±×·±µ¥ ÀÎÅÍÆäÀ̽º°¡ ³Ê¹« .....
gtuner¶ó´Â ÇÁ·Î±×·¥ÀÌ Àִµ¥ ¿©·¯°¡Áö ±â´Éµµ ÀÖ°í ±ò²ûÇÏ°í »ç¿ëÇϱⰡ ´õ ÁÁÀ» °ÍÀÔ´Ï´Ù..,
P.S.2. ¸¸¾à Àß ¾ÈµÅ¸é PC»ç¾ç°ú error ¸Þ¼¼Áö¸¦ ÀÚ¼¼ÇÏ°Ô Àû¾î mailÁÖ¼¼¿ä..
±×¸®°í ´Ù¸¥ ȸ»ç Á¦Ç°µµ Çغ¸°í ½ÍÀºµ¥ Á¦°¡ ±¸ÇÒ¼ö°¡ ¾ø¾î¼ test¸¦ ÇÒ¼ö°¡ ¾øÀ¾´Ï´Ù.
Ȥ½Ã ¿©ºÐÀÇ card³ª ¾È¾²´Â TV card°¡ ÀÖÀ¸¸é Á» ºô·ÁÁֽʽÿä...
Mon Feb 14 21:09:19 2000
By Sang Ui Jin. thinky at hanmail.net
016-9211-3339This page was created with Bulefish
|
|
Page Loading [ 0.09 Sec ]
SQL Time [ 0.05 Sec ]
|
|
|