Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      Information   10/21/18

      Registration on the forum temporarily closed! For support requests, please contacat us: https://cesbo.com/help
      Our community in Telegram: @cesbo_en (English language) , @cesbo_ru (Russian language) , @cesbo_es (Spanish Language)
Sign in to follow this  
pandrew

tsplay & astra

Recommended Posts

Здравствуйте!

 

tsplay heli.ts 239.200.200.1:1234 -loop -i 192.168.88.100
 
Астра конфиг:
#!/usr/bin/astra
 
 
log.set({ filename = "/var/log/astra.log", debug = true})
 
 
make_channel({
    name = "TV",
    input = {
      "udp://239.200.200.1:1234",
      "file:///home/pandrew/share/matras_sd.ts#loop",
    },
    output = {
      "udp://239.200.200.2:1234",
    }
})
 
tsplay дает поток астре, астра клиенту.
 
По факту:
Dec 26 00:53:00: INFO: [main] Starting Astra v.5.61
Dec 26 00:53:01: INFO: check license
Dec 26 00:53:01: ERROR: [core/socket 6] bind() to 239.200.200.1:1234 failed [98: Address already in use]
Dec 26 00:53:01: INFO: Licensed to: Unregistered version. Expires: 03 Feb 2017
Dec 26 00:53:02: ERROR: [TV #1] Bitrate:0Kbit/s PES:0 CC:0
Dec 26 00:53:03: ERROR: [TV #1] Bitrate:0Kbit/s PES:0 CC:0
Dec 26 00:53:04: ERROR: [TV #1] Bitrate:0Kbit/s PES:0 CC:0
Dec 26 00:53:05: ERROR: [ TV #1] Bitrate:0Kbit/s PES:0 CC:0
Dec 26 00:53:06: ERROR: [TV #1] Bitrate:0Kbit/s PES:0 CC:0
Dec 26 00:53:06: INFO: [TV #2] PAT tsid: 9693
Dec 26 00:53:06: INFO: [TV #2] PAT    PMT pid:66 pnr:1
Dec 26 00:53:06: INFO: [TV #2] PAT crc32:0xAC0104D0
Dec 26 00:53:06: INFO: [TV #2] PMT pnr:1
Dec 26 00:53:06: INFO: [TV #2] PCR pid:68
Dec 26 00:53:06: INFO: [TV #2] VIDEO pid:68 type:0x02
Dec 26 00:53:06: INFO: [TV #2] PMT crc32:0x75BCF679
Dec 26 00:53:07: INFO: [TV #2] Bitrate:1941Kbit/s
Dec 26 00:53:07: INFO: [TV] Active input #2
 
Астра поток от tsplay не может подключиться и показывает матрас. Почему? 
ERROR: [core/socket 6] bind() to 239.200.200.1:1234 failed [98: Address already in use]
 
vlc плеер поток от tsplay показывает нормально.
Благодарю!

Share this post


Link to post
Share on other sites

Вообще то не так, а так:

tsplay news.ts 127.0.0.1:7778 

а затем уже:

make_channel({name = "Суперновости",
 input = {"udp://127.0.0.1:7778", "file:///tv/matras_fullhd.ts#loop",},
 output = {"udp://192.168.1.78@239.255.1.1:1234"}})

матрас используем на случай, если tsplay нечего проигрывать.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×