Добрый день,
c сервера при отсутствии основного источника, переключаемся на резервный hls поток, который в том числе отправляется на sumavision
stream tlum_hd {
url udp://229.1.9.2:1234/10.10.72.8;
url hls://172.22.222.108:80/Rezerv_tlum_hd/index.m3u8 source_timeout=600;
title “Тлум HD”;
prepush off;
dvr /usr/storage 1d 90% 150G;
hds off;
rtmp off;
rtsp off;
dash off;
mpegts off;
}stream Rezerv_tlum_hd {
url tshttp://109.254.x.x:1234/udp/238.1.2.64:1234 priority=10;
title “Тлум HD”;
hds off;
rtmp off;
rtsp off;
dash off;
mpegts off;
mpegts_pids pcr=1001 pmt=56 v1=1001 a1=1110;
udp 229.1.109.2:1234/10.10.72.8;
}
анализ входного потока говорит, что ошибок нет
astra --analyze http://109.254.x.x:1234/udp/238.1.2.64:1234
Summary
Aug 29 03:36:03: INFO: Starting Astra 4.4.182
Aug 29 03:36:03: INFO: PAT: tsid: 20
Aug 29 03:36:03: INFO: PAT: pid: 40 PMT pnr: 1409
Aug 29 03:36:03: INFO: PAT: crc32: 0xCA949477
Aug 29 03:36:03: INFO: PMT: pnr: 1409
Aug 29 03:36:03: INFO: PMT: pid: 2409 PCR
Aug 29 03:36:03: INFO: VIDEO: pid: 2409 type: 0x1B
Aug 29 03:36:03: INFO: VIDEO: descriptor: 0x060102
Aug 29 03:36:03: INFO: VIDEO: descriptor: 0x0E03C06218
Aug 29 03:36:03: INFO: VIDEO: Stream ID: 1
Aug 29 03:36:03: INFO: VIDEO: descriptor: 0x02031A445F
Aug 29 03:36:03: INFO: VIDEO: descriptor: 0x28046400283F
Aug 29 03:36:03: INFO: AUDIO: pid: 3409 type: 0x04
Aug 29 03:36:03: INFO: AUDIO: descriptor: 0x030167
Aug 29 03:36:03: INFO: AUDIO: Language: rus
Aug 29 03:36:03: INFO: AUDIO: descriptor: 0x0E03C00203
Aug 29 03:36:03: INFO: AUDIO: Stream ID: 2
Aug 29 03:36:03: INFO: PMT: crc32: 0x798DD3EC
Aug 29 03:36:03: INFO: SDT: tsid: 20
Aug 29 03:36:03: INFO: SDT: sid: 1409
Aug 29 03:36:03: INFO: SDT: Service: Тлум HD
Aug 29 03:36:03: INFO: SDT: Provider: Orion Express
Aug 29 03:36:03: INFO: SDT: crc32: 0xEE5859C6
Aug 29 03:36:04: INFO: Bitrate: 4470 Kbit/s
Aug 29 03:36:05: INFO: Bitrate: 5103 Kbit/s
Aug 29 03:36:06: INFO: Bitrate: 5737 Kbit/s
Aug 29 03:36:07: INFO: Bitrate: 5388 Kbit/s
Aug 29 03:36:08: INFO: Bitrate: 5947 Kbit/s
Aug 29 03:36:09: INFO: Bitrate: 5904 Kbit/s
Aug 29 03:36:10: INFO: Bitrate: 6631 Kbit/s
Aug 29 03:36:11: INFO: Bitrate: 7326 Kbit/s
Aug 29 03:36:12: INFO: Bitrate: 7410 Kbit/s
Aug 29 03:36:13: INFO: Bitrate: 6864 Kbit/s
Aug 29 03:36:14: INFO: Bitrate: 6799 Kbit/s
Aug 29 03:36:15: INFO: Bitrate: 6020 Kbit/s
а вот выходной с сервера сыпит ерором через один:
Aug 29 03:36:45: ERROR: CC: PID:1001=50
astra --analyze udp://10.10.72.8@229.1.109.2:1234
Summary
Aug 29 03:36:43: INFO: Starting Astra 4.4.182
Aug 29 03:36:43: INFO: PAT: tsid: 20
Aug 29 03:36:43: INFO: PAT: pid: 56 PMT pnr: 1409
Aug 29 03:36:43: INFO: PAT: crc32: 0x182B9F25
Aug 29 03:36:43: INFO: PMT: pnr: 1409
Aug 29 03:36:43: INFO: PMT: pid: 1001 PCR
Aug 29 03:36:43: INFO: VIDEO: pid: 1001 type: 0x1B
Aug 29 03:36:43: INFO: VIDEO: Stream ID: 1
Aug 29 03:36:43: INFO: VIDEO: descriptor: 0x060102
Aug 29 03:36:43: INFO: VIDEO: descriptor: 0x0E03006219
Aug 29 03:36:43: INFO: VIDEO: descriptor: 0x02031A445F
Aug 29 03:36:43: INFO: VIDEO: descriptor: 0x28046400283F
Aug 29 03:36:43: INFO: AUDIO: pid: 1110 type: 0x04
Aug 29 03:36:43: INFO: AUDIO: Language: rus
Aug 29 03:36:43: INFO: AUDIO: Stream ID: 2
Aug 29 03:36:43: INFO: AUDIO: descriptor: 0x030167
Aug 29 03:36:43: INFO: AUDIO: descriptor: 0x0E03000203
Aug 29 03:36:43: INFO: PMT: crc32: 0x5371C1C1
Aug 29 03:36:44: INFO: Bitrate: 6490 Kbit/s
Aug 29 03:36:45: INFO: Bitrate: 6356 Kbit/s
Aug 29 03:36:45: ERROR: CC: PID:1001=50
Aug 29 03:36:46: INFO: Bitrate: 4761 Kbit/s
Aug 29 03:36:46: ERROR: CC: PID:1001=46
Aug 29 03:36:47: INFO: Bitrate: 5121 Kbit/s
Aug 29 03:36:47: ERROR: CC: PID:1001=42
Aug 29 03:36:48: INFO: Bitrate: 6862 Kbit/s
Aug 29 03:36:48: ERROR: CC: PID:1001=59
Aug 29 03:36:49: INFO: Bitrate: 4637 Kbit/s
Aug 29 03:36:49: ERROR: CC: PID:1001=45
Aug 29 03:36:50: INFO: Bitrate: 5575 Kbit/s
Aug 29 03:36:50: ERROR: CC: PID:1001=48
Aug 29 03:36:51: INFO: Bitrate: 5326 Kbit/s
Aug 29 03:36:51: ERROR: CC: PID:1001=40
Aug 29 03:36:52: INFO: Bitrate: 10118 Kbit/s
Aug 29 03:36:52: ERROR: CC: PID:1001=85
Aug 29 03:36:53: INFO: Bitrate: 5715 Kbit/s
Aug 29 03:36:53: ERROR: CC: PID:1001=75
Aug 29 03:36:54: INFO: Bitrate: 3035 Kbit/s
Aug 29 03:36:54: ERROR: CC: PID:1001=35
Что не так?