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

markjose

Registered
Messages
169
Ok So this is what I done step by step

1. scanned 10922 freq to populate the lamdb extract below

Rich (BB code):
0ce40000:ea7e:0001
        s 10922000:16400000:1:7:-300:2:0:1:2:0:2
/



2. ran init 4

3. inserted the service using the text below

Rich (BB code):
070a:0ce40000:ea7e:0001:1:0:0
Abertis PID 802
p:ABERTIS:c:031fff,c:150322,C:2600,f:1

4. ran init 3

Checked lamdb and the service was still present

5.

Rich (BB code):
root@zgemmah9combo:~# astra --analyze http://localhost:8001/1:0:1:70A:EA7E:1:CE40000:0:0:0:
Nov 25 06:19:00: INFO: Starting Astra SM 0.2
Nov 25 06:19:00: INFO: PAT: tsid: 60030
Nov 25 06:19:00: INFO: PAT: pid: 16 NIT
Nov 25 06:19:00: INFO: PAT: pid: 802 PMT pnr: 1802
Nov 25 06:19:00: INFO: PAT: crc32: 0x6782915C
Nov 25 06:19:01: INFO: Bitrate: 33162 Kbit/s
Nov 25 06:19:01: ERROR: Scrambled: 802=20888
Nov 25 06:19:02: INFO: Bitrate: 34741 Kbit/s
Nov 25 06:19:02: ERROR: Scrambled: 802=23097
Nov 25 06:19:03: INFO: Bitrate: 34742 Kbit/s
Nov 25 06:19:03: ERROR: Scrambled: 802=23098
Nov 25 06:19:04: INFO: Bitrate: 34742 Kbit/s
Nov 25 06:19:04: ERROR: Scrambled: 802=23098
^CNov 25 06:19:05: INFO: [main] shutting down
root@zgemmah9combo:~#

Great so now I need to understand these pipe commands, and pull into VLC after descrambled.
 

Oskar3

Registered
Messages
91
Have you created a user in TVHeadend (it might need admin ticked, and access via network 127.0.0.1/32)? I have one called 'json' and then a password in passwords set also to 'json' for user 'json'. Then on line 27 and 28 in tvh-json.py you need to put that user/pass -

Code:
 TVH_USER=env('TVH_USER', 'json')
TVH_PASS=env('TVH_PASS', 'json')

You might need to change the line below from ('TVH_AUTH', 'digest') to ('TVH_AUTH', 'plain') depending on your TVHeadend version/settings too if it still doesn't work.
Not possible with softcam?
 

Adam792

Registered
Messages
101
Not possible with softcam?

I’m not sure, I’ve only ever got it working using constant.cw in OSCam, using the format I posted above (with the fake SID and PMT info for each service). I think because of that fake service info you would also need to modify the softcam info if you use that instead.
 

Oskar3

Registered
Messages
91
I’m not sure, I’ve only ever got it working using constant.cw in OSCam, using the format I posted above (with the fake SID and PMT info for each service). I think because of that fake service info you would also need to modify the softcam info if you use that instead.
Yes, it is now running with softcam but does not open the channel, same as with constant :cry:
 

Oskar3

Registered
Messages
91
Yes, it is now running with softcam but does not open the channel, same as with constant :cry:

I’m not sure, I’ve only ever got it working using constant.cw in OSCam, using the format I posted above (with the fake SID and PMT info for each service). I think because of that fake service info you would also need to modify the softcam info if you use that instead.
is correct?
2600:000000:0322:1FFF:0000 #ECM_L:11 #CW=0BBDXXXXXXXXXXXXXXXXXXXXXXXX1F
 

Adam792

Registered
Messages
101
is correct?
2600:000000:0322:1FFF:0000 #ECM_L:11 #CW=0BBDXXXXXXXXXXXXXXXXXXXXXXXX1F

Looks correct, what do you get in TVHeadend status and log when trying to tune the channel?

Here's an example for me with PID 8001 RGE Madrid -



So I have 12631V being tuned by the satellite card, automatically triggered by the relayed IPTV stream.
Then I have the IPTV input #1 with ~19500kbps bandwidth (the bandwidth shows that the correct amount of data is coming through) which is the output of the tdt.sh script.

