Re: Captura de TV
Enviado: 20 Mai 2011, 22:11
Tentei todas as dicas, mas continua sem som a captura de tv.
Nosliml escreveu:Eu acredito que o modelo é este = Pixelview modelo PV 4900
Nosliml escreveu:Reiniciei e agora não tem som na captura de tv e não tem nenhum tipo de som mais, sumiu tudo.
O que será que deu errado??
Código: Selecionar todos
#!/bin/sh
# Script de instalação de placa de TV
# Escrito por Carlos E. Morimoto
# Dica do Megatron e do Pardal-SP
# Atualizado com a dica do Luiz1508
sudo-verificar
if [ "$?" = "3" ]; then exit 0; fi
export XDIALOG_HIGH_DIALOG_COMPAT=1
DIALOG=Xdialog
DIA=Xdialog
kinfocenter &>/dev/null &
sleep 3
$DIALOG --title "Ativar placa de TV" \
--backtitle "Ativar placa de TV" \
--radiolist "Escolha o modelo da sua placa de TV. Se não souber de cor, você pode descobrir qual modelo está instalado no seu computador com a ajuda do Kinfocenter, que abri na janela abaixo.\n" 40 75 0 \
"card=1" "MIRO PCTV " off \
"card=2" "Hauppauge old " off \
"card=3" "TV Encore ENLTV-FM " off \
"card=4" "INTEL " off \
"card=5" "Diamond DTV2000 " off \
"card=6" "AVerMedia TVPhone" off \
"card=7" "MATRIX-Vision MV-Delta " off \
"card=8" "Fly Video II " off \
"card=9" "TurboTV " off \
"card=10" "Hauppauge new (bt878) " off \
"card=11" "MIRO PCTV pro " off \
"card=12" "ADS Technologies Channel Surfer TV " off \
"card=13" "AVerMedia TVCapture 98 " off \
"card=14" "Aimslab VHX " off \
"card=15" "Zoltrix TV-Max " off \
"card=16" "Pixelview PlayTV (bt878) " off \
"card=17" "Leadtek WinView 601 " off \
"card=18" "AVEC Intercapture " off \
"card=19" "LifeView FlyKit w/o Tuner " off \
"card=20" "CEI Raffles Card " off \
"card=21" "Lucky Star Image World ConferenceTV " off \
"card=22" "Phoebe Tv Master + FM " off \
"card=23" "Modular Technology MM205 PCTV, bt878 " off \
"card=24" "Askey/Typhoon/Anubis Magic TView CPH051/061 (bt878) " off \
"card=25" "Terratec/Vobis TV-Boostar " off \
"card=26" "Newer Hauppauge WinCam (bt878) " off \
"card=27" "MAXI TV Video PCI2 " off \
"card=28" "Terratec TerraTV+ " off \
"card=29" "Imagenation PXC200 " off \
"card=30" "FlyVideo 98 " off \
"card=31" "iProTV " off \
"card=32" "Intel Create and Share PCI " off \
"card=33" "Terratec TerraTValue " off \
"card=34" "Leadtek WinFast 2000 " off \
"card=35" "Chronos Video Shuttle II " off \
"card=36" "Typhoon TView TV/FM Tuner " off \
"card=37" "PixelView PlayTV pro " off \
"card=38" "TView99 CPH063 " off \
"card=39" "Pinnacle PCTV PRO" off \
"card=40" "STB2 " off \
"card=41" "AVerMedia TVPhone 98 " off \
"card=42" "ProVideo PV951 " off \
"card=43" "Little OnAir TV " off \
"card=44" "Sigma TVII-FM " off \
"card=45" "MATRIX-Vision MV-Delta 2 " off \
"card=46" "Zoltrix Genie TV " off \
"card=47" "Terratec TV/Radio+ " off \
"card=48" "Dynalink Magic TView " off \
"card=49" "GV-BCTV3" off \
"card=50" "Prolink PV-BT878P+4E (PixelView PlayTV PAK) " off \
"card=51" "Eagle Wireless Capricorn2 (bt878A) " off \
"card=52" "Pinnacle Studio PCTV Pro tuner " off \
"card=63" "ATI TV-Wonder " off \
"card=64" "ATI TV-Wonder VE " off \
"card=65" "FlyVideo 2000S " off \
"card=70" "PlayTv MPEG2 M4900 (Prolink Pixelview PV-BT878P+)" off \
"card=72" "Prolink PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM) " off \
"card=73" "Sensoray 311 [6000:0311] " off \
"card=74" "RemoteVision MX (RV605) " off \
"card=75" "Powercolor MTV878/ MTV878R/ MTV878F" off \
"card=76" "Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP) [0e11:0079]" off \
"card=77" "GrandTec Multi Capture Card (Bt878)" off \
"card=78" "Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF [0a01:17de]" off \
"card=79" "DSP Design TCVIDEO" off \
"card=80" "Hauppauge WinTV PVR [0070:4500]" off \
"card=81" "IODATA GV-BCTV5/PCI [10fc:4070,10fc:d018]" off \
"card=82" "Osprey 100/150 (878) [0070:ff00]" off \
"card=83" "Osprey 100/150 (848)" off \
"card=84" "Osprey 101 (848)" off \
"card=85" "Osprey 101/151" off \
"card=86" "Osprey 101/151 w/ svid" off \
"card=87" "Osprey 200/201/250/251" off \
"card=88" "Osprey 200/250 [0070:ff01]" off \
"card=89" "Osprey 210/220/230" off \
"card=90" "Osprey 500 [0070:ff02] " off \
"card=91" "Osprey 540 [0070:ff04] " off \
"card=92" "Osprey 2000 [0070:ff03]" off \
"card=93" "IDS Eagle " off \
"card=94" "Pinnacle PCTV Sat [11bd:001c]" off \
"card=95" "Formac ProTV II (bt878)" off \
"card=96" "MachTV" off \
"card=97" "Euresys Picolo" off \
"card=98" "ProVideo PV150[aa00:1460,aa01:1461,aa02:1462,aa03:1463,aa04:1464,aa05:1465,aa06:1466,aa07:1467] " off \
"card=99" "AD-TVK503" off \
"card=100" "Hercules Smart TV Stereo" off \
"card=101" "Pace TV & Radio Card" off \
"card=102" "IVC-200 [0000:a155,0001:a155,0002:a155,0003:a155,0100:a155,0101:a155,0102:a155,0103:a155] " off \
"card=103" "Grand X-Guard / Trust 814PCI [0304:0102]" off \
"card=104" "Nebula Electronics DigiTV [0071:0101]" off \
"card=105" "ProVideo PV143 [aa00:1430,aa00:1431,aa00:1432,aa00:1433,aa03:1433]" off \
"card=106" "PHYTEC VD-009-X1 MiniDIN (bt878)" off \
"card=107" "PHYTEC VD-009-X1 Combi (bt878)" off \
"card=108" "PHYTEC VD-009 MiniDIN (bt878)" off \
"card=109" "PHYTEC VD-009 Combi (bt878)" off \
"card=110" "IVC-100 [ff00:a132]" off \
"card=111" "IVC-120G[ff00:a182,ff01:a182," off \
"card=112" "pcHDTV HD-2000 TV [7063:2000]" off \
"card=113" "Twinhan DST + clones [11bd:0026,1822:0001,270f:fc00,1822:0026]" off \
"card=114" "Winfast VC100 107d:6607" off \
"card=115" "Teppro TEV-560/InterVision IV-560" off \
"card=116" "SIMUS GVC1100 [aa6a:82b2]" off \
"card=117" "NGS NGSTV+" off \
"card=118" "LMLBT4" off \
"card=119" "Tekram M205 PRO" off \
"card=120" "Conceptronic CONTVFMi" off \
"card=121" "Euresys Picolo Tetra [1805:0105,1805:0106,1805:0107,1805:0108]" off \
"card=122" "Spirit TV Tuner" off \
"card=123" "AVerMedia AVerTV DVB-T 771 [1461:0771]" off \
"card=124" "AverMedia AverTV DVB-T 761 [1461:0761]" off \
"card=125" "MATRIX Vision Sigma-SQ" off \
"card=126" "MATRIX Vision Sigma-SLC" off \
"card=127" "APAC Viewcomp 878(AMAX)" off \
"card=128" "DViCO FusionHDTV DVB-T Lite [18ac:db10]" off \
"card=129" "V-Gear MyVCD" off \
"card=130" "Super TV Tuner" off \
"card=131" "Tibet Systems 'Progress DVR' CS16" off \
"card=132" "Kodicom 4400R (master)" off \
"card=133" "Kodicom 4400R (slave)" off \
"card=134" "Adlink RTV24" off \
"card=135" "DViCO FusionHDTV 5 Lite [18ac:d500]" off \
"card=136" "Acorp Y878F [9511:1540]" off \
"card=137" "Conceptronic CTVFMi v2" off \
"card=138" "Prolink Pixelview PV-BT878P+ (Rev.2E)" off \
"card=139" "Prolink PixelView PlayTV MPEG2 PV-M4900" off \
"card=140" "Osprey 440 [0070:ff07]" off \
"card=141" "Asound Skyeye PCTV" off \
"card=142" "Sabrent TV-FM (bttv version)" off \
"card=143" "Hauppauge ImpactVCB (bt878) [0070:13eb]" off \
"card=144" "MagicTV" off \
"Sair" "Sair sem fazer nada" off 2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
modelo="$choice"
echo $modelo
$DIALOG --title "Ativar placa de TV" \
--backtitle "Ativar placa de TV" \
--radiolist "Indique o modelo do Tuner usado na sua placa. Os mais comuns são o Philips NTSC (modelo 2) e Philips 1236D (modelo 43). O nome do fabricante do Tuner vem quase sempre marcado sobre a chapa de metal ou pelo menos escrito na etiqueta sobre a placa, facilitando bastante a identificação. \n" 40 75 0 \
"tuner=0" "Temic PAL " off \
"tuner=1" "Philips PAL_I " off \
"tuner=2" "Philips NTSC " off \
"tuner=3" "Philips SECAM " off \
"tuner=4" "NoTuner " off \
"tuner=5" "Philips PAL " off \
"tuner=6" "Temic NTSC " off \
"tuner=7" "Temic PAL_I " off \
"tuner=8" "Temic 4036 FY5 NTSC " off \
"tuner=9" "Alps HSBH1 " off \
"tuner=10" "Alps TSBE1 " off \
"tuner=11" "Alps TSBB5 " off \
"tuner=12" "Alps TSBE5 " off \
"tuner=13" "Alps TSBC5 " off \
"tuner=14" "Temic 4006FH5 " off \
"tuner=15" "Alps TSCH6" off \
"tuner=16" "Temic PAL_DK (4016 FY5)" off \
"tuner=17" "Philips NTSC_M (MK2)" off \
"tuner=18" "Temic PAL_I (4066 FY5)" off \
"tuner=19" "Temic PAL* auto (4006 FN5)" off \
"tuner=20" "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)" off \
"tuner=21" "Temic NTSC (4039 FR5)" off \
"tuner=22" "Temic PAL/SECAM multi (4046 FM5" off \
"tuner=23" "Philips PAL_DK (FI1256 and compatibles)" off \
"tuner=24" "Philips PAL/SECAM multi (FQ1216ME)" off \
"tuner=25" "LG PAL_I+FM (TAPC-I001D)" off \
"tuner=26" "LG PAL_I (TAPC-I701D)" off \
"tuner=27" "LG NTSC+FM (TPI8NSR01F)" off \
"tuner=28" "LG PAL_BG+FM (TPI8PSB01D)" off \
"tuner=29" "LG PAL_BG (TPI8PSB11D)" off \
"tuner=30" "Temic PAL* auto + FM (4009 FN5)" off \
"tuner=31" "SHARP NTSC_JP (2U5JF5540)" off \
"tuner=32" "Samsung PAL TCPM9091PD27" off \
"tuner=33" "Pinnacle PCTV PRO" off \
"tuner=34" "Temic PAL_BG (4106 FH5)" off \
"tuner=35" "Temic PAL_DK/SECAM_L (4012 FY5)" off \
"tuner=36" "Temic NTSC (4136 FY5)" off \
"tuner=37" "LG PAL (newer TAPC series)" off \
"tuner=38" "Philips PAL/SECAM multi (FM1216ME MK3)" off \
"tuner=39" "TV Encore ENLTV-FM" off \
"tuner=40" "HITACHI V7-J180AT" off \
"tuner=41" "Philips PAL_MK (FI1216 MK)" off \
"tuner=42" "Philips 1236D ATSC/NTSC dual in" off \
"tuner=43" "Philips 1236D (PlayTv MPEG2 M4900)" off \
"tuner=44" "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)" off \
"tuner=45" "Microtune 4049 FM5" off \
"tuner=46" "Panasonic VP27s/ENGE4324D" off \
"tuner=47" "LG NTSC (TAPE series)" off \
"tuner=48" "Tenna TNF 8831 BGFF)" off \
"tuner=49" "Microtune 4042 FI5 ATSC/NTSC dual in" off \
"tuner=50" "TCL 2002N" off \
"tuner=51" "Philips PAL/SECAM_D (FM 1256 I-H3)" off \
"tuner=52" "Thomson DTT 7610 (ATSC/NTSC)" off \
"tuner=53" "Philips FQ1286" off \
"tuner=54" "tda8290+75" off \
"tuner=55" "TCL 2002MBv" off \
"tuner=56" "Philips PAL/SECAM multi (FQ1216AME MK4)" off \
"tuner=57" "Philips FQ1236A MK4" off \
"tuner=58" "Ymec TVision TVF-8531MF/8831MF/8731MF" off \
"tuner=59" "Ymec TVision TVF-5533MF" off \
"tuner=60" "Thomson DTT 761X (ATSC/NTSC)" off \
"tuner=61" "Tena TNF9533-D/IF/TNF9533-B/DF" off \
"tuner=62" "Philips TEA5767HN FM Radio" off \
"tuner=63" "Philips FMD1216ME MK3 Hybrid Tuner" off \
"tuner=64" "LG TDVS-H06xF" off \
"tuner=65" "Ymec TVF66T5-B/DFF" off \
"tuner=66" "LG TALN series" off \
"tuner=67" "Philips TD1316 Hybrid Tuner" off \
"tuner=68" "Philips TUV1236D ATSC/NTSC dual in" off \
"tuner=69" "Tena TNF 5335 and similar models" off \
"tuner=70" "Samsung TCPN 2121P30A" off \
"tuner=71" "Xceive xc3028" off \
"tuner=72" "Thomson FE6600" off \
"tuner=73" "Samsung TCPG 6121P30A" off 2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
tuner="$choice"
echo $tuner
$DIALOG --title "Ativar placa de TV" \
--backtitle "Ativar placa de TV" \
--radiolist "Deseja ativar o rádio da sua placa?. \n" 15 40 0 \
"radio=0" "Radio desligado " off \
"radio=1" "Radio ligado " off 2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
radio="$choice"
echo $radio
# -----------------------------------
sudo rm -f /etc/modprobe.d/tv
echo '# bttv' > /tmp/configurartv
echo 'alias char-major-81 videodev' >> /tmp/configurartv
echo 'alias char-major-81-0 bttv' >> /tmp/configurartv
echo "options bttv $modelo $tuner $radio" >> /tmp/configurartv
sudo mv /tmp/configurartv /etc/modprobe.d/tv
sudo chmod 644 /etc/modprobe.d/tv
sed -e 's/SUBSYSTEM=="video4linux", GROUP="video"/SUBSYSTEM=="video4linux", MODE="0666", GROUP="video"/g' /etc/udev/permissions.rules > /tmp/permissions.rules
sudo rm -f /etc/udev/permissions.rules; sudo mv /tmp/permissions.rules /etc/udev/permissions.rules; sudo chmod 644 /etc/udev/permissions.rules
sudo modprobe bttv $modelo $tuner radio=0
##################################
# Carrega os módulos necessários
# Função do Ricardo Volkweis Lopes
TV=`lsmod | grep bttv | gawk -F " " '{ print $4 }'| tr "\n" " " | gawk -F " " '{ print $1 }'`
if [ "$TV" != "bttv" ] ; then sudo modprobe -r $TV; fi
if [ "$card" = "3" ]; then
# Dica do Napster no fórum para a Encore ENLTV-FM:
modprobe -r bttv
modprobe -r tuner
modprobe -r saa7134
modprobe bttv
modprobe saa7134 card=3 tuner=39
sudo chmod ugo+rwx /dev/video0
sudo rm -f /etc/rcS.d/S90placatv; sudo touch /etc/rcS.d/S90placatv; sudo chmod 666 /etc/rcS.d/S90placatv
echo '#!/bin/sh' > /etc/rcS.d/S90placatv
echo "modprobe -r bttv" >> /etc/rcS.d/S90placatv
echo "modprobe -r tuner" >> /etc/rcS.d/S90placatv
echo "modprobe -r saa7134" >> /etc/rcS.d/S90placatv
echo "modprobe bttv" >> /etc/rcS.d/S90placatv
echo "modprobe saa7134 card=3 tuner=39" >> /etc/rcS.d/S90placatv
echo "sudo chmod ugo+rwx /dev/video0" >> /etc/rcS.d/S90placatv
sudo chmod 755 /etc/rcS.d/S90placatv
else
# Outras placas
sudo modprobe -r bt878
sudo modprobe -r bttv
sudo modprobe -r tuner
sudo modprobe bttv $modelo $tuner
sudo chmod ugo+rwx /dev/video0
sudo rm -f /etc/rcS.d/S90placatv; sudo touch /etc/rcS.d/S90placatv; sudo chmod 666 /etc/rcS.d/S90placatv
echo '#!/bin/sh' > /etc/rcS.d/S90placatv
echo "TV=\`lsmod | grep bttv | gawk -F \" \" '{ print \$4 }'| tr \"\\n\" \" \" | gawk -F \" \" '{ print \$1 }'\`" >> /etc/rcS.d/S90placatv
echo 'if [ "$TV" != "bttv" ] ; then sudo modprobe -r $TV; fi' >> /etc/rcS.d/S90placatv
echo 'modprobe -r bt878' >> /etc/rcS.d/S90placatv
echo 'modprobe -r bttv' >> /etc/rcS.d/S90placatv
echo 'modprobe -r tuner' >> /etc/rcS.d/S90placatv
echo "modprobe bttv $modelo $tuner" >> /etc/rcS.d/S90placatv
echo "sleep 3" >> /etc/rcS.d/S90placatv
echo 'chmod ugo+rwx /dev/video0' >> /etc/rcS.d/S90placatv
sudo chmod 755 /etc/rcS.d/S90placatv
fi
clear
##################################
M1="A instalação está completa. \n
O menu de configuração de placas de TV está dentro do Iniciar > Multimídia > TV.
Abra o TVtime e acesse a opção Channel Configuration > Scan channels for signal.
Por padrão, o TVtime vem configurado para usar PAL-M (o padrão de TV de Portugal) e
sintonizar os canais da TV aberta. Se você tem TV a cabo, basta sintonizar o canal 3.\n\n
Por padrão, o TVtime utiliza a entrada coaxial da placa, usada pela antena. Se você tem
um DVD Player ou videogame que usa um cabo Composite ou S-Video, ajuste em: Input
Configuration > Change Video Source."
$DIALOG --backtitle "Instalar Placa de TV" --title "Instalar Placa de TV" --msgbox "$M1" 22 75
# -----------------------------------
if [ "$choice" = "Sair" ];
then
exit 0
fi
exit 0
------------------------------------
exit 0
Caro Nosliml,Nosliml escreveu:Se alguem tiver alguma solução sobre a captura e gravação de tv, por favor me avise.
Ademilson