Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      News!   12/10/17

      If you have any questions related to installation and purchase, please check our documentation https://cesbo.com/en/astra/docs/ and terms of service https://cesbo.com/en/terms/
      Also, we have an official Telegram chat: https://t.me/cesbo_en  you can ask any questions or share your experience with colleagues Если у вас возникли вопросы по установке и покупке, ознакомьтесь пожалуйста с документацией по адресу https://cesbo.com/ru/astra/docs/ и условиями использования https://cesbo.com/ru/terms/
      Так же, обращаю внимание, что у нас есть официальный Телеграмм чат: https://t.me/cesbo_ru в котором можно задать вопросы - или поделиться своим опытом с коллегами
Saint

Проблемы с HLS-input

Recommended Posts

Добрый день. У нас возникла проблема с входящими HLS потоками на астре v5.63. Одни потоки работают, другие нет, хотя идут от одного провайдера. Вот лог на поток, который не работает. Все делаю через веб-интерфейс. Помогите, что может быть? 

Feb 28 17:58:20
[test4epoque i/1] Bitrate:2183Kbit/s PES:0 CC:0
Feb 28 17:58:25
[test4epoque] Channel has no active inputs
Feb 28 17:58:31
[test4epoque i/1] PAT tsid:1 version:0
Feb 28 17:58:31
[test4epoque i/1] PAT PMT pid:4097 pnr:1
Feb 28 17:58:31
[test4epoque i/1] PAT crc32:0x2E701905
Feb 28 17:58:31
[test4epoque i/1] PMT pnr:1 version:0
Feb 28 17:58:31
[test4epoque i/1] PCR pid:256
Feb 28 17:58:31
[test4epoque i/1] VIDEO pid:256 type:0x1B
Feb 28 17:58:31
[test4epoque i/1] AUDIO pid:257 type:0x0F
Feb 28 17:58:31
[test4epoque i/1] PMT crc32:0x2F44B99B
Feb 28 17:58:31
[test4epoque i/1] Bitrate:3119Kbit/s
Feb 28 17:58:31
[test4epoque] Active input #1
Feb 28 17:58:42
[test4epoque o/1] mpegts/sync. pcr out of range. +11080ms
Feb 28 17:58:58
[test4epoque o/1] mpegts/sync. pcr out of range. +4480ms
Feb 28 17:59:17
[test4epoque o/1] mpegts/sync. pcr out of range. +13720ms
Feb 28 17:59:48
[test4epoque o/1] mpegts/sync. pcr out of range. +20000ms
Feb 28 18:00:15
[test4epoque o/1] mpegts/sync. pcr out of range. +13000ms
Feb 28 18:00:43
[test4epoque o/1] mpegts/sync. pcr out of range. +20000ms
Feb 28 18:01:04
[test4epoque o/1] mpegts/sync. pcr out of range. +7880ms
Feb 28 18:01:27
[test4epoque o/1] mpegts/sync. pcr out of range. +20000ms
Feb 28 18:01:52
[test4epoque o/1] mpegts/sync. pcr out of range. +12600ms
Feb 28 18:02:09
[test4epoque o/1] mpegts/sync. pcr out of range. +7880ms
Feb 28 18:02:22
[test4epoque o/1] mpegts/sync. pcr out of range. +7840ms
Feb 28 18:02:36
[test4epoque o/1] mpegts/sync. pcr out of range. +9840ms
Feb 28 18:02:52
[test4epoque o/1] mpegts/sync. pcr out of range. +12840ms
 

Share this post


Link to post
Share on other sites

Вот логи канала hls который работает, но прерывается часто

Feb 28 18:20:06
[test4epoque i/1] Bitrate:3171Kbit/s PES:0 CC:0
Feb 28 18:20:11
[test4epoque] Channel has no active inputs
Feb 28 18:20:18
[test4epoque i/1] PAT tsid:1 version:0
Feb 28 18:20:18
[test4epoque i/1] PAT PMT pid:4097 pnr:1
Feb 28 18:20:18
[test4epoque i/1] PAT crc32:0x2E701905
Feb 28 18:20:18
[test4epoque i/1] PMT pnr:1 version:0
Feb 28 18:20:18
[test4epoque i/1] PCR pid:256
Feb 28 18:20:18
[test4epoque i/1] VIDEO pid:256 type:0x1B
Feb 28 18:20:18
[test4epoque i/1] AUDIO pid:257 type:0x0F
Feb 28 18:20:18
[test4epoque i/1] PMT crc32:0x2F44B99B
Feb 28 18:20:19
[test4epoque i/1] Bitrate:3049Kbit/s
Feb 28 18:20:19
[test4epoque] Active input #1
Feb 28 18:20:24
[test4epoque o/1] mpegts/sync. pcr out of range. +5840ms
Feb 28 18:20:36
[test4epoque o/1] mpegts/sync. pcr out of range. +3960ms
Feb 28 18:20:53
[test4epoque o/1] mpegts/sync. buffer limit [size:1325Kb time:1400ms]
Feb 28 18:21:08
[test4epoque o/1] mpegts/sync. buffer empty [size:0Kb time:1920ms]

