[ Solved ] Fritz 6490 v7.10 not working
Added by Jens Friedrich about 5 years ago
Hi,
i have a Fritzbox 6490 with DVB-C which works well with VLC using the exported m3u File of the box file which looks like this:
#EXTINF:0,Das Erste #EXTVLCOPT:network-caching=1000 rtsp://192.168.178.1:554/?avm=1&freq=346&bw=8&msys=dvbc&mtype=64qam&sr=6900&specinv=0&pids=0,16,17,18,20,100,101,102,103,104,106,84,105,1176,2070,2171 #EXTINF:0,BR Fernsehen Süd #EXTVLCOPT:network-caching=1000 rtsp://192.168.178.1:554/?avm=1&freq=346&bw=8&msys=dvbc&mtype=64qam&sr=6900&specinv=0&pids=0,16,17,18,20,200,201,202,203,204,206,207,1076,2171,2178
TVH ist installed on debian these days in stable version 4.2.8-31~g0a60f73ee.
It is located with 4 IP addresses (192.168.178.111-114) in same subnet as the 6490 (192.168.178.1).
/etc/default/tvheadend
TVH_ARGS="--trace --debug --satip_xml http://192.168.178.1:49000/satipdesc.xml"
TVH and 6490 are communicating, but TVH allways sends "408 Error - Time out" back to 6490, after 6490 has responded OK the requested PLAY command from TVH.
Problem seems to be, that TVH is not sending the correct answer to 6490 that RTP stream starts -> see VLC communication below.
TCPDUMP looks like this:
Request: SETUP rtsp://192.168.178.1/?&freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1&pids=0,21 RTSP/1.0\r\n Method: SETUP URL: rtsp://192.168.178.1/?&freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1&pids=0,21 Transport: RTP/AVP;unicast;client_port=53600-53601 Response: RTSP/1.0 200 OK Status: 200 CSeq: 1 Session: 1165;timeout=60 Transport: RTP/AVP;unicast;client_port=53600-53601;source=192.168.178.1;server_port=5000-5001 com.ses.streamID: 1131\r\n Request: PLAY rtsp://192.168.178.1/stream=1131?&freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1&pids=0,21 RTSP/1.0 Method: PLAY URL: rtsp://192.168.178.1/stream=1131?&freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1&pids=0,21 Session: 1165 CSeq: 2 Response: RTSP/1.0 408 Request Time-out Status: 408 CSeq: 2 Session: 1165 RTP-Info: url=rtsp://192.168.178.1/stream=1131 Request: TEARDOWN rtsp://192.168.178.1/stream=1131 RTSP/1.0\r\n Method: TEARDOWN URL: rtsp://192.168.178.1/stream=1131 Session: 1165 CSeq: 3\r\n \r\n Response: RTSP/1.0 200 OK\r\n Status: 200 CSeq: 3\r\n Session: 1165 \r\n
Error is well known:
2019-10-05 20:04:44.089 mpegts: 346MHz in Herzomedia - tuning on SAT>IP DVB-C Tuner #1 (192.168.178.1) 2019-10-05 20:04:44.089 subscription: 0002: "scan" subscribing to mux "346MHz", weight: 6, adapter: "SAT>IP DVB-C Tuner #1 (192.168.178.1)", network: "Herzomedia", service: "Raw PID Subscription" 2019-10-05 20:04:44.207 satip: SAT>IP DVB-C Tuner #1 (192.168.178.1) - RTSP cmd error 7 (Unknown error -7) [8-408]
Replies (12)
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
See here the communication from VLC to 6490:
Request: OPTIONS rtsp://192.168.178.1:554/?freq=634&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6644,2440,2445 RTSP/1.0\r\n Response: RTSP/1.0 200 OK\r\n Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN\r\n Request: DESCRIBE rtsp://192.168.178.1:554/?freq=634&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6644,2440,2445 RTSP/1.0\r\n Response: RTSP/1.0 200 OK\r\n Content-Base: rtsp://192.168.178.1:554/?freq=634&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6644,2440,2445\r\n Content-length: 212 Content-type: application/sdp CSeq: 3\r\n \r\n Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): - 1169 1 IN IP4 192.168.178.1 Session Name (s): SatIPServer:1 0,0,4 Time Description, active time (t): 0 0 Media Description, name and address (m): video 0 RTP/AVP 33 Connection Information (c): In IP4 0.0.0.0 Media Attribute (a): control:stream=1 Media Attribute (a): fmtp:33 ver=1.2;src=1;tuner=1,240,1,7,112,,dvbc,,,,6900,34;pids=0,16,17,18,20 Media Attribute (a): sendonly Request: SETUP rtsp://192.168.178.1:554/?freq=634&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6644,2440,2445/stream=1 RTSP/1.0\r\n CSeq: 4\r\n User-Agent: LibVLC/3.0.8 (LIVE555 Streaming Media v2016.11.28)\r\n Transport: RTP/AVP;unicast;client_port=65364-65365 \r\n Response: RTSP/1.0 200 OK\r\n CSeq: 4\r\n Session: 1170;timeout=60 Transport: RTP/AVP;unicast;client_port=65364-65365;source=192.168.178.1;server_port=5000-5001 com.ses.streamID: 1\r\n \r\n Request: PLAY rtsp://192.168.178.1:554/stream=1 RTSP/1.0\r\n CSeq: 5\r\n User-Agent: LibVLC/3.0.8 (LIVE555 Streaming Media v2016.11.28)\r\n Session: 1170 Range: npt=0.000-\r\n \r\n Response: RTSP/1.0 200 OK\r\n CSeq: 5\r\n Session: 1170 RTP-Info: url=rtsp://192.168.178.1/stream=1\r\n \r\n User Datagram Protocol, Src Port: 5000, Dst Port: 65364 Real-Time Transport Protocol Internet Protocol Version 4, Src: 192.168.178.1, Dst: 192.168.3.66 User Datagram Protocol, Src Port: 5000, Dst Port: 65364 Real-Time Transport Protocol ISO/IEC 13818-1 PID=0x988 CC=12 ISO/IEC 13818-1 PID=0x988 CC=13 ...
The difference is e.g. in the PLAY command:
TVH: Request: PLAY rtsp://192.168.178.1/stream=1131?&freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1&pids=0,21 RTSP/1.0 VLC: Request: PLAY rtsp://192.168.178.1:554/stream=1 RTSP/1.0
so i assume that this short PLAY command is enough, because it was defined by streamID before by SETUP already.
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
No Support / Interest for AVM DVB-C anymore?
RE: Fritz 6490 v7.10 not working - Added by Joe User about 5 years ago
Have you tried tvheadend version 4.3> There have been some changes/fixes to the satip code.
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
Yes, there is no difference
besides that the startscripts are buggy - they don't read the --satip_xml param from etc/default/tvheadend
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
We see in VLC Communication, that after the
0) Reply 200 OK
with the communication channel definition (client_port=x Server_port=y)
VLC opens the respective RTP UDP channel
1) 62535 -> 5001
before the command is sent to 6490 SatIP Server
2) PLAY
and the Stream starts afterwards
3) RTP + MPegTS
The TVHeadend Server doesn't open this Channel, so this is the error i suppose:
VLC_SatIP.JPG (111 KB) VLC_SatIP.JPG | |||
TVH_communication.JPG (115 KB) TVH_communication.JPG |
RE: Fritz 6490 v7.10 not working - Added by M A Ben Amara about 5 years ago
Hi, may just worth a try, when i still had the 6490 (im on 6591 now due upgrade but sadly no Fritz DVB-C currently) and the update came for 7.03 or so, i had to remove the --satip_xml http://192.168.178.1:49000/satipdesc.xml line due AVM added their way to announce SATIP now.
may just worth a try to remove the tuner and start tvheadend without --satip_xml http://192.168.178.1:49000/satipdesc.xml,
so it should find the tuner as SATIP Tuner in the network and then just readd it, worked here at least.
RE: Fritz 6490 v7.10 not working - Added by Joe User about 5 years ago
In your first post you have:
vlc = "freq=346&bw=8&msys=dvbc&mtype=64qam&sr=6900&specinv=0"
tvh = "freq=346&sr=6900&msys=dvbc&mtype=256qam&specinv=1"
which is correct???
Then second post you have:
"freq=634&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0"
You post results tested with the same channel in order to compare...
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
M A Ben Amara wrote:
Hi, may just worth a try, when i still had the 6490 (im on 6591 now due upgrade but sadly no Fritz DVB-C currently) and the update came for 7.03 or so, i had to remove the --satip_xml http://192.168.178.1:49000/satipdesc.xml line due AVM added their way to announce SATIP now.
may just worth a try to remove the tuner and start tvheadend without --satip_xml http://192.168.178.1:49000/satipdesc.xml,
so it should find the tuner as SATIP Tuner in the network and then just readd it, worked here at least.
I tried this. Thus i added the 4 additional IPs of TVH in the same subnet where the 6490 is located.
But without --satip_xml TVH doesn't find the DVB-C SatIP server of the 6490.
Anything specific to configure TVH that it gets the 6490 SATIP info's ?
RE: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
Joe User wrote:
You post results tested with the same channel in order to compare...
The channel is not relevant ... no channel works with tvh, all with vlc.
RE: Fritz 6490 v7.10 not working - Added by M A Ben Amara about 5 years ago
Jens Friedrich wrote:
M A Ben Amara wrote:
Hi, may just worth a try, when i still had the 6490 (im on 6591 now due upgrade but sadly no Fritz DVB-C currently) and the update came for 7.03 or so, i had to remove the --satip_xml http://192.168.178.1:49000/satipdesc.xml line due AVM added their way to announce SATIP now.
may just worth a try to remove the tuner and start tvheadend without --satip_xml http://192.168.178.1:49000/satipdesc.xml,
so it should find the tuner as SATIP Tuner in the network and then just readd it, worked here at least.
I tried this. Thus i added the 4 additional IPs of TVH in the same subnet where the 6490 is located.
But without --satip_xml TVH doesn't find the DVB-C SatIP server of the 6490.Anything specific to configure TVH that it gets the 6490 SATIP info's ?
it wasnt here at least ... and the extra ip´s where also not needed anymore since fritz 7.x ... the 1 stream/ip limit should be also gone ... sorry, as i said i have no more 6490 here, waiting for 6591 to support dvb-c,
all i can say is i removed every extra i added for fritz satip and it worked "out of the box".
im running tvheadend in a docker container and it has to be in host mode to use satip ...
Resolved: Fritz 6490 v7.10 not working - Added by Jens Friedrich about 5 years ago
Got it working:
--> network interface didn't got packets from UPnP Port UDP 1900 (firewall).
Yeah -> now i want to feed my PLEX with DVB-C
RE: Fritz 6490 v7.10 not working - Added by M A Ben Amara about 5 years ago
xteve is a good start point, enjoy