Project

General

Profile

Actions

Bug #5447

closed

tvheadend<->tvheadend via SAT>IP with ATSC-T tuner sets wrong frequency

Added by Joe User over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Category:
SAT>IP
Target version:
-
Start date:
2018-12-19
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3
Affected Versions:

Description

I am setting up a test SAT>IP connection across the internet between two NATed tvheadend servers. The satip server has a ATSC-T tuner which is working fine. When setting up the satip client, I noticed a few things:

First, the IP addresses received in the desc.xml were the local address and not the external NAT address even if I select "Force RTSP announcement of the external (NAT) ip:port" - although this doesn't seem to be a problem - at least with TCP.

Second, at first I was not connecting properly, so I tried to manually set the "Tuner configuration:" on the client, but there is no option for ATSC. But at least when it did finally connect properly, the "auto" option worked and it recognized it as ATSC-T.

Third, I could not get a scan to work at all. Tcpdump showed no data being sent from the client to the server. Finally, after restarting the server, the client began attempting to scan. So even though the initial handshake appeared to be working, the server needs to be restarted after enabling SAT>IP???

And lastly, there is a problem with the frequency setting between the client and the server. On both machines, the muxes were manually entered and exactly the same. But while the client requests 525Mhz, the server is attempting to tune 0.525Mhz.

Client trace:

2018-12-19 20:51:22.413 [   INFO] mpegts: 525MHz in test - tuning on SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP)
2018-12-19 20:51:22.413 [  DEBUG] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - starting 525MHz in test
2018-12-19 20:51:22.413 [  TRACE] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - start
2018-12-19 20:51:22.413 [   INFO] subscription: 025C: "scan" subscribing to mux "525MHz", weight: 2, adapter: "SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP)", network: "test", service: "Raw PID Subscription" 
2018-12-19 20:51:22.413 [  TRACE] satip: 00F3: SETUP params - fe=1&freq=525&msys=atsc&tvhweight=2&pids=0
2018-12-19 20:51:22.780 [  DEBUG] satip: x.x.x.x #1 - new session 14E7C29F stream id 10
2018-12-19 20:51:22.780 [  TRACE] satip: 00F3: PLAY params - addpids=1,8187&tvhweight=2
2018-12-19 20:51:37.773 [  TRACE] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - OPTIONS request

2018-12-19 20:51:52.413 [   INFO] mpegts: 525MHz in test - scan no data, failed
2018-12-19 20:51:52.413 [   INFO] subscription: 025C: "scan" unsubscribing
2018-12-19 20:51:52.413 [  DEBUG] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - stopping 525MHz in test
2018-12-19 20:51:52.413 [  TRACE] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - input thread received mux close
2018-12-19 20:51:52.468 [  TRACE] satip: SAT>IP ATSC-T Tuner #1 (x.x.x.x:xxxx@TCP) - shutdown for /stream=10/14E7C29F

Server trace:

018-12-19 11:48:02.673 [  TRACE] satips: RTSP/1.0 SETUP rtsp://x.x.x.x:xxxx/?fe=1&freq=525&msys=atsc&tvhweight=2&pids=0{{Transport=RTP/AVP/TCP;interleaved=0-1,CSeq=1}}
2018-12-19 11:48:02.673 [  DEBUG] satips: 1/14E701BB/5: SETUP from x.x.x.x:xxxx ATSC-T freq 525000 mod AUTO pids 0
2018-12-19 11:48:02.673 [WARNING] satips: 1/14E701BB/5: create mux ATSC-T freq 525000 mod AUTO
2018-12-19 11:48:02.674 [  TRACE] satips: rtp queue 0x7fe98c0023c0

2018-12-19 11:48:02.674 [   INFO] mpegts: 0.525MHz in frontier - tuning on Samsung S5H1409 QAM/8VSB Frontend : ATSC-T #0
2018-12-19 11:48:02.674 [  ERROR] linuxdvb: Samsung S5H1409 QAM/8VSB Frontend : ATSC-T #0 - failed to tune [e=Invalid argument]

2018-12-19 11:48:02.674 [  DEBUG] satips: RTP streaming to x.x.x.x:xxxx open
2018-12-19 11:48:02.796 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0
2018-12-19 11:48:02.867 [  TRACE] satips: RTSP/1.0 PLAY rtsp://x.x.x.x:xxxx/stream=5?addpids=1,8187&tvhweight=2{{Session=14E701BB,CSeq=2}}
2018-12-19 11:48:02.867 [  DEBUG] satips: 1/14E701BB/5: PLAY from x.x.x.x:xxxx ATSC-T freq 525000 mod AUTO pids 0,1,8187
2018-12-19 11:48:02.946 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:03.097 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:03.247 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:03.397 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:03.547 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:03.697 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
.
.
.
2018-12-19 11:48:06.400 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:06.550 [  TRACE] satips: RTCP send to x.x.x.x:xxxx : ver=1.0;src=1;tuner=1,220,0,15,,,,,,,,;pids=0,1,8187
2018-12-19 11:48:06.674 [ NOTICE] subscription: 001E: No input source available for subscription "SAT>IP" to mux "0.525MHz in network" 

(Ignore time differences, cut a paste was done at different times, but it is always the same sequence...)

Both are running recent builds of 4.3, although a few months apart in version.

Actions

Also available in: Atom PDF