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  
Alex19

Astra и SDT

Recommended Posts

Астра не генерирует SDT.

Quote

make_mpts({
    name = "Stream 1",
    input = {
        "udp://eno2.99@239.1.1.1:5555#pnr=256&set_pnr=101",
        "udp://eno2.99@239.1.1.1:5555#pnr=257&set_pnr=102",
        "udp://eno2.99@239.1.1.14:5555#pnr=1650&set_pnr=103",
        "udp://eno2.99@239.1.1.14:5555#pnr=1680&set_pnr=104",
    },
    output = {
        "udp://eno2.99@239.1.1.7:1234#sync&cbr=25",
    },
    country = "RUS",
    offset = "+0",
    tsid = 1,
    onid = 4660,
    provider = "ORBITA",
    sdt = {
        { pnr = 101, lcn = 1, type = 1, name = "Первый HD" },
        { pnr = 102, lcn = 2, type = 1, name = "Россия HD" },
        { pnr = 103, lcn = 3, type = 1, name = "RT Док HD" },
        { pnr = 104, lcn = 4, type = 1, name = "Мир HD" },
    },
    nit = {
        { tsid = 1, onid = 4660, type = "C", frequency = "666", symbolrate = "6765", modulation = "QAM128" },
    },
})

 

Quote

Aug 11 10:28:19: INFO: [main] Starting Astra v.5.63 [commit:008567ae date:2017-07-27]
Aug 11 10:28:20: INFO: check license
Aug 11 10:28:20: INFO: Licensed to: Trial version
Expiration date: 2017-08-16
Aug 11 10:28:20: INFO: [Stream 1] PAT tsid:1 version:0
Aug 11 10:28:20: INFO: [Stream 1] PAT    PMT pid:16 pnr:0
Aug 11 10:28:20: INFO: [Stream 1] PAT crc32:0x7729E856
Aug 11 10:28:20: INFO: [Stream 1] PAT tsid:1 version:2
Aug 11 10:28:20: INFO: [Stream 1] PAT    PMT pid:16 pnr:0
Aug 11 10:28:20: INFO: [Stream 1] PAT    PMT pid:1650 pnr:103
Aug 11 10:28:20: INFO: [Stream 1] PAT    PMT pid:1680 pnr:104
Aug 11 10:28:20: INFO: [Stream 1] PAT crc32:0x1B244C14
Aug 11 10:28:20: INFO: [Stream 1] PMT pnr:103 version:1
Aug 11 10:28:20: INFO: [Stream 1] PCR pid:1651
Aug 11 10:28:20: INFO: [Stream 1] VIDEO pid:1651 type:0x1B
Aug 11 10:28:20: INFO: [Stream 1] AUDIO pid:1652 type:0x04
Aug 11 10:28:20: INFO: [Stream 1] AUDIO    lang:rus
Aug 11 10:28:20: INFO: [Stream 1] PMT crc32:0x5D18A47A
Aug 11 10:28:20: DEBUG: [Stream 1 o/1] mpegts/sync. Select PCR pid:1651
Aug 11 10:28:20: INFO: [Stream 1] PMT pnr:104 version:1
Aug 11 10:28:20: INFO: [Stream 1] PCR pid:1681
Aug 11 10:28:20: INFO: [Stream 1] VIDEO pid:1681 type:0x1B
Aug 11 10:28:20: INFO: [Stream 1] AUDIO pid:1682 type:0x03
Aug 11 10:28:20: INFO: [Stream 1] AUDIO    lang:rus
Aug 11 10:28:20: INFO: [Stream 1] PMT crc32:0x5DC71111
Aug 11 10:28:21: INFO: [Stream 1] PAT tsid:1 version:4
Aug 11 10:28:21: INFO: [Stream 1] PAT    PMT pid:16 pnr:0
Aug 11 10:28:21: INFO: [Stream 1] PAT    PMT pid:8064 pnr:101
Aug 11 10:28:21: INFO: [Stream 1] PAT    PMT pid:8065 pnr:102
Aug 11 10:28:21: INFO: [Stream 1] PAT    PMT pid:1650 pnr:103
Aug 11 10:28:21: INFO: [Stream 1] PAT    PMT pid:1680 pnr:104
Aug 11 10:28:21: INFO: [Stream 1] PAT crc32:0x579E108A
Aug 11 10:28:21: INFO: [Stream 1] PMT pnr:101 version:1
Aug 11 10:28:21: INFO: [Stream 1] PCR pid:32
Aug 11 10:28:21: INFO: [Stream 1] VIDEO pid:32 type:0x1B
Aug 11 10:28:21: INFO: [Stream 1] AUDIO pid:33 type:0x04
Aug 11 10:28:21: INFO: [Stream 1] TTX pid:34 type:0x06
Aug 11 10:28:21: INFO: [Stream 1] TTX    teletext lang:...
Aug 11 10:28:21: INFO: [Stream 1] PMT crc32:0x00CDE6C0
Aug 11 10:28:21: INFO: [Stream 1] PMT pnr:102 version:1
Aug 11 10:28:21: INFO: [Stream 1] PCR pid:36
Aug 11 10:28:21: INFO: [Stream 1] VIDEO pid:36 type:0x1B
Aug 11 10:28:21: INFO: [Stream 1] AUDIO pid:37 type:0x04
Aug 11 10:28:21: INFO: [Stream 1] AUDIO    lang:rus
Aug 11 10:28:21: INFO: [Stream 1] PMT crc32:0xE3ACD4B0
Aug 11 10:28:21: INFO: [Stream 1] PMT pnr:103 version:1
Aug 11 10:28:21: INFO: [Stream 1] PCR pid:1651
Aug 11 10:28:21: INFO: [Stream 1] VIDEO pid:1651 type:0x1B
Aug 11 10:28:21: INFO: [Stream 1] AUDIO pid:1652 type:0x04
Aug 11 10:28:21: INFO: [Stream 1] AUDIO    lang:rus
Aug 11 10:28:21: INFO: [Stream 1] PMT crc32:0x5D18A47A
Aug 11 10:28:21: INFO: [Stream 1] PMT pnr:104 version:1
Aug 11 10:28:21: INFO: [Stream 1] PCR pid:1681
Aug 11 10:28:21: INFO: [Stream 1] VIDEO pid:1681 type:0x1B
Aug 11 10:28:21: INFO: [Stream 1] AUDIO pid:1682 type:0x03
Aug 11 10:28:21: INFO: [Stream 1] AUDIO    lang:rus
Aug 11 10:28:21: INFO: [Stream 1] PMT crc32:0x5DC71111
Aug 11 10:28:21: DEBUG: [Stream 1 o/1] mpegts/sync. Select PCR pid:32
Aug 11 10:28:21: INFO: [Stream 1 i/1] Bitrate:2601Kbit/s
Aug 11 10:28:21: INFO: [Stream 1 i/2] Bitrate:3273Kbit/s
Aug 11 10:28:21: INFO: [Stream 1 i/3] Bitrate:7009Kbit/s
Aug 11 10:28:21: INFO: [Stream 1 i/4] Bitrate:7539Kbit/s

 