Share this post


Link to post
Share on other sites

Сделал, вот анализ нерабочей в астре хлс, которая выдает вышеупомянутые ошибки при попытке ее выпустить в мультикаст

Mar 01 18:03:03: DEBUG: [analyze] Request:
GET /hls/accent.m3u8 HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:03: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:04 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 170
Last-Modified: Thu, 01 Mar 2018 16:03:04 GMT
Connection: keep-alive
ETag: "5a982438-aa"
Expires: Thu, 01 Mar 2018 16:03:03 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:03: DEBUG: [analyze] Content:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:6258
#EXT-X-TARGETDURATION:17
#EXTINF:17.000,
accent-6258.ts
#EXTINF:10.000,
accent-6259.ts
#EXTINF:10.000,
accent-6260.ts

Mar 01 18:03:03: DEBUG: [analyze] Request:
GET /hls/accent-6258.ts HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:03: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:04 GMT
Content-Type: video/mp2t
Content-Length: 4912440
Last-Modified: Thu, 01 Mar 2018 16:02:44 GMT
Connection: keep-alive
ETag: "5a982424-4af538"
Expires: Thu, 01 Mar 2018 16:03:03 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:03: DEBUG: [analyze] mpegts/sync. Select PCR pid:256
Mar 01 18:03:03: DEBUG: [analyze] chunk /hls/accent-6258.ts downloaded in 108ms
Mar 01 18:03:03: DEBUG: [analyze] Request:
GET /hls/accent-6259.ts HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:03: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:04 GMT
Content-Type: video/mp2t
Content-Length: 2859856
Last-Modified: Thu, 01 Mar 2018 16:02:54 GMT
Connection: keep-alive
ETag: "5a98242e-2ba350"
Expires: Thu, 01 Mar 2018 16:03:03 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:03: DEBUG: [analyze] mpegts/sync. buffer 17000ms ready in 108ms. bitrate 2311Kbit/s
Mar 01 18:03:03: DEBUG: [analyze] chunk /hls/accent-6259.ts downloaded in 54ms
Mar 01 18:03:03: DEBUG: [analyze] Request:
GET /hls/accent-6260.ts HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:03: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:04 GMT
Content-Type: video/mp2t
Content-Length: 2846884
Last-Modified: Thu, 01 Mar 2018 16:03:04 GMT
Connection: keep-alive
ETag: "5a982438-2b70a4"
Expires: Thu, 01 Mar 2018 16:03:03 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:03: DEBUG: [analyze] chunk /hls/accent-6260.ts downloaded in 51ms
Mar 01 18:03:04: INFO: Bitrate: 1955 Kbit/s
Mar 01 18:03:05: INFO: Bitrate: 2204 Kbit/s
Mar 01 18:03:06: INFO: Bitrate: 2206 Kbit/s
Mar 01 18:03:07: INFO: Bitrate: 2204 Kbit/s
Mar 01 18:03:08: INFO: Bitrate: 2206 Kbit/s
Mar 01 18:03:09: INFO: Bitrate: 2204 Kbit/s
Mar 01 18:03:10: INFO: Bitrate: 2206 Kbit/s
Mar 01 18:03:11: INFO: Bitrate: 2204 Kbit/s
Mar 01 18:03:12: INFO: Bitrate: 2206 Kbit/s
Mar 01 18:03:13: INFO: Bitrate: 2284 Kbit/s
Mar 01 18:03:14: INFO: Bitrate: 2448 Kbit/s
Mar 01 18:03:15: INFO: Bitrate: 2447 Kbit/s
Mar 01 18:03:16: INFO: Bitrate: 2448 Kbit/s
Mar 01 18:03:17: INFO: Bitrate: 2448 Kbit/s
Mar 01 18:03:18: INFO: Bitrate: 2448 Kbit/s
Mar 01 18:03:19: INFO: Bitrate: 2447 Kbit/s
Mar 01 18:03:20: INFO: Bitrate: 2448 Kbit/s
Mar 01 18:03:20: DEBUG: [analyze] Request:
GET /hls/accent.m3u8 HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:20: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:21 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 170
Last-Modified: Thu, 01 Mar 2018 16:03:18 GMT
Connection: keep-alive
ETag: "5a982446-aa"
Expires: Thu, 01 Mar 2018 16:03:20 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:20: DEBUG: [analyze] Content:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:6259
#EXT-X-TARGETDURATION:14
#EXTINF:10.000,
accent-6259.ts
#EXTINF:10.000,
accent-6260.ts
#EXTINF:13.960,
accent-6261.ts

