Spanish Abertis DTT Sat @ Hispasat 30W - Chat & How to guides

Adam792

Registered
Messages
101
In Debian 10 I have been able to compile well, I do not know if it is due to the version or that the 11 has tired of me... :unsure:

Looking up that error it seems like some of the code to compile is deprecated in the new versions of the compiler, which I guess is what’s available in Debian 11.

I actually had a similar problem with TVHeadend recently, and ended up using Ubuntu 20 rather than 22 as it was more stable without workarounds needed.

Seems like you might be able to get a pre-compiled version from above anyway though for Astra-sm :)
 

Oskar3

Registered
Messages
88
Looking up that error it seems like some of the code to compile is deprecated in the new versions of the compiler, which I guess is what’s available in Debian 11.

I actually had a similar problem with TVHeadend recently, and ended up using Ubuntu 20 rather than 22 as it was more stable without workarounds needed.

Seems like you might be able to get a pre-compiled version from above anyway though for Astra-sm :)
I did a new installation in Debian 10 - TVH-Oscam and astra.sm, the compilation did not give any error, but when I already had everything configured it did not work or let me restart astra-sm.
 

dniestre

Registered
Messages
40
I am trying to make this work on dreamOS 2.6.

Copied these files - Astra SM 0.2.91 aarch64 to /usr/bin (chmod 755);
Copied astra.conf to /etc/astra/astra.conf (chmod 755)
Copied astra-sm to /etc/init.d/astra-sm (chmod 755)
telnet systemctl enable astra-sm

Received this message:
dream.png
 

Oskar3

Registered
Messages
88
Looking up that error it seems like some of the code to compile is deprecated in the new versions of the compiler, which I guess is what’s available in Debian 11.

I actually had a similar problem with TVHeadend recently, and ended up using Ubuntu 20 rather than 22 as it was more stable without workarounds needed.

Seems like you might be able to get a pre-compiled version from above anyway though for Astra-sm :)
systemctl status astra-sm.service
● astra-sm.service - Astra SM
Loaded: error (Reason: Unit astra-sm.service failed to load properly: Invalid argument.)
Active: inactive (dead):eek:
 

Adam792

Registered
Messages
101
systemctl status astra-sm.service
● astra-sm.service - Astra SM
Loaded: error (Reason: Unit astra-sm.service failed to load properly: Invalid argument.)
Active: inactive (dead):eek:

Does your /etc/astra/astra.conf file exist?

Maybe try changing user=hts to user=<your username on the machine>.

What happens if you manually run the command -

Code:
astra /etc/astra/astra.conf

?
 

Oskar3

Registered
Messages
88
Does your /etc/astra/astra.conf file exist?

Maybe try changing user=hts to user=<your username on the machine>.

What happens if you manually run the command -

Code:
astra /etc/astra/astra.conf

?
Yeah, right. That’s where I put this:

tdtuhd1 = make_t2mi_decap({
name = "TDT UHD T2",
input = "http://127.0.0.1:9981/stream/mux/dbedb6bee8b066373859df11424b4508?pids=4096",
plp = 0,
pnr = 0,
pid = 4096,
})

