/* gnutv utility Copyright (C) 2004, 2005 Manu Abraham Copyright (C) 2006 Andrew de Quincey (adq_dvb@lidskialf.net) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #include #include #include #include #include #include #include #include #include #include "gnutv.h" #include "gnutv_dvb.h" #include "gnutv_ca.h" #include "gnutv_data.h" static void signal_handler(int _signal); static int quit_app = 0; void usage(void) { static const char *_usage = "\n" " gnutv: A digital tv utility\n" " Copyright (C) 2004, 2005, 2006 Manu Abraham (manu@kromtek.com)\n" " Copyright (C) 2006 Andrew de Quincey (adq_dvb@lidskialf.net)\n\n" " usage: gnutv as follows:\n" " -h help\n" " -adapter adapter to use (default 0)\n" " -frontend frontend to use (default 0)\n" " -demux demux to use (default 0)\n" " -caslotnum ca slot number to use (default 0)\n" " -channels channels.conf file.\n" " -secfile Optional sec.conf file.\n" " -secid ID of the SEC configuration to use, one of:\n" " * UNIVERSAL (default) - Europe, 10800 to 11800 MHz and 11600 to 12700 Mhz,\n" " Dual LO, loband 9750, hiband 10600 MHz.\n" " * DBS - Expressvu, North America, 12200 to 12700 MHz, Single LO, 11250 MHz.\n" " * STANDARD - 10945 to 11450 Mhz, Single LO, 10000 Mhz.\n" " * ENHANCED - Astra, 10700 to 11700 MHz, Single LO, 9750 MHz.\n" " * C-BAND - Big Dish, 3700 to 4200 MHz, Single LO, 5150 Mhz.\n" " * C-MULTI - Big Dish - Multipoint LNBf, 3700 to 4200 MHz,\n" " Dual LO, H:5150MHz, V:5750MHz.\n" " * One of the sec definitions from the secfile if supplied\n" " -buffer Custom DVR buffer size\n" " -out decoder Output to hardware decoder (default)\n" " decoderabypass Output to hardware decoder using audio bypass\n" " dvr Output stream to dvr device\n" " null Do not output anything\n" " stdout Output to stdout\n" " file Output stream to file\n" " udp
Output stream to address:port using udp\n" " udpif
Output stream to address:port using udp\n" " forcing the specified interface\n" " rtp
Output stream to address:port using udp-rtp\n" " rtpif
Output stream to address:port using udp-rtp\n" " forcing the specified interface\n" " -timeout Number of seconds to output channel for\n" " (0=>exit immediately after successful tuning, default is to output forever)\n" " -cammenu Show the CAM menu\n" " -nomoveca Do not attempt to move CA descriptors from stream to programme level\n" " \n"; fprintf(stderr, "%s\n", _usage); exit(1); } int find_channel(struct dvbcfg_zapchannel *channel, void *private_data) { struct dvbcfg_zapchannel *tmpchannel = private_data; if (strcmp(channel->name, tmpchannel->name) == 0) { memcpy(tmpchannel, channel, sizeof(struct dvbcfg_zapchannel)); return 1; } return 0; } int main(int argc, char *argv[]) { int adapter_id = 0; int frontend_id = 0; int demux_id = 0; int caslot_num
# Spain, Albacete - Update 2010/08/12 (Freud)
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
T 602000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 37: La Regional, TCM, CRN
T 674000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 46: Sogecuatro, laSexta2, laSexta3 (Todos pendientes de asignar)
T 682000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 47: CNC, Vision6, ABTeVe, Punto Radio
T 706000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 50: Boing, La 10, MTV, Punto Radio
T 730000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 53: Nitro, Marca TV, Veo13
T 754000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 56: TVE HD, Teledeporte, Pruebas TVE, RNE 1, RNE CLÁSICA, RNE 3
T 778000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 59: La 1, La 2, 24H, Clan, RNE1, RNE Clásica, RNE 3
T 810000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 63: CMT, CMT2, RCM
T 834000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 66: Veo7, Tienda en Veo, Intereconomía, AXN, Teledeporte, Radio Intereconomía, Radio Marca, esRadio, Vaughan Radio
T 842000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 67: Cuatro, CNN+, 40 Latino, Canal+ Dos, Canal Club, LaSexta, SER, 40 Principales, Cadena Dial
T 850000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 68: Telecinco, La Siete, FDF, CincoShop, Disney Channel, Punto Radio
T 858000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Canal 69: Antena 3, Neox, Nova, Gol Televisión, Onda Cero, Europa FM, Onda Melodía 
!= NULL) gnutv_dvb_stop(); // shutdown CA stuff gnutv_ca_stop(); // done exit(0); } static void signal_handler(int _signal) { (void) _signal; if (!quit_app) { quit_app = 1; } }