1 #!/bin/sh-not
    2 # playing: http://localhost:port/url
    3 # http://localhost:8000/ct1
    4 
    5 #files:
    6 #	/usr/local/bin/getstream2 (binary file)
    7 #	/usr/local/etc/getstream2.conf (configuration file)
    8 #	running record is in /etc/rc.local  (/usr/local/bin/getstream2 -d -f /usr/local/etc/getstream2.conf)
    9 
   10 # PID of chnnel detect (0xXXXX):
   11 # tzap -c .tzap/channels.conf -s -t1 CT1
   12 #
   13 #	0x0101 CT1:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:257:273:257
   14 #	0x0102 CT2:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:513:529:258
   15 #	0x0103 CT24:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:769:785:259
   16 #	0x0104 CT4:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1025:1041:260
   17 #	0x0401 CRo1-Radiozurnal:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4113:16641
   18 #	0x0402 CRo2-Praha:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4369:16642
   19 #	0x0403 CRo3-Vltava:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4625:16643
   20 #	0x0404 CRo-RadioWave:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4881:16644
   21 #	0x0405 CRo-Ddur:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5137:16645
   22 #	0x0406 CRo-Leonardo:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5393:16646
   23 #	0x0407 CRo-RadioCesko:570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5649:16647
   24 #	0x0065 NOVA:770000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:101:111:513
   25 #	0x00c9 PRIMA:770000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:201:211:769
   26 #	0x012d BARRANDOVTV:770000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:301:311:2049
   27 #	0x0191 TEST:770000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:401:411:514
   28 #	0x01f5 PRIMA2:770000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:501:511:770
   29 
   30 
   31 http {
   32 	port 8000;
   33 };
   34 
   35 adapter 0 {
   36 
   37 	dvb-t {
   38 		frequency 570000000;
   39 		bandwidth 8;
   40 		transmission-mode auto;
   41 		guard-interval auto;
   42 		hierarchy none;
   43 		modulation auto;
   44 	};
   45 
   46 
   47 	stream {
   48 		name "CT1";
   49 		input {
   50 			pnr 0x0101;
   51 		};
   52 		output-http {
   53 			url "/ct1";
   54 		};
   55 # 		output-pipe {
   56 # 			filename "/tmp/ct1";
   57 # 		};
   58 	};
   59 
   60 	stream {
   61 		name "CT2";
   62 		input {
   63 			pnr 0x0102;
   64 		};
   65 		output-http {
   66 			url "/ct2";
   67 		};
   68 	};
   69 
   70 	stream {
   71 		name "CT24";
   72 		input {
   73 			pnr 0x0103;
   74 		};
   75 		output-http {
   76 			url "/ct24";
   77 		};
   78 	};
   79 
   80 	stream {
   81 		name "CT4";
   82 		input {
   83 			pnr 0x0104;
   84 		};
   85 		output-http {
   86 			url "/ct4";
   87 		};
   88 	};
   89 
   90 };
   91 
   92 adapter 1 {
   93 
   94 	dvb-t {
   95 		frequency 770000000;
   96 		bandwidth 8;
   97 		transmission-mode auto;
   98 		guard-interval auto;
   99 		hierarchy none;
  100 		modulation auto;
  101 	};
  102 
  103 	stream {
  104 		name "NOVA";
  105 		input { #video pid 0x0065, audio pid 0x006f (co dualni zvuk?)
  106 			pid 0x0065;
  107 			pid 0x006f;
  108 		};
  109 		output-http {
  110 			url "/nova";
  111 		};
  112 	};
  113 
  114 	stream {
  115 		name "prima";
  116 		input { #video pid 0x00c9, audio pid 0x00d3
  117 			pid 0x00c9;
  118 			pid 0x00d3;
  119 		};
  120 		output-http {
  121 			url "/prima";
  122 		};
  123 	};
  124 
  125 	stream {
  126 		name "BARRANDOVTV";
  127 		input { #video pid 0x012d, audio pid 0x0137
  128 			pid 0x012d;
  129 			pid 0x0137;
  130 		};
  131 		output-http {
  132 			url "/barrandovtv";
  133 		};
  134 	};
  135 
  136 	stream {
  137 		name "TEST";
  138 		input { #video pid 0x0191, audio pid 0x019b
  139 			pid 0x0191;
  140 			pid 0x019b;
  141 		};
  142 		output-http {
  143 			url "/test";
  144 		};
  145 	};
  146 
  147 	stream {
  148 		name "PRIMA2";
  149 		input { #video pid 0x01f5, audio pid 0x01ff
  150 			pid 0x01f5;
  151 			pid 0x01ff;
  152 		};
  153 		output-http {
  154 			url "/prima2";
  155 		};
  156 	};
  157 
  158 };
  159 
  160 # EOF