Pasha_49

Untitled

Aug 18th, 2011
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.84 KB | None | 0 0
  1. Внимания я всё делал от root "sudo su"
  2.  
  3. Для начала проверим наличее DVB-карт
  4.  
  5. #lspci
  6.  
  7. SS2- Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
  8. SS3- Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
  9.  
  10. Сами устройства находятся тут /dev/dvb/
  11.  
  12. Ставим драйвера v4l http://linuxtv.org/
  13. для них потребуются:
  14.  
  15. #apt-get install linux-source linux-headers linux-image libncurses5-dev
  16. придётся некоторые компанетны выбрать вручную
  17.  
  18. устанавливаем v4l:
  19. #make all
  20. #make install
  21.  
  22. Процес долгий можете налить чаю Smiley
  23. из пойманых мною глюкав оказалось нестаится с неправельной датой, make install выполнял из папки v4l и с флэшки неставился.
  24. Можети попить чаю процес долгий.
  25. Перезагружаем машыну...
  26.  
  27. проверяем транспортеры. для этого создаём фаил с содержымым:
  28.  
  29. S частота поляризация скорость fec
  30. например S 11044000 V 44950000 3/4
  31.  
  32. scan я нашол в комплекте dvb-utils
  33.  
  34. # apt-get install dvb-utils
  35.  
  36. выполняем:
  37.  
  38. scan -a устройство фаил
  39. например #scan -a 1 53
  40.  
  41. если паказал станции и их пиды то всё нормально
  42.  
  43. ставим getstream
  44.  
  45. #apt-get install getstream но я советую ставить с исходников если будите патчить Smiley
  46. http://silicon-verl.de/home/flo/projects/streaming/
  47.  
  48. Для сборки потребуется:
  49. #apt-get install libevent-dev libglib2.0-dev
  50.  
  51. Если собераетесь пропатчеть для того чтоб играло радио в винампе(внимаение перестаёт вещать видео и играть радио в WMP я ставил 2 getstream`a):
  52. http://tipok.org.ua/downloads/iptv/DVB/ ... ps-es.diff Патчь
  53. #patch -p1 < filter-ps-es.diff
  54.  
  55. Собераем getstream:
  56. #make
  57. #cp getstream /usr/local/bin
  58.  
  59. Дальше создаём фаил где описываем каналы такого типа:
  60.  
  61. http{
  62. port 8000;
  63. };
  64.  
  65.  
  66. adapter 0 {
  67. packet-buffer 50;
  68. stat-interval 120;
  69.  
  70.  
  71.  
  72. dvb-s {
  73. lnb {
  74. lof1 9750000; #Нижний предел
  75. lof2 10600000; #Верхний предел
  76. slof 11700000; #Частота переключения
  77. };
  78. transponder { #описываем транспондер
  79. frequency 11671000; #Частота приема
  80. polarisation v; #поляризация
  81. symbol-rate 18200000; #символьная скорость
  82. };
  83. };
  84. #начало описания потока
  85. stream {
  86. name "Serebryany Dozhd"; #имя потока
  87.  
  88.  
  89.  
  90. #входные данные потока
  91. input {
  92. pnr 2100; #pid пакета на спутнике
  93. };
  94.  
  95.  
  96.  
  97. #выходные данные для потока
  98. output-http {
  99. url /serebryany_dozhd; #URL адрес, на который будет вещаение
  100. };
  101. };
  102.  
  103. для пропатченого:
  104. output-http {
  105. filter {
  106. es;
  107. };
  108. url /serebryany_dozhd; #URL адрес, на который будет вещаение
  109. };
  110.  
  111. запускаем так
  112. getsream -c имя фаила -d
  113. -с обязателен
  114. имя фаила с натроенными каналами
  115. -d показывать статистику
  116. -dd ещё больше статистики
  117. в моём случии
  118. screen -d -m /usr/local/bin/getstream -c /home/radio/video-53+60+75+80+90
  119.  
  120. а для пользователя создаём плайлист:
  121.  
  122. #EXTM3U
  123. #EXTINF:-131,Серебрянный дождь
  124. http://Имя сервера/serebryany_dozhd
  125. мои фаилы:
  126. Цитата
  127. http{
  128. port 8001;
  129. };
  130.  
  131. adapter 4 {
  132. packet-buffer 50;
  133. stat-interval 120;
  134.  
  135. dvb-s {
  136. lnb {
  137. lof1 9750000;
  138. lof2 10600000;
  139. slof 11700000;
  140. };
  141. transponder {
  142. frequency 11606000;
  143. polarisation v;
  144. symbol-rate 44950000;
  145. };
  146. };
  147.  
  148. stream {
  149. name "1Rock";
  150. input {
  151. pnr 30;
  152. };
  153. output-http {
  154. url /1Rock;
  155. };
  156. };
  157. };
  158. adapter 0 {
  159. packet-buffer 50;
  160. stat-interval 120;
  161.  
  162. dvb-s {
  163. lnb {
  164. lof1 9750000;
  165. lof2 10600000;
  166. slof 11700000;
  167. };
  168. transponder {
  169. frequency 11044000;
  170. polarisation v;
  171. symbol-rate 44950000;
  172. };
  173. };
  174.  
  175. stream {
  176. name "MuzTV";
  177. input {
  178. pnr 5;
  179. };
  180. output-http {
  181. url /MuzTV;
  182. };
  183. };
  184.  
  185. stream {
  186. name "1Muz";
  187. input {
  188. pnr 1;
  189. };
  190. output-http {
  191. url /1Muz;
  192. };
  193. };
  194.  
  195. stream {
  196. name "TV7";
  197. input {
  198. pnr 2;
  199. };
  200. output-http {
  201. url /TV7;
  202. };
  203. };
  204.  
  205. stream {
  206. name "Expert";
  207. input {
  208. pnr 9;
  209. };
  210. output-http {
  211. url /Expert;
  212. };
  213. };
  214.  
  215. stream {
  216. name "Grozny";
  217. input {
  218. pnr 10;
  219. };
  220. output-http {
  221. url /Grozny;
  222. };
  223. };
  224.  
  225. stream {
  226. name "1TVRUS";
  227. input {
  228. pnr 11;
  229. };
  230. output-http {
  231. url /1TVRUS;
  232. };
  233. };
  234. };
  235.  
  236. adapter 3 {
  237. packet-buffer 50;
  238. stat-interval 120;
  239.  
  240. dvb-s {
  241. lnb {
  242. lof1 9750000;
  243. lof2 10600000;
  244. slof 11700000;
  245. };
  246. transponder {
  247. frequency 11092000;
  248. polarisation v;
  249. symbol-rate 26470000;
  250. };
  251. };
  252.  
  253. stream {
  254. name "RenTV";
  255. input {
  256. pnr 3600;
  257. };
  258. output-http {
  259. url /RenTV;
  260. };
  261. };
  262.  
  263. stream {
  264. name "Vesti";
  265. input {
  266. pnr 3900;
  267. };
  268. output-http {
  269. url /Vesti;
  270. };
  271. };
  272.  
  273. stream {
  274. name "Bibigon";
  275. input {
  276. pnr 4000;
  277. };
  278. output-http {
  279. url /Bibigon;
  280. };
  281. };
  282. };
  283. adapter 2 {
  284. packet-buffer 50;
  285. stat-interval 120;
  286.  
  287. dvb-s {
  288. lnb {
  289. lof1 9750000;
  290. lof2 10600000;
  291. slof 11700000;
  292. };
  293. transponder {
  294. frequency 12670000;
  295. polarisation v;
  296. symbol-rate 22000000;
  297. };
  298. };
  299.  
  300. stream {
  301. name "2x2";
  302. input {
  303. pnr 200;
  304. };
  305. output-http {
  306. url /2x2;
  307. };
  308. };
  309.  
  310. stream {
  311. name "LUXE_TV";
  312. input {
  313. pnr 100;
  314. };
  315. output-http {
  316. url /LUXE_TV;
  317. };
  318. };
  319.  
  320. stream {
  321. name "TVclub";
  322. input {
  323. pnr 600;
  324. };
  325. output-http {
  326. url /TVclub;
  327. };
  328. };
  329. };
  330.  
  331. adapter 1 {
  332. packet-buffer 50;
  333. stat-interval 120;
  334.  
  335. dvb-s {
  336. lnb {
  337. lof1 9750000;
  338. lof2 10600000;
  339. slof 11700000;
  340. };
  341. transponder {
  342. frequency 12579000;
  343. polarisation v;
  344. symbol-rate 22000000;
  345. };
  346. };
  347.  
  348. stream {
  349. name "A-ONE";
  350. input {
  351. pnr 1300;
  352. };
  353. output-http {
  354. url /A-ONE;
  355. };
  356. };
  357.  
  358. stream {
  359. name "TV-Sale";
  360. input {
  361. pnr 1400;
  362. };
  363. output-http {
  364. url /TV-Sale;
  365. };
  366. };
  367.  
  368. stream {
  369. name "Topshop";
  370. input {
  371. pnr 1500;
  372. };
  373. output-http {
  374. url /Topshop;
  375. };
  376. };
  377. };
  378. плайлист
  379. Цитата
  380. #EXTM3U
  381. #EXTINF:-1,1Rock
  382. http://192.168.32.10:8001/1Rock
  383. #EXTINF:-1,A-ONE
  384. http://192.168.32.10:8001/A-ONE
  385. #EXTINF:-1,2x2
  386. http://192.168.32.10:8001/2x2
  387. #EXTINF:-1,МузТВ
  388. http://192.168.32.10:8001/MuzTV
  389. #EXTINF:-1,1Музыкальный
  390. http://192.168.32.10:8001/1Mus
  391. #EXTINF:-1,7 ТВ
  392. http://192.168.32.10:8001/TV7
  393. #EXTINF:-1,Эксперт
  394. http://192.168.32.10:8001/Expert
  395. #EXTINF:-1,Грозный
  396. http://192.168.32.10:8001/Grozny
  397. #EXTINF:-1,Первый канал
  398. http://192.168.32.10:8001/1TVRUS
  399. #EXTINF:-1,REN TV
  400. http://192.168.32.10:8001/RenTV
  401. #EXTINF:-1,Вести 24
  402. http://192.168.32.10:8001/Vesti
  403. #EXTINF:-1,Бибигон
  404. http://192.168.32.10:8001/Bibigon
  405. #EXTINF:-1,Luxe TV
  406. http://192.168.32.10:8001/LUXE_TV
  407. #EXTINF:-1,TV Club
  408. http://192.168.32.10:8001/TVclub
  409. #EXTINF:-1,TV Sale
  410. http://192.168.32.10:8001/TV-Sale
  411. #EXTINF:-1,Top Shop
  412. http://192.168.32.10:8001/Topshop
  413. а такде я к munin приделал 2 скрипта:
  414. Для статистики сигналов с DVB-карт Tuner=№ вашей DVB-карты
  415. Цитата
  416. Tuner=0
  417.  
  418. case $1 in
  419. autoconf|detect)
  420. if [ -e /dev/dvb/adapter$Tuner/ ] ; then
  421. echo yes
  422. exit 0
  423. else
  424. echo "no (dvb tuner $Tuner not found)"
  425. exit 1
  426. fi;;
  427. config)
  428. echo 'graph_title DVB-0'
  429. echo 'graph_args --base 1000 -l 0'
  430. echo 'graph_vlabel Signal Strength % / Errors in 000s'
  431. echo 'graph_category mythtv'
  432. echo 'graph_scale no'
  433.  
  434. echo "signal.label Signal strength"
  435. echo "signal.draw LINE1"
  436. echo "signal.min 0"
  437.  
  438. echo "snr.label Signal to noise"
  439. echo "snr.draw LINE1"
  440. echo "snr.min 0"
  441.  
  442. echo "ber.label Bit error rate (in millions)"
  443. echo "ber.draw LINE1"
  444. echo "ber.min 0"
  445.  
  446. echo "unc.label Uncorrectable errors (in thousands)"
  447. echo "unc.draw LINE1"
  448. echo "unc.min 0"
  449. exit 0;;
  450. esac
  451.  
  452. if [ -e /dev/dvb/adapter$Tuner/ ] ; then
  453. check=`femon -H -c 1 -a $Tuner | grep signal `
  454. echo $check | awk '{printf "signal.value %.0f\nsnr.value %.0f\nber.value %.2f\nunc.value %.2f\n\n",$5,$8,$11/1000,$14/1000000}'
  455. else
  456. echo "snr.value 0"
  457. echo "unc.value 0"
  458. echo "ber.value 0"
  459. echo "signal.value 0"
  460. fi
  461.  
  462. exit 0
  463. И для статистика смотрящих TV
  464. Цитата
  465. if [ "$1" = "config" ]; then
  466. echo 'graph_title See TV'
  467. echo 'graph_args --base 1000 -l 0'
  468. echo 'graph_vlabel shtuck'
  469. echo 'graph_category Network'
  470. echo 'graph_scale no'
  471.  
  472. echo "tcp.label see TV"
  473. echo "tcp.draw LINE1"
  474. echo "tcp.min 0"
  475.  
  476. exit 0
  477. fi
  478.  
  479. echo -n "tcp.value "
  480. echo `/bin/netstat -p tcp -n | grep 8001 | grep ESTABLISHED | wc -l`
  481. Всё рабочее остальное зависит от ваших рук Cool
  482.  
  483.  
  484. http://forum.ubuntu.ru/index.php?topic=84821.0
  485.  
  486. https://bitbucket.org/a84/getstream/iss ... ent-338062 getstream a84
  487. https://bitbucket.org/a84/getstream/issues
  488. Код: Выделить всё
  489. trafshow -ni eth2 port 1234
  490.  
  491. Код: Выделить всё
  492. dmesg | grep vmalloc
  493. [ 0.000000] vmalloc : 0xf83fe000 - 0xffbfe000 ( 120 MB)
  494.  
  495. проверка памяти
  496. Код: Выделить всё
  497. cat /proc/meminfo
  498.  
  499. Код: Выделить всё
  500. в oscam.pids откроешь, если карта стоит в картридере (52 или Belka, у меня 52)
  501. 4AE0/15 # 3K (52)
  502. #4AE0/0 # 3K (Belka)
  503. 4AE1/11 # 3K (13)
  504. У меня на Е2 AFF эта сборка oscam как клиент на Платформе работала в режиме dvbapi.
  505.  
  506. http://forum.sat-expert.com/ipbox-99x-e ... ika-7.html
  507. http://www.sat-expert.com/Dreambox/p2_articleid/1359
  508. /usr/src/s2-liplianin/linux/drivers/media/dvb/dvb-core/dmxdev.h
  509.  
  510. Код: Выделить всё
  511. #define DVR_BUFFER_SIZE (10*188*1024*4)
  512.  
  513. пересборка дров
  514. Код: Выделить всё
  515. make clean
  516. make distslean
  517. make rminstall
  518. make -i
  519. make install
  520.  
  521.  
  522. http://blog.brovary-fun.com/?p=380
  523.  
  524.  
  525.  
  526. freedom
  527.  
  528. Сообщения: 147
  529. Зарегистрирован: 25 фев 2009, 19:09
  530. Вернуться к началу
  531. Re: Getstream
  532.  
  533. freedom » 14 фев 2011, 00:21
  534. Femon - в процентах
  535. Код: Выделить всё
  536. /* femon -- monitor frontend status
  537. *
  538. * Copyright (C) 2003 convergence GmbH
  539. * Johannes Stezenbach <[email protected]>
  540. *
  541. * This program is free software; you can redistribute it and/or modify
  542. * it under the terms of the GNU General Public License as published by
  543. * the Free Software Foundation; either version 2 of the License, or
  544. * (at your option) any later version.
  545. *
  546. * This program is distributed in the hope that it will be useful,
  547. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  548. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  549. * GNU General Public License for more details.
  550. *
  551. * You should have received a copy of the GNU General Public License
  552. * along with this program; if not, write to the Free Software
  553. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  554. */
  555.  
  556.  
  557. #include <stdio.h>
  558. #include <stdlib.h>
  559. #include <limits.h>
  560. #include <string.h>
  561. #include <errno.h>
  562. #include <sys/ioctl.h>
  563. #include <sys/types.h>
  564. #include <sys/stat.h>
  565. #include <sys/poll.h>
  566. #include <fcntl.h>
  567. #include <time.h>
  568. #include <unistd.h>
  569.  
  570. #include <stdint.h>
  571. #include <sys/time.h>
  572.  
  573. #include <linux/dvb/frontend.h>
  574.  
  575. #ifndef TRUE
  576. #define TRUE (1==1)
  577. #endif
  578. #ifndef FALSE
  579. #define FALSE (1==0)
  580. #endif
  581.  
  582.  
  583. #define FRONTENDDEVICE "/dev/dvb/adapter%d/frontend%d"
  584.  
  585. static char *usage_str =
  586. "\nusage: femon [options]\n"
  587. " -a number : use given adapter (default 0)\n"
  588. " -f number : use given frontend (default 0)\n"
  589. " -o number : use format out in hex(0)/%(1) (default 0)\n\n";
  590.  
  591. static void usage(void)
  592. {
  593. fprintf(stderr, usage_str);
  594. exit(1);
  595. }
  596.  
  597. static
  598. int check_frontend (int fe_fd, unsigned int formout)
  599. {
  600. fe_status_t status;
  601. uint16_t snr, signal;
  602. uint32_t ber, uncorrected_blocks;
  603.  
  604. do {
  605. ioctl(fe_fd, FE_READ_STATUS, &status);
  606. ioctl(fe_fd, FE_READ_SIGNAL_STRENGTH, &signal);
  607. ioctl(fe_fd, FE_READ_SNR, &snr);
  608. ioctl(fe_fd, FE_READ_BER, &ber);
  609. ioctl(fe_fd, FE_READ_UNCORRECTED_BLOCKS, &uncorrected_blocks);
  610. if (formout==0) {
  611. printf ("status %02x | signal %04x | snr %04x | ber %08x | unc %08x | ",
  612. status, signal, snr, ber, uncorrected_blocks);
  613. } else {
  614. printf ("status %02x | signal %3.2f%% | snr %3.2f%% | ber %08x | unc %08x | ",
  615. status, (double)(signal/655.35), (double)snr/655.35, ber, uncorrected_blocks);
  616. }
  617. if (status & FE_HAS_LOCK)
  618. printf("FE_HAS_LOCK");
  619.  
  620. printf("\n");
  621. usleep(1000000);
  622. } while (1);
  623.  
  624. return 0;
  625. }
  626.  
  627.  
  628. static
  629. int do_mon(unsigned int adapter, unsigned int frontend, unsigned int formout)
  630. {
  631. char fedev[128];
  632. int fefd;
  633. int result;
  634. struct dvb_frontend_info fe_info;
  635.  
  636. snprintf(fedev, sizeof(fedev), FRONTENDDEVICE, adapter, frontend);
  637. printf("using '%s'\n", fedev);
  638.  
  639. if ((fefd = open(fedev, O_RDONLY | O_NONBLOCK)) < 0) {
  640. perror("opening frontend failed");
  641. return FALSE;
  642. }
  643.  
  644. result = ioctl(fefd, FE_GET_INFO, &fe_info);
  645.  
  646. if (result < 0) {
  647. perror("ioctl FE_GET_INFO failed");
  648. close(fefd);
  649. return FALSE;
  650. }
  651.  
  652. printf("FE: %s (%s)\n", fe_info.name, fe_info.type == FE_QPSK ? "SAT" :
  653. fe_info.type == FE_QAM ? "CABLE": "TERRESTRIAL");
  654.  
  655. check_frontend (fefd, formout);
  656.  
  657. close(fefd);
  658.  
  659. return result;
  660. }
  661.  
  662. int main(int argc, char *argv[])
  663. {
  664. unsigned int adapter = 0, frontend = 0, formout = 0;
  665. int opt;
  666.  
  667. while ((opt = getopt(argc, argv, "hlrn:a:f:d:o:")) != -1) {
  668. switch (opt)
  669. {
  670. case '?':
  671. case 'h':
  672. default:
  673. usage();
  674. case 'a':
  675. adapter = strtoul(optarg, NULL, 0);
  676. break;
  677. case 'f':
  678. frontend = strtoul(optarg, NULL, 0);
  679. case 'o':
  680. formout = strtoul(optarg, NULL, 0);
  681. }
  682. }
  683.  
  684. do_mon(adapter, frontend, formout);
  685.  
  686. return FALSE;
  687. }
  688.  
  689. Собрать gcc femon.c -o femon
  690. Запускать ./femon -o 1
  691.  
  692. http://viaccessfree.biz/forum/showthrea ... 932&page=2
  693.  
  694. запуск femon
  695. Код: Выделить всё
  696. femon -H -a 3
  697.  
  698. 3 - это номер адаптера
  699.  
  700.  
  701.  
  702. freedom
  703.  
  704. Сообщения: 147
  705. Зарегистрирован: 25 фев 2009, 19:09
  706. Вернуться к началу
  707. Re: Getstream
  708.  
  709. freedom » 10 май 2011, 20:33
  710. Ман по getstream a84
  711. https://cesbo.com/projects/iptv/wiki/Ge ... version=16
  712. https://bitbucket.org/a84/gs_public/iss ... tatus=open
  713.  
  714.  
  715.  
  716. freedom
  717.  
  718. Сообщения: 147
  719. Зарегистрирован: 25 фев 2009, 19:09
  720. Вернуться к началу
  721. Re: Getstream
  722.  
  723. freedom » 10 май 2011, 21:08
  724. Код: Выделить всё
  725. newcamd 1 {
  726. hostname "127.0.0.1";
  727. port 5005;
  728. username "fantom";
  729. password "111";
  730. cfgkey "0102030405060708091011121314";
  731. prov-ident "000015";
  732. disable-emm 0;
  733. fifo-size 256;
  734. delay 0;
  735. };
  736.  
  737. adapter 2 { packet-buffer 7; stat-interval 50; stuck-interval 200; budget-mode 0;
  738. dvb-s2 {
  739. lnb { lof1 10700000; lof2 10600000; slof 11700000; };
  740. transponder { frequency 12380000; polarisation v; symbol-rate 26400000; }; };
  741. stream { name "Sport 1"; input { pnr 120; newcamd 1;}; output-udp {remote-address 239.172.20.212; remote-port 1234;};};
  742. stream { name "Nathional Geographic HD"; input { pnr 40; newcamd 1;}; output-udp {remote-address 239.172.20.211; remote-port 1234;};};
  743. stream { name "Nat Geo Wild HD"; input { pnr 50; newcamd 1;}; output-udp {remote-address 239.172.20.213; remote-port 1234;};};
  744. stream { name "HD Sport"; input { pnr 20; newcamd 1;}; output-udp {remote-address 239.172.20.214; remote-port 1234;};};
  745. };
  746.  
  747.  
  748. трик
  749. Код: Выделить всё
  750. http{
  751. port 8000;
  752. };
  753. newcamd 1 {
  754. hostname "10.10.10.23";
  755. port "10000";
  756. username "baton";
  757. password "baton";
  758. cfgkey "0102030405060708091011121314";
  759. prov-ident "000011";
  760. disable-emm 0;
  761. fifo-size 256;
  762. delay 0;
  763. };
  764. adapter 0 {
  765. budget-mode 0;
  766. packet-buffer 7;
  767. stat-interval 50;
  768. stuck-interval 200;
  769. dvb-s {
  770.  
  771. lnb-sharing no;
  772. lnb {
  773. lof1 10750000;
  774. lof2 10750000;
  775. slof 10750000;
  776. };
  777. transponder {
  778. frequency 12303000;
  779. polarisation h;
  780. symbol-rate 27500000;
  781. };
  782. };
  783.  
  784. stream {
  785. name "Bridge TV";
  786. input {
  787. pnr 410;
  788. newcamd 1;
  789. epg 1;
  790. };
  791. output-http {
  792. url /1;
  793. };
  794. };
  795. };
  796.  
  797.  
  798. Триколор 1226 L DVB-S SR 27500 FEC 3/4
  799. Код: Выделить всё
  800. newcamd 1 {
  801. hostname "127.0.0.1";
  802. port 10000;
  803. username "user";
  804. password "user";
  805. cfgkey "0102030405060708091011121314";
  806. prov-ident "000011";
  807. disable-emm 0;
  808. fifo-size 256;
  809. delay 0;
  810. };
  811.  
  812. adapter 0 {
  813. packet-buffer 63; # обязательно должно быть кратно 7
  814. budget-mode 0;
  815. stat-interval 120;
  816. stuck-interval 200;
  817. dvb-s {
  818. lnb {
  819. lof1 10750000;
  820. lof2 10750000;
  821. slof 10750000;
  822. };
  823. transponder {
  824. frequency 12226000;
  825. polarisation h;
  826. symbol-rate 27500000;
  827. };
  828. lnb-sharing no;
  829. };
  830. stream {
  831. name "Perviy kanal";
  832. input {
  833. pnr 27005;
  834. ecm-group 0x11;
  835. epg 1;
  836. newcamd 1;
  837. };
  838. output-udp {
  839. remote-address
  840. 239.100.1.13;
  841. remote-port 1234;
  842. ttl 4;
  843. };
  844. };
  845. stream {
  846. name "Rossiya 1";
  847. input {
  848. pnr 27010;
  849. ecm-group 0x11;
  850. epg 1;
  851. newcamd 1;
  852. };
  853. output-udp {
  854. remote-address
  855. 239.100.1.1;
  856. remote-port 1234;
  857. ttl 4;
  858. };
  859. };
  860. stream {
  861. name "NTV";
  862. input {
  863. pnr 27015;
  864. ecm-group 0x11;
  865. epg 1;
  866. newcamd 1;
  867. };
  868. output-udp {
  869. remote-address
  870. 239.100.1.2;
  871. remote-port 1234;
  872. ttl 4;
  873. };
  874. };
  875. stream {
  876. name "Rossiya K";
  877. input {
  878. pnr 27020;
  879. ecm-group 0x11;
  880. epg 1;
  881. newcamd 1;
  882. };
  883. output-udp {
  884. remote-address
  885. 239.100.1.3;
  886. remote-port 1234;
  887. ttl 4;
  888. };
  889. };
  890. stream {
  891. name "TNT";
  892. input {
  893. pnr 27025;
  894. ecm-group 0x11;
  895. epg 1;
  896. newcamd 1;
  897. };
  898. output-udp {
  899. remote-address
  900. 239.100.1.4;
  901. remote-port 1234;
  902. ttl 4;
  903. };
  904. };
  905. stream {
  906. name "Rossiya 2";
  907. input {
  908. pnr 27030;
  909. ecm-group 0x11;
  910. epg 1;
  911. newcamd 1;
  912. };
  913. output-udp {
  914. remote-address
  915. 239.100.1.5;
  916. remote-port 1234;
  917. ttl 4;
  918. };
  919. };
  920. stream {
  921. name "Rossiya 24";
  922. input {
  923. pnr 27040;
  924. ecm-group 0x11;
  925. epg 1;
  926. newcamd 1;
  927. };
  928. output-udp {
  929. remote-address
  930. 239.100.1.6;
  931. remote-port 1234;
  932. ttl 4;
  933. };
  934. };
  935. stream {
  936. name "5 Kanal";
  937. input {
  938. pnr 27050;
  939. ecm-group 0x11;
  940. epg 1;
  941. newcamd 1;
  942. };
  943. output-udp {
  944. remote-address
  945. 239.100.1.7;
  946. remote-port 1234;
  947. ttl 4;
  948. };
  949. };
  950. stream {
  951. name "DTV";
  952. input {
  953. pnr 27060;
  954. ecm-group 0x11;
  955. epg 1;
  956. newcamd 1;
  957. };
  958. output-udp {
  959. remote-address
  960. 239.100.1.8;
  961. remote-port 1234;
  962. ttl 4;
  963. };
  964. };
  965. stream {
  966. name "REN TV";
  967. input {
  968. pnr 27070;
  969. ecm-group 0x11;
  970. epg 1;
  971. newcamd 1;
  972. };
  973. output-udp {
  974. remote-address
  975. 239.100.1.9;
  976. remote-port 1234;
  977. ttl 4;
  978. };
  979. };
  980. stream {
  981. name "Karusel";
  982. input {
  983. pnr 27090;
  984. ecm-group 0x11;
  985. epg 1;
  986. newcamd 1;
  987. };
  988. output-udp {
  989. remote-address
  990. 239.100.1.10;
  991. remote-port 1234;
  992. ttl 4;
  993. };
  994. };
  995. stream {
  996. name "TV Centr";
  997. input {
  998. pnr 27100;
  999. ecm-group 0x11;
  1000. epg 1;
  1001. newcamd 1;
  1002. };
  1003. output-udp {
  1004. remote-address
  1005. 239.100.1.11;
  1006. remote-port 1234;
  1007. ttl 4;
  1008. };
  1009. };
  1010. stream {
  1011. name "Ru TV";
  1012. input {
  1013. pnr 27110;
  1014. ecm-group 0x11;
  1015. epg 1;
  1016. newcamd 1;
  1017. };
  1018. output-udp {
  1019. remote-address
  1020. 239.100.1.12;
  1021. remote-port 1234;
  1022. ttl 4;
  1023. };
  1024. };
  1025. };
  1026.  
  1027. Tricolor 12303 L DVB-S SR 27500 FEC 3/4
  1028. Код: Выделить всё
  1029. newcamd 1 {
  1030. hostname "127.0.0.1";
  1031. port 10000;
  1032. username "user";
  1033. password "user";
  1034. cfgkey "0102030405060708091011121314";
  1035. prov-ident "000011";
  1036. disable-emm 0;
  1037. fifo-size 256;
  1038. delay 0;
  1039. };
  1040.  
  1041. adapter 0 {
Advertisement
Add Comment
Please, Sign In to add comment