Quote

astra --analyze udp://eno2.99@239.1.1.7:1234
Aug 11 12:46:08: INFO: [main] Starting Astra v.5.63 [commit:008567ae date:2017-07-27]
Aug 11 12:46:08: INFO: check license
Aug 11 12:46:08: INFO: Licensed to: Trial version
Expiration date: 2017-08-16
Aug 11 12:46:09: INFO: PAT tsid:1 version:4
Aug 11 12:46:09: INFO: PAT    PMT pid:16 pnr:0
Aug 11 12:46:09: INFO: PAT    PMT pid:8064 pnr:101
Aug 11 12:46:09: INFO: PAT    PMT pid:8065 pnr:102
Aug 11 12:46:09: INFO: PAT    PMT pid:1650 pnr:103
Aug 11 12:46:09: INFO: PAT    PMT pid:1680 pnr:104
Aug 11 12:46:09: INFO: PAT crc32:0x579E108A
Aug 11 12:46:09: INFO: PMT pnr:101 version:1
Aug 11 12:46:09: INFO: PCR pid:32
Aug 11 12:46:09: INFO: VIDEO pid:32 type:0x1B
Aug 11 12:46:09: INFO: AUDIO pid:33 type:0x04
Aug 11 12:46:09: INFO: TTX pid:34 type:0x06
Aug 11 12:46:09: INFO: TTX    teletext lang:...
Aug 11 12:46:09: INFO: PMT crc32:0x00CDE6C0
Aug 11 12:46:09: INFO: PMT pnr:102 version:1
Aug 11 12:46:09: INFO: PCR pid:36
Aug 11 12:46:09: INFO: VIDEO pid:36 type:0x1B
Aug 11 12:46:09: INFO: AUDIO pid:37 type:0x04
Aug 11 12:46:09: INFO: AUDIO    lang:rus
Aug 11 12:46:09: INFO: PMT crc32:0xE3ACD4B0
Aug 11 12:46:09: INFO: PMT pnr:103 version:1
Aug 11 12:46:09: INFO: PCR pid:1651
Aug 11 12:46:09: INFO: VIDEO pid:1651 type:0x1B
Aug 11 12:46:09: INFO: AUDIO pid:1652 type:0x04
Aug 11 12:46:09: INFO: AUDIO    lang:rus
Aug 11 12:46:09: INFO: PMT crc32:0x5D18A47A
Aug 11 12:46:09: INFO: PMT pnr:104 version:1
Aug 11 12:46:09: INFO: PCR pid:1681
Aug 11 12:46:09: INFO: VIDEO pid:1681 type:0x1B
Aug 11 12:46:09: INFO: AUDIO pid:1682 type:0x03
Aug 11 12:46:09: INFO: AUDIO    lang:rus
Aug 11 12:46:09: INFO: PMT crc32:0x5DC71111
Aug 11 12:46:09: INFO: Bitrate: 31649 Kbit/s
Aug 11 12:46:10: INFO: Bitrate: 31145 Kbit/s

 

 