Mar 01 18:03:20: DEBUG: [analyze] Request:
GET /hls/accent-6261.ts HTTP/1.1
Host: 92.115.237.171
User-Agent: Astra


Mar 01 18:03:20: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 01 Mar 2018 16:03:21 GMT
Content-Type: video/mp2t
Content-Length: 4165140
Last-Modified: Thu, 01 Mar 2018 16:03:17 GMT
Connection: keep-alive
ETag: "5a982445-3f8e14"
Expires: Thu, 01 Mar 2018 16:03:20 GMT
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:03:20: DEBUG: [analyze] chunk /hls/accent-6261.ts downloaded in 82ms
Mar 01 18:03:20: INFO: PAT tsid:1 version:0
Mar 01 18:03:20: INFO: PAT    PMT pid:4097 pnr:1
Mar 01 18:03:20: INFO: PAT crc32:0x2E701905
Mar 01 18:03:20: INFO: PMT pnr:1 version:0
Mar 01 18:03:20: INFO: PCR pid:256
Mar 01 18:03:20: INFO: VIDEO pid:256 type:0x1B
Mar 01 18:03:20: INFO: AUDIO pid:257 type:0x0F
Mar 01 18:03:20: INFO: PMT crc32:0x2F44B99B
Mar 01 18:03:21: INFO: Bitrate: 2303 Kbit/s
Mar 01 18:03:22: INFO: Bitrate: 2287 Kbit/s
Mar 01 18:03:23: INFO: Bitrate: 2289 Kbit/s
Mar 01 18:03:24: INFO: Bitrate: 2286 Kbit/s
 

Share this post


Link to post
Share on other sites

А вот анализ точно такой же хлс ссылки с которой проблем нет, она нормально работает. Хотя в VLC работают нормально обе


Mar 01 18:05:50: DEBUG: [analyze] Request:
GET /hls/star.family.m3u8 HTTP/1.1
Host: 91.230.214.87
User-Agent: Astra


Mar 01 18:05:50: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 01 Mar 2018 16:13:50 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 189
Last-Modified: Thu, 01 Mar 2018 16:13:50 GMT
Connection: keep-alive
ETag: "5a9826be-bd"
Expires: Thu, 01 Mar 2018 16:13:49 GMT
Cache-Control: no-cache
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:05:50: DEBUG: [analyze] Content:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:24412
#EXT-X-TARGETDURATION:10
#EXTINF:10.000,
star.family-24412.ts
#EXTINF:10.000,
star.family-24413.ts
#EXTINF:10.000,
star.family-24414.ts

Mar 01 18:05:50: DEBUG: [analyze] Request:
GET /hls/star.family-24412.ts HTTP/1.1
Host: 91.230.214.87
User-Agent: Astra


Mar 01 18:05:50: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 01 Mar 2018 16:13:50 GMT
Content-Type: video/mp2t
Content-Length: 2694416
Last-Modified: Thu, 01 Mar 2018 16:13:30 GMT
Connection: keep-alive
ETag: "5a9826aa-291d10"
Expires: Thu, 01 Mar 2018 16:13:49 GMT
Cache-Control: no-cache
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:05:50: DEBUG: [analyze] mpegts/sync. Select PCR pid:256
Mar 01 18:05:50: DEBUG: [analyze] chunk /hls/star.family-24412.ts downloaded in 70ms
Mar 01 18:05:50: DEBUG: [analyze] Request:
GET /hls/star.family-24413.ts HTTP/1.1
Host: 91.230.214.87
User-Agent: Astra


Mar 01 18:05:50: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 01 Mar 2018 16:13:51 GMT
Content-Type: video/mp2t
Content-Length: 2732580
Last-Modified: Thu, 01 Mar 2018 16:13:40 GMT
Connection: keep-alive
ETag: "5a9826b4-29b224"
Expires: Thu, 01 Mar 2018 16:13:50 GMT
Cache-Control: no-cache
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:05:50: DEBUG: [analyze] mpegts/sync. buffer 10000ms ready in 69ms. bitrate 2155Kbit/s
Mar 01 18:05:51: DEBUG: [analyze] chunk /hls/star.family-24413.ts downloaded in 93ms
Mar 01 18:05:51: DEBUG: [analyze] Request:
GET /hls/star.family-24414.ts HTTP/1.1
Host: 91.230.214.87
User-Agent: Astra


