cornel florentin dimitriu - tune in... on linux

Download Cornel Florentin Dimitriu - Tune in... on Linux

Post on 19-Jun-2015

477 views

Category:

Technology

0 download

Embed Size (px)

TRANSCRIPT

  • 1. Tune in ... on Linux !Urmreste, posturi de televiziune, cu,ajutorul unui TV tuner si folosind Linux ! ,Cornel-Florentin Dimitriuntlnire RLUG, Februarie 2011

2. Tune in ... on Linux !IntroducereUtilitateStandardeReceptie , Echipament Software ExempluAlte aplicatii ,Alte informatii, 3. Utilitateutilizare ocazionalrealizarea unui sistem personalizat (PVR custom-made, IPTVbroadcast server, s.a.) ,obtinerea unui sistem compact si ieftin, , 4. Standarde - Radio (Audio)ANALOGIC: AM FM + standardele TV 5. Standarde - Radio (Audio)ANALOGIC: AM FM + standardele TVDIGITAL: DAB (OFDM) DRM (OFDM) DRM+ (OFDM) HD Radio (OFDM) T-DMB (OFDM) ISDB-TSB (OFDM) + standardele TV 6. Standarde - TV (Audio-video)ANALOGIC: PAL B/G/D/K/I SECAM NTSC 7. Standarde - TV (Audio-video)ANALOGIC: PAL B/G/D/K/I SECAM NTSCDIGITAL: DVB-T (OFDM + QAM64) / DVB-T2 (OFDM + QAM256) DVB-C (QAM256) / DVB-C2 (OFDM + QAM4096) DVB-S (BPSK, QPSK, 8PSK, QAM16) / DVB-S2 (32APSK) DVB-H (DVB-T + IP), DVB-NGH, DVB-SH ATSC (terestru: 8VSB ; cablu: 16VSB, 256QAM) ISDB-T (OFDM + QAM64), ISDB-C, DMB, etc. 8. Tune in ... on Linux !IntroducereUtilitateStandardeReceptie , Echipament Software ExempluAlte aplicatii ,Alte informatii, 9. Echipament - Device (tuner+demodulator) plac PCI/PCI-Express) stick USB/PCMCIA/ExpressCard) box USB box stand-alone (receptor) HDMI(audio inclus, DRM)/Component/VGA/SCART/S-Video/Composite + audio analogic/digital tuner generic + demodulare software 10. Echipament - AntenEMISIE TERESTR: omnidirectional, unidirectional , multidirectional (de exemplu: anten compus,, omnidirectional + re ector, etc.) , 11. Echipament - AntenEMISIE TERESTR: omnidirectional, unidirectional , multidirectional (de exemplu: anten compus,, omnidirectional + re ector, etc.) ,EMISIE PRIN SATELIT: re ector parabolic (prime focus) sau o set + LNB/C (pentru banda Ku, sau pentru banda C) 12. Echipament - AntenEMISIE TERESTR: omnidirectional, unidirectional , multidirectional (de exemplu: anten compus,, omnidirectional + re ector, etc.) ,EMISIE PRIN SATELIT: re ector parabolic (prime focus) sau o set + LNB/C (pentru banda Ku, sau pentru banda C)*TIP DE POLARIZARE: vertical / orizontal / circular 13. Echipament - AntenEMISIE TERESTR: omnidirectional, unidirectional , multidirectional (de exemplu: anten compus,, omnidirectional + re ector, etc.) ,EMISIE PRIN SATELIT: re ector parabolic (prime focus) sau o set + LNB/C (pentru banda Ku, sau pentru banda C)*TIP DE POLARIZARE: vertical / orizontal / circular*TRANSPORT: cablu + ampli cator 14. Software - Drivere si rmware , video 4 linux (v4l, v4l2, dvb) kernel.org / linuxtv.org compilare modul de kernel obtinere rmware , 15. Software - Con gurare si testare, wizard speci c distributiei, optiuni ale modulului de kernel , 16. Software - Con gurare si testare - Analogic,/dev/videoN si /dev/vbiN,0 N < numrul device-urilor V4L prezente n sistemSCANARE:scantv (xawtv), tvtime, tvtime-scannerTESTARE:mplayer 17. Software - Con gurare si testare - Digital,/dev/dvb/adapterN/demuxM, dvrM, frontendM, netM0 N < numrul device-urilor DVB prezente n sistem0 M < numrul tunerelor, pe care le are un anumit deviceSCANARE:dvb-apps (scan), w_scanTESTARE:dvb-apps (tzap, czap, szap, azap, gnutv, femon, dvbnet)mplayer 18. Software - Playere TVANALOGIC: mplayer/mencoder tvtime xawtv 19. Software - Playere TVANALOGIC: mplayer/mencoder tvtime xawtvDIGITAL: mplayer/mencoder xine ka eine totem vlc 20. Software - Playere TVANALOGIC: mplayer/mencoder tvtime xawtvDIGITAL: mplayer/mencoder xine ka eine totem vlcPVR: mythtv, vdr, xbmc 21. Software - Playere TVANALOGIC: mplayer/mencoder tvtime xawtvDIGITAL: mplayer/mencoder xine ka eine totem vlcPVR: mythtv, vdr, xbmcTELETEXT, EPG 22. Exemplu - Pagina.1TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, , 23. Exemplu - Pagina.1TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Exist drivere pentru placa n cauz:http://www.linuxtv.org/wiki/index.php/DVB-T_PCI_Cards 24. Exemplu - Pagina.1TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Exist drivere pentru placa n cauz:http://www.linuxtv.org/wiki/index.php/DVB-T_PCI_CardsDevice-ul contine chip-urile:,Philips/NXP TDA10046 - demodulator DVB-TPhilips/NXP TDA8290 - demodulator TV analogic si radio ,AM/FMPhilips/NXP TDA8275 - silicon tunerPhilips/NXP SAA7133 - bridge PCI, digital pass-through,decodor audio-video analogic (intrare video: tuner + CVBS +S-Video si audio: AM + FM + pass-through) , 25. Exemplu - Pagina.1TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Exist drivere pentru placa n cauz:http://www.linuxtv.org/wiki/index.php/DVB-T_PCI_CardsDevice-ul contine chip-urile:,Philips/NXP TDA10046 - demodulator DVB-TPhilips/NXP TDA8290 - demodulator TV analogic si radio ,AM/FMPhilips/NXP TDA8275 - silicon tunerPhilips/NXP SAA7133 - bridge PCI, digital pass-through,decodor audio-video analogic (intrare video: tuner + CVBS +S-Video si audio: AM + FM + pass-through) ,Kernel-ul ncarc modulele: saa7134, saa7134_dvb,saa7134_alsa, tda1004x, tda827x, tda8290 26. Exemplu - Pagina.2TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Sunt create device-urile: /dev/video0/dev/vbi0/dev/dvb/adapter0/demux0/dev/dvb/adapter0/dvr0/dev/dvb/adapter0/frontend0/dev/dvb/adapter0/net0 27. Exemplu - Pagina.2TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Sunt create device-urile: /dev/video0/dev/vbi0/dev/dvb/adapter0/demux0/dev/dvb/adapter0/dvr0/dev/dvb/adapter0/frontend0/dev/dvb/adapter0/net0n caz c rmware-ul nu se gseste ntr-un pachet din cadrul ,distributiei, se poate extrage, folosind scriptul perl:,Documentation/dvb/get_dvb_ rmware tda10046 , dinfolder-ul cu sursele kernelului. 28. Exemplu - Pagina.2TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Sunt create device-urile: /dev/video0/dev/vbi0/dev/dvb/adapter0/demux0/dev/dvb/adapter0/dvr0/dev/dvb/adapter0/frontend0/dev/dvb/adapter0/net0n caz c rmware-ul nu se gseste ntr-un pachet din cadrul ,distributiei, se poate extrage, folosind scriptul perl:,Documentation/dvb/get_dvb_ rmware tda10046 , dinfolder-ul cu sursele kernelului.tvtime-scanner gseste cteva posturi, din care doar unul se ,poate receptiona n conditii bune: Canalul 57 - Antena1, , 29. Exemplu - Pagina.3TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,w_scan gseste 3 transpondere:,# w_scan -c RO -xT[2] freq bw fec_hi fec_lo mod tm guard hiT 546000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 738000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 778000000 8MHz 2/3 NONE QAM64 8k 1/16 NONE 30. Exemplu - Pagina.3TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,w_scan gseste 3 transpondere:,# w_scan -c RO -xT[2] freq bw fec_hi fec_lo mod tm guard hiT 546000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 738000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 778000000 8MHz 2/3 NONE QAM64 8k 1/16 NONEscan foloseste datele de mai sus (copiate n,/usr/share/dvb/dvb-t/ro-Bucharest) si obtine lista canalelor ,,DVB-T disponibile n Bucuresti, la momentul actual: ,Pro Tv HD ; Sport.ro HD ; TVR 1 ; TVR 2 ; TVR HD ; NationalTV ; TVR Cultural ; TVR3 ; Antena 3 ; B1Astfel, rezult sierul de con gurare channels.conf., 31. Exemplu - Pagina.4TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Informatiile pe care le-a furnizat w_scan, se pot insera, n,sierul /.kde/share/apps/ka eine/scan le.dvb :, [dvb-t/ro-Bucharest]T 546000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 738000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 778000000 8MHz 2/3 NONE QAM64 8k 1/16 NONE 32. Exemplu - Pagina.4TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Informatiile pe care le-a furnizat w_scan, se pot insera, n,sierul /.kde/share/apps/ka eine/scan le.dvb :, [dvb-t/ro-Bucharest]T 546000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 738000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 778000000 8MHz 2/3 NONE QAM64 8k 1/16 NONEApoi, se poate folosi interfata Ka eine, pentru a cuta si a ,,aduga n playlist, programele DVB disponibile. 33. Exemplu - Pagina.4TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Informatiile pe care le-a furnizat w_scan, se pot insera, n,sierul /.kde/share/apps/ka eine/scan le.dvb :, [dvb-t/ro-Bucharest]T 546000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 738000000 8MHz 2/3 NONE QAM64 8k 1/16 NONET 778000000 8MHz 2/3 NONE QAM64 8k 1/16 NONEApoi, se poate folosi interfata Ka eine, pentru a cuta si a ,,aduga n playlist, programele DVB disponibile.Fisierul channels.conf, generat de ctre scan, se poate copia n ,folderele /.mplayer/ ; /.tzap/ ; /.xine/si apoi, se pot folosi programele respective, pentru a receptiona, ,canalele din list. 34. Exemplu - Pagina.5TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Tot pe baza sierului channels.conf, se poate genera un ,playlist .M3U care se deschide, apoi, cu vlc.De exemplu, pentru un canal, entry-ul va : #EXTM3U#EXTINF:0,Pro Tv HD#EXTVLCOPT:dvb-adapter=1#EXTVLCOPT:dvb-frequency=546000000#EXTVLCOPT:program=101#EXTVLCOPT:dvb-bandwidth=8dvb:// 35. Exemplu - Pagina.5TV tuner - ASUS My Cinema P7131 DualKernel - 2.6.35.10Locul receptiei - Bucuresti - Drumu Taberei, ,Tot pe baza sierului channels.conf, se poate genera un ,playlist .M3U care se deschide, apoi, cu vlc.De exemplu, pentru un canal, entry-ul va : #EXTM3U#EXTINF:0,Pro Tv HD#EXTVLCOPT:dvb-adapter=1#EXTVLCOPT:dvb-frequency=546000000#EXTVLCOPT:program=101#EXTVLCOPT:dvb-bandwidth=8dvb://Ori de cte ori o aplicatie va