Share this post


Link to post
Share on other sites

Каши из пидов не получится? Что если так (было неактуально)

А хотя я сам туплю, формат вроде поменялся же, теперь надо так:

mpts_list = {
    {
        tsid = 1,
        onid = 4660,
        type = "C",
        frequency = "666",
        symbolrate = "6765",
        modulation = "QAM128",
        sdt = {
            {
                pnr = 100,
                type = 1,
                name = ("Первый HD"):encode(5),
                provider = ("ORBITA"):encode(5),
                lcn = 1,
            },
            {
                pnr = 110,
                type = 1,
                name = ("Россия HD"):encode(5),
                provider = ("ORBITA"):encode(5),
                lcn = 2,
            },
            {
                pnr = 120,
                type = 1,
                name = ("RT Док HD"):encode(5),
                provider = ("ORBITA"):encode(5),
                lcn = 3,
            },
            {
                pnr = 130,
                type = 1,
                name = ("Мир HD"):encode(5),
                provider = ("ORBITA"):encode(5),
                lcn = 4,
            },       
        },
    },
}

make_mpts({
    name = "Stream 1",
    input = {
        "udp://eno2.99@239.1.1.1:5555#pnr=256&set_pnr=100&map.pmt=100&map.video=101&map.audio=102&map.rus=102&map.eng=103&map.ttx=105",
        "udp://eno2.99@239.1.1.1:5555#pnr=257&set_pnr=110&map.pmt=110&map.video=111&map.audio=112&map.rus=112&map.eng=113&map.ttx=115",
        "udp://eno2.99@239.1.1.14:5555#pnr=1650&set_pnr=120&map.pmt=120&map.video=121&map.audio=122&map.rus=122&map.eng=123&map.ttx=125",
        "udp://eno2.99@239.1.1.14:5555#pnr=1680&set_pnr=130&map.pmt=130&map.video=131&map.audio=132&map.rus=132&map.eng=133&map.ttx=135",
    },
    output = {
        "udp://eno2.99@239.1.1.7:1234#sync&cbr=25",
    },
    country = "RUS",
    offset = "+0",
    tsid = 1,
    onid = 4660,
    provider = "ORBITA",
    mpts_list = mpts_list
})

Дожили, я теперь сам запутался ) У меня работает так как я написал, может это наоборот теперь старый формат.

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  

×