make_channel({
name = "uhd1",tdtuhd1 = make_t2mi_decap({
name = "TDT UHD T2",
input = "http://127.9.0.1:9981/stream/mux/9aab0f33226bb3798f6f7388aa5ebde8?pids=4096",
plp = 0,
pnr = 0,
pid = 4096,
})

input = { "t2mi://tdtuhd1", },
output = { "http://0.0.0.0:17981/tdt/uhd1", },

I can’t run the command now, I’m on the other computer and I have to compile again, this is already vice.o_O
 

Oskar3

Registered
Messages
88
Yeah, right. That’s where I put this:

tdtuhd1 = make_t2mi_decap({
name = "TDT UHD T2",
input = "http://127.0.0.1:9981/stream/mux/dbedb6bee8b066373859df11424b4508?pids=4096",
plp = 0,
pnr = 0,
pid = 4096,
})

make_channel({
name = "uhd1",tdtuhd1 = make_t2mi_decap({
name = "TDT UHD T2",
input = "http://127.9.0.1:9981/stream/mux/9aab0f33226bb3798f6f7388aa5ebde8?pids=4096",
plp = 0,
pnr = 0,
pid = 4096,
})

input = { "t2mi://tdtuhd1", },
output = { "http://0.0.0.0:17981/tdt/uhd1", },

I can’t run the command now, I’m on the other computer and I have to compile again, this is already vice.o_O
This means that in principle astra-sm worked and then for some reason broke. If so, the problem would not be to compile in different versions, but of the configuration..
 

Adam792

Registered
Messages
101
This means that in principle astra-sm worked and then for some reason broke. If so, the problem would not be to compile in different versions, but of the configuration..

Looking at message #1429 I think I can see an error with the config. I will have a look in detail when I get home a bit later :)
 

Oskar3

Registered
Messages
88
Looking at message #1429 I think I can see an error with the config. I will have a look in detail when I get home a bit later
My abertis802.json file is like this without editing it.


Code:
{
    "pmt": 8000,
    "force_caid": 0,
    "prefcapid": 0,
    "stream": [
        {
            "type": "H264",
            "pid": 802,
            "position": 0
        },
        {
            "type": "CA",
            "caidlist": [
                {
                    "caid": 9728
                }
            ],
            "pid": 8191,
            "position": 262144
        }
    ],
    "lcn": 0,
    "dvb_servicetype": 0,
    "dvb_ignore_eit": false,
    "verified": 1,
    "uuid": "29cbe529acba1d42b5830798fc1132fa",
    "pcr": 802,
    "priority": 0,
    "sid": 802,
    "pts_shift": 0,
    "auto": 0,
    "srcid": 0,
    "lcn_minor": 0,
    "lcn2": 0,
    "prefcapid_lock": 0,
    "created": 1668808494,
    "enabled": true,
    "s_type_user": -1,
    "svcname": "Abertis PID 802",
    "last_seen": 1668808494
}
I check that I have to with localhost and 127.0.0.1 does not play

Code:
tdtuhd1 = make_t2mi_decap({
        name = "TDT UHD T2",
        input = "http://182.168.1.40:9981/stream/mux/d007f44f2cd5225e558ce45da8178f76?pids=4096",
        plp = 0,
        pnr = 0,
        pid = 4096,


})

        input = { "t2mi://tdtuhd1", },
        output = { "http://0.0.0.0:17981/tdt/uhd1", },
})
 

Adam792

Registered
Messages
101
I check that I have to with localhost and 127.0.0.1 does not play

Code:
tdtuhd1 = make_t2mi_decap({
        name = "TDT UHD T2",
        input = "http://182.168.1.40:9981/stream/mux/d007f44f2cd5225e558ce45da8178f76?pids=4096",
        plp = 0,
        pnr = 0,
        pid = 4096,


})

        input = { "t2mi://tdtuhd1", },
        output = { "http://0.0.0.0:17981/tdt/uhd1", },
})

Ahh! Thinking about this, localhost will need to be able to play the channel from TVHeadend. I have a user * with pass * (= no authentication) that has all streaming permissions for network 127.0.0.1/32

Otherwise both this Astra-sm configuration, and the tdt.sh will need authentication to be able to carry out the streaming. You can do that by changing http://127.0.0.1:9981 to http://user:[email protected]:9981
 

Oskar3

Registered
Messages
88
Ahh! Thinking about this, localhost will need to be able to play the channel from TVHeadend. I have a user * with pass * (= no authentication) that has all streaming permissions for network 127.0.0.1/32

Otherwise both this Astra-sm configuration, and the tdt.sh will need authentication to be able to carry out the streaming. You can do that by changing http://127.0.0.1:9981 to http://user:[email protected]:9981
With user pass it also plays, connects well with tvh-oscam and constant without decoding errors.
 

trujulu

Registered
Messages
1
Looks like your first IPTV input is at least tuning the 10922V service then? That log looks correct.

If you take the TVH link for your first IPTV mux (the tdt.sh <UUID> <PID> one) and then in a terminal window run -

Code:
astra --analyze "t2mi://#t2mi_plp=0&t2mi_pid=4096&t2mi_input=http://127.0.0.1:9981/stream/mux/<UUID of IPTV mux #1>?pids=4096"

What is the output?

For my PID 802 UHD, this is what it looks like, there's no auto IPTV network. I'm using two separate networks (one called 'TDT' and one called 'T2-MI', both set to "max no input streams: 1", but they're set up identically otherwise. I only do this because I have a single output LNB for 30°W and T2-MI + Abertis would be 2 input streams, where normally only 1 is possible) -

Thanks for the method
 
Last edited:
Top