In the log you can see it executes the script, which then triggers the tune to 12631V and triggers the OSCam request to descramble. For 10922V TVE UHD you should see a second IPTV input for the astra-sm stream after the tdt.sh one. You can see where it's failing if you see one of the Input streams not being triggered, or if anything has a bandwidth of 0.

In OSCam, for TVE UHD I get -

Code:
(dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFF PROVID: 000000 
(dvbapi) Demuxer 0 found 1 ECM pids and 1 STREAM pids in CA PMT
(dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0 
(dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1F40 VPID 0322
(constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0322 ECMPID 1FFF PMTPID 1F40 VPID 0322
(constcw) Entry found: 2600@000000:0322:1F40:1FFF:0322:XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 
(ecm) tvheadend (2600@000000/0000/0322/07:ED409C6107B8BECE6626C07BC949D8AC): found (1 ms) by BISS
 

Oskar3

Registered
Messages
91
Looks correct, what do you get in TVHeadend status and log when trying to tune the channel?

Here's an example for me with PID 8001 RGE Madrid -



So I have 12631V being tuned by the satellite card, automatically triggered by the relayed IPTV stream.
Then I have the IPTV input #1 with ~19500kbps bandwidth (the bandwidth shows that the correct amount of data is coming through) which is the output of the tdt.sh script.

In the log you can see it executes the script, which then triggers the tune to 12631V and triggers the OSCam request to descramble. For 10922V TVE UHD you should see a second IPTV input for the astra-sm stream after the tdt.sh one. You can see where it's failing if you see one of the Input streams not being triggered, or if anything has a bandwidth of 0.

In OSCam, for TVE UHD I get -

Code:
(dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFF PROVID: 000000
(dvbapi) Demuxer 0 found 1 ECM pids and 1 STREAM pids in CA PMT
(dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
(dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1F40 VPID 0322
(constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0322 ECMPID 1FFF PMTPID 1F40 VPID 0322
(constcw) Entry found: 2600@000000:0322:1F40:1FFF:0322:XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
(ecm) tvheadend (2600@000000/0000/0322/07:ED409C6107B8BECE6626C07BC949D8AC): found (1 ms) by BISS

Code:
8C4BE4 c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1F40 VPID 0322
2022/11/25 15:50:49 24355795 p  (constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0322 ECMPID 1FFF PMTPID 1F40 VPID 0322
2022/11/25 15:50:49 24355795 p  (constcw) Entry found: 2600@000000:0322:1F40:1FFF:0322:0B BD 82 4A A1 11 6D 1F 0B BD 82 4A A1 11 6D 1F
2022/11/25 15:50:49 178C4BE4 c      (ecm) anonymous (P: 2600:000000:0322:1FFF:0000 #ECM_L:11 #CW=0BBDXXXXXXXXXXXXXXXXXXXXXXXX1F HOP:00): found (1 ms) by constant.cw
Looks correct, what do you get in TVHeadend status and log when trying to tune the channel?

Here's an example for me with PID 8001 RGE Madrid -



So I have 12631V being tuned by the satellite card, automatically triggered by the relayed IPTV stream.
Then I have the IPTV input #1 with ~19500kbps bandwidth (the bandwidth shows that the correct amount of data is coming through) which is the output of the tdt.sh script.

In the log you can see it executes the script, which then triggers the tune to 12631V and triggers the OSCam request to descramble. For 10922V TVE UHD you should see a second IPTV input for the astra-sm stream after the tdt.sh one. You can see where it's failing if you see one of the Input streams not being triggered, or if anything has a bandwidth of 0.

In OSCam, for TVE UHD I get -

Code:
(dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFF PROVID: 000000
(dvbapi) Demuxer 0 found 1 ECM pids and 1 STREAM pids in CA PMT
(dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
(dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1F40 VPID 0322
(constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0322 ECMPID 1FFF PMTPID 1F40 VPID 0322
(constcw) Entry found: 2600@000000:0322:1F40:1FFF:0322:XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
(ecm) tvheadend (2600@000000/0000/0322/07:ED409C6107B8BECE6626C07BC949D8AC): found (1 ms) by BISS
It’s what I feared since yesterday, it only activated for a moment the IPTV network, received STB signal and does decoding normally. That must be the problem, you don’t get t2mi decap. The network you add must be Auto? I added the other one.
 

Adam792

Registered
Messages
101
Code:
8C4BE4 c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1F40 VPID 0322
2022/11/25 15:50:49 24355795 p  (constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0322 ECMPID 1FFF PMTPID 1F40 VPID 0322
2022/11/25 15:50:49 24355795 p  (constcw) Entry found: 2600@000000:0322:1F40:1FFF:0322:0B BD 82 4A A1 11 6D 1F 0B BD 82 4A A1 11 6D 1F
2022/11/25 15:50:49 178C4BE4 c      (ecm) anonymous (P: 2600:000000:0322:1FFF:0000 #ECM_L:11 #CW=0BBDXXXXXXXXXXXXXXXXXXXXXXXX1F HOP:00): found (1 ms) by constant.cw

It’s what I feared since yesterday, it only activated for a moment the IPTV network, received STB signal and does decoding normally. That must be the problem, you don’t get t2mi decap. The network you add must be Auto? I added the other one.

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) -

 
Last edited:

Oskar3

Registered
Messages
91
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) -

command not found:oops:
 

Oskar3

Registered
Messages
91
Seems like astra-sm did not build or install in the end in that case, that's needed to get the UHD mux, otherwise only the regular Abertis muxes with the SD/HD channels will work (with single tdt.sh IPTV mux)
configure.ac:726: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:34: installing 'build-aux/ar-lib'
configure.ac:22: installing 'build-aux/compile'
configure.ac:21: installing 'build-aux/config.guess'
configure.ac:21: installing 'build-aux/config.sub'
configure.ac:24: installing 'build-aux/install-sh'
configure.ac:24: installing 'build-aux/missing'
lua/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: Leaving directory '.'


Configuration summary
-----------------------
Version: Astra SM 0.2-event_monitor-2846c42

Compiler: gcc
Building for: linux-gnu
Event mechanism: epoll
Large files: yes

Lua library: internal
Lua compiler: $(top_builddir)/lua/luac$(EXEEXT)
ffmpeg program: /usr/bin/ffmpeg
libdvbcsa: no
libcrypto: yes
Asynchronous I/O: yes (POSIX)
Check (unit tests): no

Linux DVB API: yes
Built-in scripts: yes
IGMP emulation: no

Debug build: no
Extra warnings: no
Test coverage: no
Profiling: no
Code:
astra/core/child.c: In function ‘asc_child_close’:
astra/core/child.c:471:41: error: ‘sys_siglist’ undeclared (first use in this function)
  471 |                               , signum, sys_siglist[signum]);
      |                                         ^~~~~~~~~~~
astra/core/child.c:471:41: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Makefile:2005: astra/core/child.lo] Error 1
make[2]: se sale del directorio '/home/astra-sm/src'
make[1]: *** [Makefile:1119: all] Error 2
make[1]: se sale del directorio '/home/astra-sm/src'
make: *** [Makefile:443: all-recursive] Error 1
 
Last edited:

chelo71

Super VIP
Messages
1,656
where am i wrong? I enter telnet, give the init 4 command, enter FTP and modify the lamedb and save, then always tenet, give the init 3 command and restart the decoder on restart all the channels of the setting disappeared N/A
 

stpierre

Registered
Messages
67
where am i wrong? I enter telnet, give the init 4 command, enter FTP and modify the lamedb and save, then always tenet, give the init 3 command and restart the decoder on restart all the channels of the setting disappeared N/A
Probably due to an error when you edit lamedb.
 

dvlajkovic

Member
Messages
498
where am i wrong? I enter telnet, give the init 4 command, enter FTP and modify the lamedb and save, then always tenet, give the init 3 command and restart the decoder on restart all the channels of the setting disappeared N/A
try the following:

run init 4 via telnet
then modify lamedb and save it
then run via telnet shutdown now -r

your receiver will restart
when it boots up, check if the channels are still there :)
 

Oskar3

Registered
Messages
91
Seems like astra-sm did not build or install in the end in that case, that's needed to get the UHD mux, otherwise only the regular Abertis muxes with the SD/HD channels will work (with single tdt.sh IPTV mux)
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:
 

chelo71

Super VIP
Messages
1,656
try the following:

run init 4 via telnet
then modify lamedb and save it
then run via telnet shutdown now -r

your receiver will restart
when it boots up, check if the channels are still there :)
I give up, same channels N/A, I'll search the net if I find a backup x octagon sf4008
 
Top