Mar 01 18:05:51: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 01 Mar 2018 16:13:51 GMT
Content-Type: video/mp2t
Content-Length: 3065340
Last-Modified: Thu, 01 Mar 2018 16:13:50 GMT
Connection: keep-alive
ETag: "5a9826be-2ec5fc"
Expires: Thu, 01 Mar 2018 16:13:50 GMT
Cache-Control: no-cache
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:05:51: DEBUG: [analyze] chunk /hls/star.family-24414.ts downloaded in 56ms
Mar 01 18:05:51: INFO: Bitrate: 2087 Kbit/s
Mar 01 18:05:52: INFO: Bitrate: 2234 Kbit/s
Mar 01 18:05:53: INFO: Bitrate: 2119 Kbit/s
Mar 01 18:05:54: INFO: Bitrate: 2228 Kbit/s
Mar 01 18:05:55: INFO: Bitrate: 2265 Kbit/s
Mar 01 18:05:56: INFO: Bitrate: 2902 Kbit/s
Mar 01 18:05:57: INFO: Bitrate: 2242 Kbit/s
Mar 01 18:05:58: INFO: Bitrate: 1809 Kbit/s
Mar 01 18:05:59: INFO: Bitrate: 1658 Kbit/s
Mar 01 18:06:00: INFO: Bitrate: 1864 Kbit/s
Mar 01 18:06:00: DEBUG: [analyze] Request:
GET /hls/star.family.m3u8 HTTP/1.1
Host: 91.230.214.87
User-Agent: Astra


Mar 01 18:06:00: DEBUG: [analyze] Response:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 01 Mar 2018 16:14:00 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 189
Last-Modified: Thu, 01 Mar 2018 16:14:00 GMT
Connection: keep-alive
ETag: "5a9826c8-bd"
Expires: Thu, 01 Mar 2018 16:13:59 GMT
Cache-Control: no-cache
Cache-Control: no-cache
Accept-Ranges: bytes


Mar 01 18:06:00: DEBUG: [analyze] Content:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:24413
#EXT-X-TARGETDURATION:10
#EXTINF:10.000,
star.family-24413.ts
#EXTINF:10.000,
star.family-24414.ts
#EXTINF:10.000,
star.family-24415.ts

Mar 01 18:06:00: INFO: PAT tsid:1 version:0
Mar 01 18:06:00: INFO: PAT    PMT pid:4097 pnr:1
Mar 01 18:06:00: INFO: PAT crc32:0x2E701905
Mar 01 18:06:00: INFO: PMT pnr:1 version:0
Mar 01 18:06:00: INFO: PCR pid:256
Mar 01 18:06:00: INFO: VIDEO pid:256 type:0x1B
Mar 01 18:06:00: INFO: AUDIO pid:257 type:0x0F
Mar 01 18:06:00: INFO: PMT crc32:0x2F44B99B
Mar 01 18:06:01: INFO: Bitrate: 1749 Kbit/s
Mar 01 18:06:02: INFO: Bitrate: 1942 Kbit/s
Mar 01 18:06:03: INFO: Bitrate: 2038 Kbit/s
Mar 01 18:06:04: INFO: Bitrate: 2163 Kbit/s
 

Share this post


Link to post
Share on other sites

с виду все нормально

либо канал связи слабый к тому источнику

либо порезаны сегменты плохо 

Share this post


Link to post
Share on other sites

Канал гигабитный, дело точно не в этом, тем более что мы от них берем и другие хлс ссылки, которые нормально обрабатываются и работают стабильно.

Может в скрипте надо что-то добавить на выходе, где поток переходит в мультикаст, какие-то параметры?

Share this post


Link to post
Share on other sites

либо в оутпут добавить опцию no_sync. Либо если это hls с флюсоника то в инпут поставить опцию no_keep_alive

Share this post


Link to post
Share on other sites
12 hours ago, glazkow said:

либо в оутпут добавить опцию no_sync. Либо если это hls с флюсоника то в инпут поставить опцию no_keep_alive

Добавил на выход no_sync и все заработало. Большое спасибо за помощь!

Share this post


Link to post
Share on other sites

Возникла еще одна незначительная проблема. Почему-то очень долго включается канал, если он идет из HLS input в udp output. И на mag250 и через vlc одинаково, секунды за 5. С другими, например http включается почти сразу, до секунды задержка.

Share this post


Link to post
Share on other sites

Еще вопрос. Мы получаем от правайдера по мультикасту поток, на конце должна стоять приставка, но мы поставили кабель напрямую в сервер, а из сервера этот поток выпускаем дальше через другую сетевую так же по udp. Но через какое-то время айпи поток отваливается и сразу восстанавливается. Мы поставили renew=interval, но теперь появилась проблема. Если renew стоит 60 сек то соответственно раз в 60 сек происходит подтормаживание картинки, без ошибок в логах. Кто-то сталкивался с этой проблемой? 

Share this post


Link to post
Share on other sites

reverse packet filter поотключать ?

ну либо igmpproxy попробовать посредине поставить

но лучше запустить и поизучать ваершарк, что то там не то происходит в сети

Share this post


Link to post
Share on other sites

Когда ставишь приставку которую они дали amino 125 то поток идёт без затыков.Приставки  включены свич от провайдера.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×