SATPI icon indicating copy to clipboard operation
SATPI copied to clipboard

No picture with Sundtek SkyTV Ultimate Dual

Open nikolauzi11 opened this issue 3 years ago • 217 comments

Hello, I would like to install a SATPI server in a VM. For this I have a Sundtek SkyTV Ultimate Dual USB Tuner passed through to the VM. SATPI is running, web interface is there, but I get no picture. I have a simple DiseqC 1.0 switch and for testing I use DVBviewer Lite. Can someone please help me to solve the problem?

log.txt

Thanks

nikolauzi11 avatar Mar 28 '21 17:03 nikolauzi11

Hi @nikolauzi11

Thanks for giving this a try

It is strange, because it locks to a signal. (Why is DiSEqC send that many times?)

Sun Mar 28 18:28:00.0486 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Read/Write with fd: 11
  Sun Mar 28 18:28:00.0487 2021  6  Stream: 0, Start tuning process for DVB-S(2)...
  Sun Mar 28 18:28:00.0487 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Writing DiSEqC command with fd: 11
  Sun Mar 28 18:28:00.0928 2021  6  Stream: 0, Sending DiSEqC: [e0] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:00.5807 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:01.0465 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:01.5138 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:01.9991 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:02.4641 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:02.9462 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:03.4162 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:03.8973 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:04.3853 2021  6  Stream: 0, Sending DiSEqC: [e1] [10] [38] [f3] - DiSEqC Src: 0
  Sun Mar 28 18:28:04.8254 2021  7  Stream: 0, Set Properties: Frequency 1237000
  Sun Mar 28 18:28:05.2407 2021  6  Stream: 0, Waiting on lock...
  Sun Mar 28 18:28:05.2603 2021  6  Stream: 0, Not locked yet   (FE status 0x0)...
  Sun Mar 28 18:28:05.5880 2021  6  Stream: 0, Tuned and locked (FE status 0x1F)
  Sun Mar 28 18:28:05.5883 2021  6  Stream: 0, Updating PID filters...
  Sun Mar 28 18:28:05.5921 2021  6  Stream: 0, Set DMX buffer size to 18874368 Bytes
  Sun Mar 28 18:28:05.6214 2021  6  Stream: 0, Opened /dev/dvb/adapter0/demux0 fd: 13
  Sun Mar 28 18:28:05.6216 2021  7  Stream: 0, Set filter PID: 0000
  Sun Mar 28 18:28:05.6217 2021  7  Stream: 0, Set filter PID: 0018

But is does not receive data on the requested PIDS

Sun Mar 28 18:28:13.4584 2021  6  HTTP Connection from 192.168.112.61 Port 59840 with fd: 18
  Sun Mar 28 18:28:13.4660 2021  6  HTTP Connection from 192.168.112.61 Port 59841 with fd: 19
  Sun Mar 28 18:28:13.4664 2021  6  HTTP Connection from 192.168.112.61 Port 59842 with fd: 20
  Sun Mar 28 18:28:18.4675 2021  6  HTTP Client 192.168.112.61:59842 Connection closed with fd: 20
  Sun Mar 28 18:28:47.2379 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 59763: PLAY rtsp://192.168.112.66:554/stream=0?delpids=101,106,0,100,104 RTSP/1.0
  Sun Mar 28 18:28:47.2379 2021  7  CSeq: 10
  Sun Mar 28 18:28:47.2379 2021  7  Session: 0272220533
  Sun Mar 28 18:28:47.2379 2021  7  --- LINE END ---
  Sun Mar 28 18:28:47.2379 2021  6  Found StreamID 0 - SessionID 0272220533
  Sun Mar 28 18:28:47.2379 2021  6  Stream: 0, StreamClient[0] with SessionID 0272220533
  Sun Mar 28 18:28:47.2379 2021  6  Stream: 0, Parsing transport parameters...
  Sun Mar 28 18:28:47.2379 2021  7  Stream: 0, Parsing transport parameters (Finished)
  Sun Mar 28 18:28:47.2379 2021  6  Stream: 0, Updating frontend...
  Sun Mar 28 18:28:47.2380 2021  6  Stream: 0, Updating PID filters...
  Sun Mar 28 18:28:47.2380 2021  7  Stream: 0, Remove filter PID: 0000 - Packet Count: 0
  Sun Mar 28 18:28:47.2380 2021  7  Stream: 0, Remove filter PID: 0100 - Packet Count: 0
  Sun Mar 28 18:28:47.2380 2021  7  Stream: 0, Remove filter PID: 0101 - Packet Count: 0
  Sun Mar 28 18:28:47.2380 2021  7  Stream: 0, Remove filter PID: 0104 - Packet Count: 0
  Sun Mar 28 18:28:47.2380 2021  7  Stream: 0, Remove filter PID: 0106 - Packet Count: 0
  Sun Mar 28 18:28:47.2385 2021  7  Stream: 0, Updating frontend (Finished)

Sorry, I can not tell why or were the problem is at the moment

Barracuda09 avatar Mar 29 '21 06:03 Barracuda09

Hello @Barracuda09

Thanks for looking at it.

Sorry, I can not tell way or were the problem is at the moment

I'm sorry to hear that. Is there anything I can do to help solve the problem?

nikolauzi11 avatar Mar 29 '21 19:03 nikolauzi11

Hi @nikolauzi11

Could you look at the 'Frontend Overview' to see if there are packets send? image

Could you try VLC and construct an valid channel request?

Barracuda09 avatar Mar 29 '21 19:03 Barracuda09

Hi @nikolauzi11

Could you try with new commit? 65cad5b

Barracuda09 avatar Mar 29 '21 20:03 Barracuda09

Hi @Barracuda09

I tried your last commit, but unfortunately it does not work yet. I used VLC with following stream address:

rtsp://satip/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104

The packet counter remains at 0.

  Tue Mar 30 12:25:08.9048 2021  6  Number of processors online: 1
  Tue Mar 30 12:25:08.9048 2021  6  Default network buffer size: 104 KBytes
  Tue Mar 30 12:25:08.9049 2021  6  ens18: 192.168.112.66 [86:03:51:15:4f:89]
  Tue Mar 30 12:25:08.9049 2021  6  Current DVB_API_VERSION: 5.11
  Tue Mar 30 12:25:08.9049 2021  6  Enumerating all devices...
  Tue Mar 30 12:25:08.9049 2021  6  Detecting frontends in: /dev/dvb
  Tue Mar 30 12:25:08.9093 2021  6  Frontend Name: Sundtek DVB-S/S2 (VIII)
  Tue Mar 30 12:25:08.9094 2021  6  Frontend Type: Satellite (DVB-S2)
  Tue Mar 30 12:25:08.9094 2021  6  Frontend Type: Satellite (DVB-S)
  Tue Mar 30 12:25:08.9094 2021  6  Frontend Freq: 925000 Hz to 2175000 Hz
  Tue Mar 30 12:25:08.9094 2021  6  Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Tue Mar 30 12:25:08.9121 2021  6  Frontend Name: Sundtek DVB-S/S2 (VIII)
  Tue Mar 30 12:25:08.9122 2021  6  Frontend Type: Satellite (DVB-S2)
  Tue Mar 30 12:25:08.9122 2021  6  Frontend Type: Satellite (DVB-S)
  Tue Mar 30 12:25:08.9122 2021  6  Frontend Freq: 925000 Hz to 2175000 Hz
  Tue Mar 30 12:25:08.9122 2021  6  Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Tue Mar 30 12:25:08.9122 2021  6  Frontends found: 2
  Tue Mar 30 12:25:08.9122 2021  6  Setting up TS Reader using path: /var/lib/satpi
  Tue Mar 30 12:25:08.9123 2021  6  Setting up TS Streamer
  Tue Mar 30 12:25:08.9131 2021  6  Setting HTTP Port to: 8875
  Tue Mar 30 12:25:08.9131 2021  6  Setting RTSP Port to: 554
  Tue Mar 30 12:25:08.9131 2021  6  Setting WEB Path to: /usr/share/satpi/web
  Tue Mar 30 12:25:08.9131 2021  6  Setting App Data Path to: /var/lib/satpi
  Tue Mar 30 12:25:08.9146 2021  6  Setting up SSDP server with BOOTID: 15  annouce interval: 60 Sec
  Tue Mar 30 12:25:08.9148 2021  6  Setting up RTSP server
  Tue Mar 30 12:25:08.9148 2021  6  Setting up HTTP server
  Tue Mar 30 12:25:09.0987 2021  6  HTTP Connection from 192.168.112.61 Port 52055 with fd: 8
  Tue Mar 30 12:25:09.3439 2021  6  HTTP Connection from 192.168.112.61 Port 52057 with fd: 9
  Tue Mar 30 12:25:10.2339 2021  6  HTTP Connection from 192.168.112.61 Port 52062 with fd: 10
  Tue Mar 30 12:25:10.2343 2021  7  Client: 192.168.112.61 requested desc.xml
  Tue Mar 30 12:25:11.9226 2021  6  HTTP Connection from 192.168.112.20 Port 51407 with fd: 11
  Tue Mar 30 12:25:11.9227 2021  7  Client: 192.168.112.20 requested desc.xml
  Tue Mar 30 12:25:11.9594 2021  6  HTTP Connection from 192.168.112.61 Port 52067 with fd: 12
  Tue Mar 30 12:25:11.9596 2021  7  Client: 192.168.112.61 requested desc.xml
  Tue Mar 30 12:25:11.9718 2021  6  HTTP Connection from 192.168.112.68 Port 62533 with fd: 13
  Tue Mar 30 12:25:11.9722 2021  7  Client: 192.168.112.68 requested desc.xml
  Tue Mar 30 12:25:14.3510 2021  6  HTTP Client 192.168.112.61:52057 Connection closed with fd: 9
  Tue Mar 30 12:25:25.6249 2021  6  RTSP Connection from 192.168.112.61 Port 52099 with fd: 9
  Tue Mar 30 12:25:25.6249 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 52099: OPTIONS rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Tue Mar 30 12:25:25.6249 2021  7  CSeq: 2
  Tue Mar 30 12:25:25.6249 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Tue Mar 30 12:25:25.6249 2021  7  --- LINE END ---
  Tue Mar 30 12:25:25.6249 2021  7  RTSP/1.0 200 OK
  Tue Mar 30 12:25:25.6249 2021  7  CSeq: 2
  Tue Mar 30 12:25:25.6249 2021  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
  Tue Mar 30 12:25:25.6249 2021  7  --- LINE END ---
  Tue Mar 30 12:25:25.6310 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 52099: DESCRIBE rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Tue Mar 30 12:25:25.6310 2021  7  CSeq: 3
  Tue Mar 30 12:25:25.6310 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Tue Mar 30 12:25:25.6310 2021  7  Accept: application/sdp
  Tue Mar 30 12:25:25.6310 2021  7  --- LINE END ---
  Tue Mar 30 12:25:25.6310 2021  7  RTSP/1.0 404 Not Found
  Tue Mar 30 12:25:25.6310 2021  7  CSeq: 3
  Tue Mar 30 12:25:25.6310 2021  7  Content-Type: application/sdp
  Tue Mar 30 12:25:25.6310 2021  7  Content-Base: rtsp://192.168.112.66/
  Tue Mar 30 12:25:25.6310 2021  7  Content-Length: 0
  Tue Mar 30 12:25:25.6310 2021  7  --- LINE END ---
  Tue Mar 30 12:25:25.6339 2021  6  RTSP Client 192.168.112.61:52099 Connection closed with fd: 9
  Tue Mar 30 12:25:25.6365 2021  6  RTSP Connection from 192.168.112.61 Port 52100 with fd: 9
  Tue Mar 30 12:25:25.6442 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 52100: SETUP rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Tue Mar 30 12:25:25.6442 2021  7  CSeq: 0
  Tue Mar 30 12:25:25.6442 2021  7  Transport: RTP/AVP;unicast;client_port=9200-9201
  Tue Mar 30 12:25:25.6442 2021  7  --- LINE END ---
  Tue Mar 30 12:25:25.6443 2021  6  Found StreamID x - SessionID: 0269270754
  Tue Mar 30 12:25:25.6443 2021  6  Stream: 0, StreamClient[0] with SessionID 0269270754 for dvbs2
  Tue Mar 30 12:25:25.6443 2021  6  Stream: 0, Parsing transport parameters...
  Tue Mar 30 12:25:25.6443 2021  6  Stream: 0, New frequency requested, clearing old channel data...
  Tue Mar 30 12:25:25.6444 2021  7  Stream: 0, Parsing transport parameters (Finished)
  Tue Mar 30 12:25:25.6444 2021  7  Stream: 0, Found Streaming type: RTSP Unicast
  Tue Mar 30 12:25:25.6444 2021  6  Stream: 0, Updating frontend...
  Tue Mar 30 12:25:25.7971 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Read/Write with fd: 15
  Tue Mar 30 12:25:25.7971 2021  6  Stream: 0, Start tuning process for DVB-S(2)...
  Tue Mar 30 12:25:25.7971 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Writing DiSEqC command with fd: 15
  Tue Mar 30 12:25:25.8414 2021  6  Stream: 0, Sending DiSEqC: [e0] [10] [38] [f2] - DiSEqC Src: 0
  Tue Mar 30 12:25:26.1739 2021  7  Stream: 0, Set Properties: Frequency 1744000
  Tue Mar 30 12:25:26.5849 2021  6  Stream: 0, Waiting on lock...
  Tue Mar 30 12:25:26.6029 2021  6  Stream: 0, Not locked yet   (FE status 0x0)...
  Tue Mar 30 12:25:27.0476 2021  6  Stream: 0, Tuned and locked (FE status 0x1F)
  Tue Mar 30 12:25:27.0476 2021  6  Stream: 0, Updating PID filters...
  Tue Mar 30 12:25:27.0496 2021  6  Stream: 0, Set DMX buffer size to 18874368 Bytes
  Tue Mar 30 12:25:27.0790 2021  6  Stream: 0, Opened /dev/dvb/adapter0/demux0 fd: 17
  Tue Mar 30 12:25:27.0791 2021  7  Stream: 0, Set filter PID: 0000
  Tue Mar 30 12:25:27.0791 2021  7  Stream: 0, Set filter PID: 0001
  Tue Mar 30 12:25:27.0791 2021  7  Stream: 0, Set filter PID: 0016
  Tue Mar 30 12:25:27.0791 2021  7  Stream: 0, Set filter PID: 0017
  Tue Mar 30 12:25:27.0791 2021  7  Stream: 0, Set filter PID: 0018
  Tue Mar 30 12:25:27.0793 2021  7  Stream: 0, Set filter PID: 5100
  Tue Mar 30 12:25:27.0794 2021  7  Stream: 0, Set filter PID: 5101
  Tue Mar 30 12:25:27.0794 2021  7  Stream: 0, Set filter PID: 5102
  Tue Mar 30 12:25:27.0794 2021  7  Stream: 0, Set filter PID: 5104
  Tue Mar 30 12:25:27.0795 2021  7  Stream: 0, Updating frontend (Finished)
  Tue Mar 30 12:25:27.0795 2021  6  Stream: 0, RTP/UDP set network buffer size: 2080 KBytes
  Tue Mar 30 12:25:27.0796 2021  6  Stream: 0, Start RTCP/UDP stream to 192.168.112.61:9201
  Tue Mar 30 12:25:27.0796 2021  6  Stream: 0, Start RTP/UDP stream to 192.168.112.61:9200
  Tue Mar 30 12:25:27.0796 2021  7  RTSP/1.0 200 OK
  Tue Mar 30 12:25:27.0796 2021  7  CSeq: 0
  Tue Mar 30 12:25:27.0796 2021  7  Session: 0269270754;timeout=60
  Tue Mar 30 12:25:27.0796 2021  7  Transport: RTP/AVP;unicast;client_ip=192.168.112.61;client_port=9200-9201
  Tue Mar 30 12:25:27.0796 2021  7  com.ses.streamID: 0
  Tue Mar 30 12:25:27.0796 2021  7  --- LINE END ---
  Tue Mar 30 12:25:27.1305 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 52100: PLAY rtsp://satip:554/stream=0 RTSP/1.0
  Tue Mar 30 12:25:27.1305 2021  7  CSeq: 1
  Tue Mar 30 12:25:27.1305 2021  7  Session: 0269270754
  Tue Mar 30 12:25:27.1305 2021  7  --- LINE END ---
  Tue Mar 30 12:25:27.1305 2021  6  Found StreamID 0 - SessionID 0269270754
  Tue Mar 30 12:25:27.1305 2021  6  Stream: 0, StreamClient[0] with SessionID 0269270754
  Tue Mar 30 12:25:27.1305 2021  6  Stream: 0, Updating frontend...
  Tue Mar 30 12:25:27.1305 2021  7  Stream: 0, Updating frontend (Finished)
  Tue Mar 30 12:25:27.1305 2021  7  RTSP/1.0 200 OK
  Tue Mar 30 12:25:27.1305 2021  7  RTP-Info: url=rtsp://192.168.112.66/stream=0
  Tue Mar 30 12:25:27.1305 2021  7  CSeq: 1
  Tue Mar 30 12:25:27.1305 2021  7  Session: 0269270754
  Tue Mar 30 12:25:27.1305 2021  7  Range: npt=0.000-
  Tue Mar 30 12:25:27.1305 2021  7  --- LINE END ---
  Tue Mar 30 12:25:29.2925 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 52100: TEARDOWN rtsp://satip:554/stream=0 RTSP/1.0
  Tue Mar 30 12:25:29.2925 2021  7  CSeq: 2
  Tue Mar 30 12:25:29.2925 2021  7  Session: 0269270754
  Tue Mar 30 12:25:29.2925 2021  7  --- LINE END ---
  Tue Mar 30 12:25:29.2925 2021  6  Found StreamID 0 - SessionID 0269270754
  Tue Mar 30 12:25:29.2925 2021  6  Stream: 0, StreamClient[0] with SessionID 0269270754
  Tue Mar 30 12:25:29.2925 2021  6  Stream: 0, Teardown StreamClient[0] with SessionID 0269270754
  Tue Mar 30 12:25:29.4928 2021  6  Stream: 0, Destroy RTP/UDP stream to 192.168.112.61:9200
  Tue Mar 30 12:25:29.6932 2021  6  Stream: 0, Destroy RTCP/UDP stream to 192.168.112.61:9201
  Tue Mar 30 12:25:29.6932 2021  7  Stream: 0, Remove filter PID: 0000 - Packet Count: 0
  Tue Mar 30 12:25:29.6933 2021  7  Stream: 0, Remove filter PID: 0001 - Packet Count: 0
  Tue Mar 30 12:25:29.6933 2021  7  Stream: 0, Remove filter PID: 0016 - Packet Count: 0
  Tue Mar 30 12:25:29.6933 2021  7  Stream: 0, Remove filter PID: 0017 - Packet Count: 0
  Tue Mar 30 12:25:29.6933 2021  7  Stream: 0, Remove filter PID: 0018 - Packet Count: 0
  Tue Mar 30 12:25:29.6935 2021  7  Stream: 0, Remove filter PID: 5100 - Packet Count: 0
  Tue Mar 30 12:25:29.6935 2021  7  Stream: 0, Remove filter PID: 5101 - Packet Count: 0
  Tue Mar 30 12:25:29.6935 2021  7  Stream: 0, Remove filter PID: 5102 - Packet Count: 0
  Tue Mar 30 12:25:29.6935 2021  7  Stream: 0, Remove filter PID: 5104 - Packet Count: 0
  Tue Mar 30 12:25:29.6937 2021  6  Stream: 0, Closing /dev/dvb/adapter0/frontend0 fd: 15
  Tue Mar 30 12:25:29.6937 2021  6  Stream: 0, Closing /dev/dvb/adapter0/demux0 fd: 17
  Tue Mar 30 12:25:29.6938 2021  7  RTSP/1.0 200 OK
  Tue Mar 30 12:25:29.6938 2021  7  CSeq: 2
  Tue Mar 30 12:25:29.6938 2021  7  Session: 0269270754
  Tue Mar 30 12:25:29.6938 2021  7  --- LINE END ---
  Tue Mar 30 12:25:29.8495 2021  6  RTSP Client 192.168.112.61:52100 Connection closed with fd: 9
  Tue Mar 30 12:26:10.2602 2021  6  HTTP Client 192.168.112.61:52062 Connection closed with fd: 10
  Tue Mar 30 12:26:11.9518 2021  6  HTTP Client 192.168.112.20:51407 Connection closed with fd: 11
  Tue Mar 30 12:26:11.9738 2021  6  HTTP Client 192.168.112.61:52067 Connection closed with fd: 12
  Tue Mar 30 12:26:11.9894 2021  6  HTTP Client 192.168.112.68:62533 Connection closed with fd: 13

nikolauzi11 avatar Mar 30 '21 10:03 nikolauzi11

Hi @nikolauzi11

Ok thanks for trying, could you try it outside a VM?

Barracuda09 avatar Mar 30 '21 11:03 Barracuda09

Hi @Barracuda09

Thanks for your effort. I will try on physical hardware, but I will need a day or two.

nikolauzi11 avatar Mar 30 '21 12:03 nikolauzi11

Hi @Barracuda09

The result is exactly the same on physical hardware. I used an older Dell PC.

nikolauzi11 avatar Mar 31 '21 20:03 nikolauzi11

Hello @nikolauzi11

Many thanks for trying and your effort as well.

I am still puzzled by why it is not receiving PID data, as is it seems to tune correctly. Maybe it has to do with how the PIDS are requested in SatPI. I will try to setup my Raspberry Pi with DVB-C/T2 stick again, and see what happens with that. I have SatPI running at the moment only on Vu+ and GigaBlue receivers for both DVB-C and DVB-S2

https://github.com/Barracuda09/SATPI/blob/65cad5b44893502226bbd40ca0c3bb61dafda419/src/input/dvb/Frontend.cpp#L734-L748

Barracuda09 avatar Mar 31 '21 21:03 Barracuda09

Hi @nikolauzi11

I assume you have the latest drivers for the SundTek

Barracuda09 avatar Apr 01 '21 06:04 Barracuda09

Hi @Barracuda09

Yes, everything is up to date. I just testet it on an Raspberry Pi 3 B+ with the same result.

nikolauzi11 avatar Apr 01 '21 09:04 nikolauzi11

@nikolauzi11 some questions

  • does the Sundtek tool work (with scanning)?
  • are both channels affected?

Barracuda09 avatar Apr 01 '21 10:04 Barracuda09

Hi @Barracuda09

  • I have brought some time to get the Sundtek streaming server running, but yes it works. I have a stream in VLC.
  • Yes, both channels are affected.

nikolauzi11 avatar Apr 01 '21 12:04 nikolauzi11

Hi @nikolauzi11

Thanks for your feedback. I have to try this out on my Raspberry with DVB-C/T2 stick and see what happens

Barracuda09 avatar Apr 01 '21 19:04 Barracuda09

Hi @nikolauzi11

I think I messed up somewhere, it does not work here as well. An older version 1.5.183~geffd715 seems to work.

Have to check what I changed

Barracuda09 avatar Apr 01 '21 20:04 Barracuda09

Hi @nikolauzi11

First of all thanks for your effort so far.

Could you please try out the last commit and see if it makes any difference?

Thanks

Marc

Barracuda09 avatar Apr 03 '21 10:04 Barracuda09

Hi @Barracuda09

First of all thanks for your effort so far.

This is not a problem at all, I will be very happy to help you solve the problem.

However, the problem is unfortunately still there.

  Sat Apr  3 17:51:54.1077 2021  6  Number of processors online: 1
  Sat Apr  3 17:51:54.1077 2021  6  Default network buffer size: 104 KBytes
  Sat Apr  3 17:51:54.1078 2021  6  ens18: 192.168.112.66 [86:03:51:15:4f:89]
  Sat Apr  3 17:51:54.1078 2021  6  Current DVB_API_VERSION: 5.11
  Sat Apr  3 17:51:54.1078 2021  6  Enumerating all devices...
  Sat Apr  3 17:51:54.1078 2021  6  Detecting frontends in: /dev/dvb
  Sat Apr  3 17:51:55.1662 2021  6  Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 17:51:55.1663 2021  6  Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 17:51:55.1663 2021  6  Frontend Type: Satellite (DVB-S)
  Sat Apr  3 17:51:55.1663 2021  6  Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 17:51:55.1663 2021  6  Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 17:51:56.2275 2021  6  Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 17:51:56.2275 2021  6  Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 17:51:56.2275 2021  6  Frontend Type: Satellite (DVB-S)
  Sat Apr  3 17:51:56.2275 2021  6  Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 17:51:56.2275 2021  6  Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 17:51:56.2276 2021  6  Frontends found: 2
  Sat Apr  3 17:51:56.2276 2021  6  Setting up TS Reader using path: /var/lib/satpi
  Sat Apr  3 17:51:56.2277 2021  6  Setting up TS Streamer
  Sat Apr  3 17:51:56.2286 2021  6  Setting HTTP Port to: 8875
  Sat Apr  3 17:51:56.2286 2021  6  Setting RTSP Port to: 554
  Sat Apr  3 17:51:56.2286 2021  6  Setting WEB Path to: /usr/share/satpi/web
  Sat Apr  3 17:51:56.2286 2021  6  Setting App Data Path to: /var/lib/satpi
  Sat Apr  3 17:51:56.2313 2021  6  Setting up SSDP server with BOOTID: 18  annouce interval: 60 Sec
  Sat Apr  3 17:51:56.2315 2021  6  Setting up RTSP server
  Sat Apr  3 17:51:56.2315 2021  6  Setting up HTTP server
  Sat Apr  3 17:51:56.2673 2021  6  HTTP Connection from 192.168.112.61 Port 55173 with fd: 8
  Sat Apr  3 17:51:56.2944 2021  6  HTTP Connection from 192.168.112.61 Port 55171 with fd: 9
  Sat Apr  3 17:51:56.5553 2021  6  HTTP Connection from 192.168.112.61 Port 55172 with fd: 10
  Sat Apr  3 17:52:01.2996 2021  6  HTTP Client 192.168.112.61:55171 Connection closed with fd: 9
  Sat Apr  3 17:52:02.3094 2021  6  HTTP Client 192.168.112.61:55172 Connection closed with fd: 10
  Sat Apr  3 17:52:04.3496 2021  6  HTTP Connection from 192.168.112.61 Port 55175 with fd: 9
  Sat Apr  3 17:52:04.3496 2021  6  HTTP Connection from 192.168.112.61 Port 55176 with fd: 10
  Sat Apr  3 17:52:04.3503 2021  6  HTTP Connection from 192.168.112.61 Port 55177 with fd: 11
  Sat Apr  3 17:52:04.3504 2021  6  HTTP Connection from 192.168.112.61 Port 55178 with fd: 12
  Sat Apr  3 17:52:04.3504 2021  6  HTTP Connection from 192.168.112.61 Port 55179 with fd: 13
  Sat Apr  3 17:52:33.5620 2021  6  RTSP Connection from 192.168.112.61 Port 55181 with fd: 14
  Sat Apr  3 17:52:33.5620 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 55181: OPTIONS rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 17:52:33.5620 2021  7  CSeq: 2
  Sat Apr  3 17:52:33.5620 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 17:52:33.5620 2021  7  --- LINE END ---
  Sat Apr  3 17:52:33.5621 2021  7  RTSP/1.0 200 OK
  Sat Apr  3 17:52:33.5621 2021  7  CSeq: 2
  Sat Apr  3 17:52:33.5621 2021  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
  Sat Apr  3 17:52:33.5621 2021  7  --- LINE END ---
  Sat Apr  3 17:52:33.5673 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 55181: DESCRIBE rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 17:52:33.5673 2021  7  CSeq: 3
  Sat Apr  3 17:52:33.5673 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 17:52:33.5673 2021  7  Accept: application/sdp
  Sat Apr  3 17:52:33.5673 2021  7  --- LINE END ---
  Sat Apr  3 17:52:33.5674 2021  7  RTSP/1.0 404 Not Found
  Sat Apr  3 17:52:33.5674 2021  7  CSeq: 3
  Sat Apr  3 17:52:33.5674 2021  7  Content-Type: application/sdp
  Sat Apr  3 17:52:33.5674 2021  7  Content-Base: rtsp://192.168.112.66/
  Sat Apr  3 17:52:33.5674 2021  7  Content-Length: 0
  Sat Apr  3 17:52:33.5674 2021  7  --- LINE END ---
  Sat Apr  3 17:52:33.5709 2021  6  RTSP Client 192.168.112.61:55181 Connection closed with fd: 14
  Sat Apr  3 17:52:33.5750 2021  6  RTSP Connection from 192.168.112.61 Port 55182 with fd: 14
  Sat Apr  3 17:52:33.5895 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 55182: SETUP rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 17:52:33.5895 2021  7  CSeq: 0
  Sat Apr  3 17:52:33.5895 2021  7  Transport: RTP/AVP;unicast;client_port=9206-9207
  Sat Apr  3 17:52:33.5895 2021  7  --- LINE END ---
  Sat Apr  3 17:52:33.5896 2021  6  Found StreamID x - SessionID: 0266233894
  Sat Apr  3 17:52:33.5896 2021  6  Stream: 0, StreamClient[0] with SessionID 0266233894 for dvbs2
  Sat Apr  3 17:52:33.5896 2021  6  Stream: 0, Parsing transport parameters...
  Sat Apr  3 17:52:33.5896 2021  6  Stream: 0, New frequency requested, clearing old channel data...
  Sat Apr  3 17:52:33.5896 2021  7  Stream: 0, Parsing transport parameters (Finished)
  Sat Apr  3 17:52:33.5896 2021  7  Stream: 0, Found Streaming type: RTSP Unicast
  Sat Apr  3 17:52:33.5897 2021  6  Stream: 0, Updating frontend...
  Sat Apr  3 17:52:34.8009 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Read/Write with fd: 16
  Sat Apr  3 17:52:34.8261 2021  6  Stream: 0, Start tuning process for DVB-S(2)...
  Sat Apr  3 17:52:34.8261 2021  6  Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Writing DiSEqC command with fd: 16
  Sat Apr  3 17:52:34.8696 2021  6  Stream: 0, Sending DiSEqC: [e0] [10] [38] [f2] - DiSEqC Src: 0
  Sat Apr  3 17:52:35.2007 2021  7  Stream: 0, Set Properties: Frequency 1744000
  Sat Apr  3 17:52:35.6448 2021  6  Stream: 0, Waiting on lock...
  Sat Apr  3 17:52:35.9183 2021  6  Stream: 0, Tuned and locked (FE status 0x1F)
  Sat Apr  3 17:52:35.9183 2021  6  Stream: 0, Updating PID filters...
  Sat Apr  3 17:52:36.0278 2021  6  Stream: 0, Set DMX buffer size to 18874368 Bytes
  Sat Apr  3 17:52:36.0569 2021  6  Stream: 0, Opened /dev/dvb/adapter0/demux0 fd: 18
  Sat Apr  3 17:52:36.0569 2021  7  Stream: 0, Set filter PID: 0000
  Sat Apr  3 17:52:36.0569 2021  7  Stream: 0, Set filter PID: 0001
  Sat Apr  3 17:52:36.0569 2021  7  Stream: 0, Set filter PID: 0016
  Sat Apr  3 17:52:36.0569 2021  7  Stream: 0, Set filter PID: 0017
  Sat Apr  3 17:52:36.0569 2021  7  Stream: 0, Set filter PID: 0018
  Sat Apr  3 17:52:36.0572 2021  7  Stream: 0, Set filter PID: 5100
  Sat Apr  3 17:52:36.0572 2021  7  Stream: 0, Set filter PID: 5101
  Sat Apr  3 17:52:36.0572 2021  7  Stream: 0, Set filter PID: 5102
  Sat Apr  3 17:52:36.0572 2021  7  Stream: 0, Set filter PID: 5104
  Sat Apr  3 17:52:36.0574 2021  7  Stream: 0, Updating frontend (Finished)
  Sat Apr  3 17:52:36.0574 2021  6  Stream: 0, RTP/UDP set network buffer size: 2080 KBytes
  Sat Apr  3 17:52:36.0574 2021  6  Stream: 0, Start RTCP/UDP stream to 192.168.112.61:9207
  Sat Apr  3 17:52:36.0575 2021  6  Stream: 0, Start RTP/UDP stream to 192.168.112.61:9206
  Sat Apr  3 17:52:36.0575 2021  7  RTSP/1.0 200 OK
  Sat Apr  3 17:52:36.0575 2021  7  CSeq: 0
  Sat Apr  3 17:52:36.0575 2021  7  Session: 0266233894;timeout=60
  Sat Apr  3 17:52:36.0575 2021  7  Transport: RTP/AVP;unicast;client_ip=192.168.112.61;client_port=9206-9207
  Sat Apr  3 17:52:36.0575 2021  7  com.ses.streamID: 0
  Sat Apr  3 17:52:36.0575 2021  7  --- LINE END ---
  Sat Apr  3 17:52:36.2916 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 55182: PLAY rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 17:52:36.2916 2021  7  CSeq: 1
  Sat Apr  3 17:52:36.2916 2021  7  Session: 0266233894
  Sat Apr  3 17:52:36.2916 2021  7  --- LINE END ---
  Sat Apr  3 17:52:36.2916 2021  6  Found StreamID 0 - SessionID 0266233894
  Sat Apr  3 17:52:36.2916 2021  6  Stream: 0, StreamClient[0] with SessionID 0266233894
  Sat Apr  3 17:52:36.2916 2021  6  Stream: 0, Updating frontend...
  Sat Apr  3 17:52:36.2916 2021  7  Stream: 0, Updating frontend (Finished)
  Sat Apr  3 17:52:36.2916 2021  7  RTSP/1.0 200 OK
  Sat Apr  3 17:52:36.2916 2021  7  RTP-Info: url=rtsp://192.168.112.66/stream=0
  Sat Apr  3 17:52:36.2916 2021  7  CSeq: 1
  Sat Apr  3 17:52:36.2916 2021  7  Session: 0266233894
  Sat Apr  3 17:52:36.2916 2021  7  Range: npt=0.000-
  Sat Apr  3 17:52:36.2916 2021  7  --- LINE END ---
  Sat Apr  3 17:52:38.3324 2021  7  RTSP Stream data from client None with IP 192.168.112.61 on Port 55182: TEARDOWN rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 17:52:38.3324 2021  7  CSeq: 2
  Sat Apr  3 17:52:38.3324 2021  7  Session: 0266233894
  Sat Apr  3 17:52:38.3324 2021  7  --- LINE END ---
  Sat Apr  3 17:52:38.3325 2021  6  Found StreamID 0 - SessionID 0266233894
  Sat Apr  3 17:52:38.3325 2021  6  Stream: 0, StreamClient[0] with SessionID 0266233894
  Sat Apr  3 17:52:38.3325 2021  6  Stream: 0, Teardown StreamClient[0] with SessionID 0266233894
  Sat Apr  3 17:52:38.4326 2021  6  Stream: 0, Destroy RTP/UDP stream to 192.168.112.61:9206
  Sat Apr  3 17:52:38.6328 2021  6  Stream: 0, Destroy RTCP/UDP stream to 192.168.112.61:9207
  Sat Apr  3 17:52:38.6329 2021  7  Stream: 0, Remove filter PID: 0000 - Packet Count: 0
  Sat Apr  3 17:52:38.6329 2021  7  Stream: 0, Remove filter PID: 0001 - Packet Count: 0
  Sat Apr  3 17:52:38.6329 2021  7  Stream: 0, Remove filter PID: 0016 - Packet Count: 0
  Sat Apr  3 17:52:38.6329 2021  7  Stream: 0, Remove filter PID: 0017 - Packet Count: 0
  Sat Apr  3 17:52:38.6329 2021  7  Stream: 0, Remove filter PID: 0018 - Packet Count: 0
  Sat Apr  3 17:52:38.6331 2021  7  Stream: 0, Remove filter PID: 5100 - Packet Count: 0
  Sat Apr  3 17:52:38.6331 2021  7  Stream: 0, Remove filter PID: 5101 - Packet Count: 0
  Sat Apr  3 17:52:38.6331 2021  7  Stream: 0, Remove filter PID: 5102 - Packet Count: 0
  Sat Apr  3 17:52:38.6332 2021  7  Stream: 0, Remove filter PID: 5104 - Packet Count: 0
  Sat Apr  3 17:52:38.6333 2021  6  Stream: 0, Closing /dev/dvb/adapter0/frontend0 fd: 16
  Sat Apr  3 17:52:38.6333 2021  6  Stream: 0, Closing /dev/dvb/adapter0/demux0 fd: 18
  Sat Apr  3 17:52:38.6334 2021  7  RTSP/1.0 200 OK
  Sat Apr  3 17:52:38.6334 2021  7  CSeq: 2
  Sat Apr  3 17:52:38.6334 2021  7  Session: 0266233894
  Sat Apr  3 17:52:38.6334 2021  7  --- LINE END ---
  Sat Apr  3 17:52:38.7898 2021  6  RTSP Client 192.168.112.61:55182 Connection closed with fd: 14

nikolauzi11 avatar Apr 03 '21 16:04 nikolauzi11

Hi @nikolauzi11

Could you make a debug version? with:

make debug

Barracuda09 avatar Apr 03 '21 16:04 Barracuda09

Hi @Barracuda09

Sure:

  Sat Apr  3 19:01:06.4119 2021  6  [                                 src/main.cpp:383] Number of processors online: 1
  Sat Apr  3 19:01:06.4120 2021  6  [                                 src/main.cpp:384] Default network buffer size: 104 KBytes
  Sat Apr  3 19:01:06.4126 2021  6  [                        src/InterfaceAttr.cpp:130] ens18: 192.168.112.66 [86:03:51:15:4f:89]
  Sat Apr  3 19:01:06.4127 2021  6  [                        src/StreamManager.cpp:070] Current DVB_API_VERSION: 5.11
  Sat Apr  3 19:01:06.4128 2021  6  [                        src/StreamManager.cpp:071] Enumerating all devices...
  Sat Apr  3 19:01:06.4128 2021  6  [                   src/input/dvb/Frontend.cpp:175] Detecting frontends in: /dev/dvb
  Sat Apr  3 19:01:07.4678 2021  6  [                   src/input/dvb/Frontend.cpp:484] Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 19:01:07.4683 2021  6  [                   src/input/dvb/Frontend.cpp:561] Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 19:01:07.4684 2021  6  [                   src/input/dvb/Frontend.cpp:557] Frontend Type: Satellite (DVB-S)
  Sat Apr  3 19:01:07.4684 2021  6  [                   src/input/dvb/Frontend.cpp:603] Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 19:01:07.4684 2021  6  [                   src/input/dvb/Frontend.cpp:604] Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 19:01:08.5269 2021  6  [                   src/input/dvb/Frontend.cpp:484] Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 19:01:08.5274 2021  6  [                   src/input/dvb/Frontend.cpp:561] Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 19:01:08.5274 2021  6  [                   src/input/dvb/Frontend.cpp:557] Frontend Type: Satellite (DVB-S)
  Sat Apr  3 19:01:08.5274 2021  6  [                   src/input/dvb/Frontend.cpp:603] Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 19:01:08.5274 2021  6  [                   src/input/dvb/Frontend.cpp:604] Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 19:01:08.5275 2021  6  [                   src/input/dvb/Frontend.cpp:178] Frontends found: 2
  Sat Apr  3 19:01:08.5275 2021  6  [                  src/input/file/TSReader.cpp:056] Setting up TS Reader using path: /var/lib/satpi
  Sat Apr  3 19:01:08.5277 2021  6  [                src/input/stream/Streamer.cpp:059] Setting up TS Streamer
  Sat Apr  3 19:01:08.5354 2021  6  [                           src/Properties.cpp:075] Setting HTTP Port to: 8875
  Sat Apr  3 19:01:08.5356 2021  6  [                           src/Properties.cpp:080] Setting RTSP Port to: 554
  Sat Apr  3 19:01:08.5357 2021  6  [                           src/Properties.cpp:084] Setting WEB Path to: /usr/share/satpi/web
  Sat Apr  3 19:01:08.5357 2021  6  [                           src/Properties.cpp:088] Setting App Data Path to: /var/lib/satpi
  Sat Apr  3 19:01:08.5396 2021  6  [                           src/HttpServer.cpp:058] Setting up HTTP server
  Sat Apr  3 19:01:08.5404 2021  6  [                           src/RtspServer.cpp:046] Setting up RTSP server
  Sat Apr  3 19:01:08.5407 2021  6  [                     src/upnp/ssdp/Server.cpp:104] Setting up SSDP server with BOOTID: 19  annouce interval: 60 Sec
  Sat Apr  3 19:01:08.5898 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 57861 with fd: 8
  Sat Apr  3 19:01:08.8475 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 57860 with fd: 9
  Sat Apr  3 19:01:12.9084 2021  6  [                    src/socket/SocketAttr.cpp:137] RTSP Connection from 192.168.112.61 Port 57862 with fd: 10
  Sat Apr  3 19:01:12.9085 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 57862: OPTIONS rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 19:01:12.9085 2021  7  CSeq: 2
  Sat Apr  3 19:01:12.9085 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 19:01:12.9085 2021  7  --- LINE END ---
  Sat Apr  3 19:01:12.9085 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 19:01:12.9085 2021  7  CSeq: 2
  Sat Apr  3 19:01:12.9085 2021  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
  Sat Apr  3 19:01:12.9085 2021  7  --- LINE END ---
  Sat Apr  3 19:01:12.9147 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 57862: DESCRIBE rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 19:01:12.9147 2021  7  CSeq: 3
  Sat Apr  3 19:01:12.9147 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 19:01:12.9147 2021  7  Accept: application/sdp
  Sat Apr  3 19:01:12.9147 2021  7  --- LINE END ---
  Sat Apr  3 19:01:12.9148 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 404 Not Found
  Sat Apr  3 19:01:12.9148 2021  7  CSeq: 3
  Sat Apr  3 19:01:12.9148 2021  7  Content-Type: application/sdp
  Sat Apr  3 19:01:12.9148 2021  7  Content-Base: rtsp://192.168.112.66/
  Sat Apr  3 19:01:12.9148 2021  7  Content-Length: 0
  Sat Apr  3 19:01:12.9148 2021  7  --- LINE END ---
  Sat Apr  3 19:01:12.9183 2021  6  [                     src/socket/TcpSocket.cpp:106] RTSP Client 192.168.112.61:57862 Connection closed with fd: 10
  Sat Apr  3 19:01:12.9212 2021  6  [                    src/socket/SocketAttr.cpp:137] RTSP Connection from 192.168.112.61 Port 57863 with fd: 10
  Sat Apr  3 19:01:12.9351 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 57863: SETUP rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 19:01:12.9351 2021  7  CSeq: 0
  Sat Apr  3 19:01:12.9351 2021  7  Transport: RTP/AVP;unicast;client_port=9228-9229
  Sat Apr  3 19:01:12.9351 2021  7  --- LINE END ---
  Sat Apr  3 19:01:12.9353 2021  6  [                        src/StreamManager.cpp:169] Found StreamID x - SessionID: 0252133192
  Sat Apr  3 19:01:12.9353 2021  6  [                               src/Stream.cpp:234] Stream: 0, StreamClient[0] with SessionID 0252133192 for dvbs2
  Sat Apr  3 19:01:12.9353 2021  6  [                   src/input/dvb/Frontend.cpp:400] Stream: 0, Parsing transport parameters...
  Sat Apr  3 19:01:12.9353 2021  6  [               src/input/dvb/FrontendData.cpp:120] Stream: 0, New frequency requested, clearing old channel data...
  Sat Apr  3 19:01:12.9354 2021  7  [                   src/input/dvb/Frontend.cpp:407] Stream: 0, Parsing transport parameters (Finished)
  Sat Apr  3 19:01:12.9354 2021  7  [                               src/Stream.cpp:289] Stream: 0, Found Streaming type: RTSP Unicast
  Sat Apr  3 19:01:12.9355 2021  6  [                   src/input/dvb/Frontend.cpp:411] Stream: 0, Updating frontend...
  Sat Apr  3 19:01:13.0882 2021  6  [                   src/input/dvb/Frontend.cpp:691] Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Read/Write with fd: 12
  Sat Apr  3 19:01:13.1134 2021  6  [              src/input/dvb/delivery/DVBS.cpp:162] Stream: 0, Start tuning process for DVB-S(2)...
  Sat Apr  3 19:01:13.1135 2021  6  [              src/input/dvb/delivery/DVBS.cpp:204] Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Writing DiSEqC command with fd: 12
  Sat Apr  3 19:01:13.1568 2021  6  [      src/input/dvb/delivery/DiSEqcSwitch.cpp:107] Stream: 0, Sending DiSEqC: [e0] [10] [38] [f2] - DiSEqC Src: 0
  Sat Apr  3 19:01:13.4821 2021  7  [              src/input/dvb/delivery/DVBS.cpp:231] Stream: 0, Set Properties: Frequency 1744000
  Sat Apr  3 19:01:13.8610 2021  6  [                     src/socket/TcpSocket.cpp:106] HTTP Client 192.168.112.61:57860 Connection closed with fd: 9
  Sat Apr  3 19:01:13.9125 2021  6  [                   src/input/dvb/Frontend.cpp:698] Stream: 0, Waiting on lock...
  Sat Apr  3 19:01:14.1957 2021  6  [                   src/input/dvb/Frontend.cpp:708] Stream: 0, Tuned and locked (FE status 0x1F)
  Sat Apr  3 19:01:14.1957 2021  6  [                   src/input/dvb/Frontend.cpp:790] Stream: 0, Updating PID filters...
  Sat Apr  3 19:01:14.3055 2021  6  [                   src/input/dvb/Frontend.cpp:741] Stream: 0, Set DMX buffer size to 18874368 Bytes
  Sat Apr  3 19:01:14.3348 2021  6  [                   src/input/dvb/Frontend.cpp:755] Stream: 0, Opened /dev/dvb/adapter0/demux0 fd: 13
  Sat Apr  3 19:01:14.3349 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 0000
  Sat Apr  3 19:01:14.3349 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 0001
  Sat Apr  3 19:01:14.3349 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 0016
  Sat Apr  3 19:01:14.3349 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 0017
  Sat Apr  3 19:01:14.3349 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 0018
  Sat Apr  3 19:01:14.3352 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 5100
  Sat Apr  3 19:01:14.3353 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 5101
  Sat Apr  3 19:01:14.3353 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 5102
  Sat Apr  3 19:01:14.3353 2021  7  [                   src/input/dvb/Frontend.cpp:761] Stream: 0, Set filter PID: 5104
  Sat Apr  3 19:01:14.3355 2021  7  [                   src/input/dvb/Frontend.cpp:434] Stream: 0, Updating frontend (Finished)
  Sat Apr  3 19:01:14.3355 2021  6  [               src/output/StreamThreadRtp.cpp:065] Stream: 0, RTP/UDP set network buffer size: 2080 KBytes
  Sat Apr  3 19:01:14.3355 2021  6  [          src/output/StreamThreadRtcpBase.cpp:062] Stream: 0, Start RTCP/UDP stream to 192.168.112.61:9229
  Sat Apr  3 19:01:14.3356 2021  6  [              src/output/StreamThreadBase.cpp:122] Stream: 0, Start RTP/UDP stream to 192.168.112.61:9228
  Sat Apr  3 19:01:14.3356 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 19:01:14.3356 2021  7  CSeq: 0
  Sat Apr  3 19:01:14.3356 2021  7  Session: 0252133192;timeout=60
  Sat Apr  3 19:01:14.3356 2021  7  Transport: RTP/AVP;unicast;client_ip=192.168.112.61;client_port=9228-9229
  Sat Apr  3 19:01:14.3356 2021  7  com.ses.streamID: 0
  Sat Apr  3 19:01:14.3356 2021  7  --- LINE END ---
  Sat Apr  3 19:01:14.5853 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 57863: PLAY rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 19:01:14.5853 2021  7  CSeq: 1
  Sat Apr  3 19:01:14.5853 2021  7  Session: 0252133192
  Sat Apr  3 19:01:14.5853 2021  7  --- LINE END ---
  Sat Apr  3 19:01:14.5854 2021  6  [                        src/StreamManager.cpp:188] Found StreamID 0 - SessionID 0252133192
  Sat Apr  3 19:01:14.5854 2021  6  [                               src/Stream.cpp:237] Stream: 0, StreamClient[0] with SessionID 0252133192
  Sat Apr  3 19:01:14.5854 2021  6  [                   src/input/dvb/Frontend.cpp:411] Stream: 0, Updating frontend...
  Sat Apr  3 19:01:14.5854 2021  7  [                   src/input/dvb/Frontend.cpp:434] Stream: 0, Updating frontend (Finished)
  Sat Apr  3 19:01:14.5854 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 19:01:14.5854 2021  7  RTP-Info: url=rtsp://192.168.112.66/stream=0
  Sat Apr  3 19:01:14.5854 2021  7  CSeq: 1
  Sat Apr  3 19:01:14.5854 2021  7  Session: 0252133192
  Sat Apr  3 19:01:14.5854 2021  7  Range: npt=0.000-
  Sat Apr  3 19:01:14.5854 2021  7  --- LINE END ---
  Sat Apr  3 19:01:16.6145 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 57863: TEARDOWN rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 19:01:16.6145 2021  7  CSeq: 2
  Sat Apr  3 19:01:16.6145 2021  7  Session: 0252133192
  Sat Apr  3 19:01:16.6145 2021  7  --- LINE END ---
  Sat Apr  3 19:01:16.6146 2021  6  [                        src/StreamManager.cpp:188] Found StreamID 0 - SessionID 0252133192
  Sat Apr  3 19:01:16.6146 2021  6  [                               src/Stream.cpp:237] Stream: 0, StreamClient[0] with SessionID 0252133192
  Sat Apr  3 19:01:16.6146 2021  6  [                               src/Stream.cpp:333] Stream: 0, Teardown StreamClient[0] with SessionID 0252133192
  Sat Apr  3 19:01:16.7148 2021  6  [               src/output/StreamThreadRtp.cpp:044] Stream: 0, Destroy RTP/UDP stream to 192.168.112.61:9228
  Sat Apr  3 19:01:16.9151 2021  6  [              src/output/StreamThreadRtcp.cpp:043] Stream: 0, Destroy RTCP/UDP stream to 192.168.112.61:9229
  Sat Apr  3 19:01:16.9152 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 0000 - Packet Count: 0
  Sat Apr  3 19:01:16.9152 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 0001 - Packet Count: 0
  Sat Apr  3 19:01:16.9152 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 0016 - Packet Count: 0
  Sat Apr  3 19:01:16.9152 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 0017 - Packet Count: 0
  Sat Apr  3 19:01:16.9153 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 0018 - Packet Count: 0
  Sat Apr  3 19:01:16.9156 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 5100 - Packet Count: 0
  Sat Apr  3 19:01:16.9156 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 5101 - Packet Count: 0
  Sat Apr  3 19:01:16.9156 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 5102 - Packet Count: 0
  Sat Apr  3 19:01:16.9156 2021  7  [                   src/input/dvb/Frontend.cpp:774] Stream: 0, Remove filter PID: 5104 - Packet Count: 0
  Sat Apr  3 19:01:16.9158 2021  6  [                   src/input/dvb/Frontend.cpp:649] Stream: 0, Closing /dev/dvb/adapter0/frontend0 fd: 12
  Sat Apr  3 19:01:16.9163 2021  6  [                   src/input/dvb/Frontend.cpp:664] Stream: 0, Closing /dev/dvb/adapter0/demux0 fd: 13
  Sat Apr  3 19:01:16.9164 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 19:01:16.9164 2021  7  CSeq: 2
  Sat Apr  3 19:01:16.9164 2021  7  Session: 0252133192
  Sat Apr  3 19:01:16.9164 2021  7  --- LINE END ---
  Sat Apr  3 19:01:17.0715 2021  6  [                     src/socket/TcpSocket.cpp:106] RTSP Client 192.168.112.61:57863 Connection closed with fd: 10

nikolauzi11 avatar Apr 03 '21 17:04 nikolauzi11

Hi @nikolauzi11

Which Satellite and channel is this?

Barracuda09 avatar Apr 03 '21 17:04 Barracuda09

Hi @Barracuda09

It's ASTRA 19.2E, Das Erste HD.

nikolauzi11 avatar Apr 03 '21 17:04 nikolauzi11

Hi @nikolauzi11

Could you add after L754 and before L755 -- this:

	if (::ioctl(_fd_dmx, DMX_START) != 0) {
		PERROR("DMX_START");
	}

https://github.com/Barracuda09/SATPI/blob/9d9fa2202f25ce74c832fe74e5ead4d6951537fd/src/input/dvb/Frontend.cpp#L745-L760

Barracuda09 avatar Apr 03 '21 18:04 Barracuda09

So for clarity, it should become this:

          struct dmx_pes_filter_params pesFilter;
          pesFilter.pid      = pid;
          pesFilter.input    = DMX_IN_FRONTEND;
          pesFilter.output   = DMX_OUT_TSDEMUX_TAP;
          pesFilter.pes_type = DMX_PES_OTHER;
          pesFilter.flags    = DMX_IMMEDIATE_START;
          if (::ioctl(_fd_dmx, DMX_SET_PES_FILTER, &pesFilter) != 0) {
          PERROR("Stream: %d, DMX_SET_PES_FILTER (PID %04d)", _streamID, 0);
              return;
          }
          /////////////////////////////////// Added
          if (::ioctl(_fd_dmx, DMX_START) != 0) {
               PERROR("DMX_START");
          }
          /////////////////////////////////// Added
          SI_LOG_INFO("Stream: %d, Opened %s fd: %d", _streamID, _path_to_dmx.c_str(), _fd_dmx);

Barracuda09 avatar Apr 03 '21 18:04 Barracuda09

Hi @Barracuda09

Just tested it, but still no picture:

  Sat Apr  3 20:52:09.2759 2021  6  [                                 src/main.cpp:383] Number of processors online: 1
  Sat Apr  3 20:52:09.2759 2021  6  [                                 src/main.cpp:384] Default network buffer size: 104 KBytes
  Sat Apr  3 20:52:09.2760 2021  6  [                        src/InterfaceAttr.cpp:130] ens18: 192.168.112.66 [86:03:51:15:4f:89]
  Sat Apr  3 20:52:09.2760 2021  6  [                        src/StreamManager.cpp:070] Current DVB_API_VERSION: 5.11
  Sat Apr  3 20:52:09.2760 2021  6  [                        src/StreamManager.cpp:071] Enumerating all devices...
  Sat Apr  3 20:52:09.2760 2021  6  [                   src/input/dvb/Frontend.cpp:175] Detecting frontends in: /dev/dvb
  Sat Apr  3 20:52:10.3340 2021  6  [                   src/input/dvb/Frontend.cpp:484] Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 20:52:10.3345 2021  6  [                   src/input/dvb/Frontend.cpp:561] Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 20:52:10.3346 2021  6  [                   src/input/dvb/Frontend.cpp:557] Frontend Type: Satellite (DVB-S)
  Sat Apr  3 20:52:10.3346 2021  6  [                   src/input/dvb/Frontend.cpp:603] Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 20:52:10.3346 2021  6  [                   src/input/dvb/Frontend.cpp:604] Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 20:52:11.3942 2021  6  [                   src/input/dvb/Frontend.cpp:484] Frontend Name: Sundtek DVB-S/S2 (VIII)
  Sat Apr  3 20:52:11.3947 2021  6  [                   src/input/dvb/Frontend.cpp:561] Frontend Type: Satellite (DVB-S2)
  Sat Apr  3 20:52:11.3947 2021  6  [                   src/input/dvb/Frontend.cpp:557] Frontend Type: Satellite (DVB-S)
  Sat Apr  3 20:52:11.3947 2021  6  [                   src/input/dvb/Frontend.cpp:603] Frontend Freq: 925000 Hz to 2175000 Hz
  Sat Apr  3 20:52:11.3947 2021  6  [                   src/input/dvb/Frontend.cpp:604] Frontend srat: 1000000 symbols/s to 45000000 symbols/s
  Sat Apr  3 20:52:11.3947 2021  6  [                   src/input/dvb/Frontend.cpp:178] Frontends found: 2
  Sat Apr  3 20:52:11.3947 2021  6  [                  src/input/file/TSReader.cpp:056] Setting up TS Reader using path: /var/lib/satpi
  Sat Apr  3 20:52:11.3950 2021  6  [                src/input/stream/Streamer.cpp:059] Setting up TS Streamer
  Sat Apr  3 20:52:11.3994 2021  6  [                           src/Properties.cpp:075] Setting HTTP Port to: 8875
  Sat Apr  3 20:52:11.3996 2021  6  [                           src/Properties.cpp:080] Setting RTSP Port to: 554
  Sat Apr  3 20:52:11.3996 2021  6  [                           src/Properties.cpp:084] Setting WEB Path to: /usr/share/satpi/web
  Sat Apr  3 20:52:11.3997 2021  6  [                           src/Properties.cpp:088] Setting App Data Path to: /var/lib/satpi
  Sat Apr  3 20:52:11.4035 2021  6  [                           src/HttpServer.cpp:058] Setting up HTTP server
  Sat Apr  3 20:52:11.4045 2021  6  [                           src/RtspServer.cpp:046] Setting up RTSP server
  Sat Apr  3 20:52:11.4145 2021  6  [                     src/upnp/ssdp/Server.cpp:104] Setting up SSDP server with BOOTID: 23  annouce interval: 60 Sec
  Sat Apr  3 20:52:13.6303 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51915 with fd: 8
  Sat Apr  3 20:52:13.6789 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51916 with fd: 9
  Sat Apr  3 20:52:13.6793 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51917 with fd: 10
  Sat Apr  3 20:52:13.6794 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51918 with fd: 11
  Sat Apr  3 20:52:13.6794 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51919 with fd: 12
  Sat Apr  3 20:52:13.6794 2021  6  [                    src/socket/SocketAttr.cpp:137] HTTP Connection from 192.168.112.61 Port 51920 with fd: 13
  Sat Apr  3 20:52:18.6888 2021  6  [                    src/socket/SocketAttr.cpp:137] RTSP Connection from 192.168.112.61 Port 51923 with fd: 14
  Sat Apr  3 20:52:18.7040 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 51923: OPTIONS rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 20:52:18.7040 2021  7  CSeq: 2
  Sat Apr  3 20:52:18.7040 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 20:52:18.7040 2021  7  --- LINE END ---
  Sat Apr  3 20:52:18.7041 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 20:52:18.7041 2021  7  CSeq: 2
  Sat Apr  3 20:52:18.7041 2021  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
  Sat Apr  3 20:52:18.7041 2021  7  --- LINE END ---
  Sat Apr  3 20:52:18.7067 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 51923: DESCRIBE rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 20:52:18.7067 2021  7  CSeq: 3
  Sat Apr  3 20:52:18.7067 2021  7  User-Agent: LibVLC/3.0.12 (LIVE555 Streaming Media v2016.11.28)
  Sat Apr  3 20:52:18.7067 2021  7  Accept: application/sdp
  Sat Apr  3 20:52:18.7067 2021  7  --- LINE END ---
  Sat Apr  3 20:52:18.7068 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 404 Not Found
  Sat Apr  3 20:52:18.7068 2021  7  CSeq: 3
  Sat Apr  3 20:52:18.7068 2021  7  Content-Type: application/sdp
  Sat Apr  3 20:52:18.7068 2021  7  Content-Base: rtsp://192.168.112.66/
  Sat Apr  3 20:52:18.7068 2021  7  Content-Length: 0
  Sat Apr  3 20:52:18.7068 2021  7  --- LINE END ---
  Sat Apr  3 20:52:18.7090 2021  6  [                     src/socket/TcpSocket.cpp:106] RTSP Client 192.168.112.61:51923 Connection closed with fd: 14
  Sat Apr  3 20:52:18.7145 2021  6  [                    src/socket/SocketAttr.cpp:137] RTSP Connection from 192.168.112.61 Port 51924 with fd: 14
  Sat Apr  3 20:52:18.7288 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 51924: SETUP rtsp://satip:554/?src=1&freq=11494&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,5100,5101,5102,5104 RTSP/1.0
  Sat Apr  3 20:52:18.7288 2021  7  CSeq: 0
  Sat Apr  3 20:52:18.7288 2021  7  Transport: RTP/AVP;unicast;client_port=9440-9441
  Sat Apr  3 20:52:18.7288 2021  7  --- LINE END ---
  Sat Apr  3 20:52:18.7289 2021  6  [                        src/StreamManager.cpp:169] Found StreamID x - SessionID: 0286532486
  Sat Apr  3 20:52:18.7290 2021  6  [                               src/Stream.cpp:234] Stream: 0, StreamClient[0] with SessionID 0286532486 for dvbs2
  Sat Apr  3 20:52:18.7290 2021  6  [                   src/input/dvb/Frontend.cpp:400] Stream: 0, Parsing transport parameters...
  Sat Apr  3 20:52:18.7290 2021  6  [               src/input/dvb/FrontendData.cpp:120] Stream: 0, New frequency requested, clearing old channel data...
  Sat Apr  3 20:52:18.7291 2021  7  [                   src/input/dvb/Frontend.cpp:407] Stream: 0, Parsing transport parameters (Finished)
  Sat Apr  3 20:52:18.7292 2021  7  [                               src/Stream.cpp:289] Stream: 0, Found Streaming type: RTSP Unicast
  Sat Apr  3 20:52:18.7292 2021  6  [                   src/input/dvb/Frontend.cpp:411] Stream: 0, Updating frontend...
  Sat Apr  3 20:52:18.8818 2021  6  [                   src/input/dvb/Frontend.cpp:691] Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Read/Write with fd: 16
  Sat Apr  3 20:52:18.9069 2021  6  [              src/input/dvb/delivery/DVBS.cpp:162] Stream: 0, Start tuning process for DVB-S(2)...
  Sat Apr  3 20:52:18.9070 2021  6  [              src/input/dvb/delivery/DVBS.cpp:204] Stream: 0, Opened /dev/dvb/adapter0/frontend0 for Writing DiSEqC command with fd: 16
  Sat Apr  3 20:52:18.9499 2021  6  [      src/input/dvb/delivery/DiSEqcSwitch.cpp:107] Stream: 0, Sending DiSEqC: [e0] [10] [38] [f2] - DiSEqC Src: 0
  Sat Apr  3 20:52:19.2873 2021  7  [              src/input/dvb/delivery/DVBS.cpp:231] Stream: 0, Set Properties: Frequency 1744000
  Sat Apr  3 20:52:19.7180 2021  6  [                   src/input/dvb/Frontend.cpp:698] Stream: 0, Waiting on lock...
  Sat Apr  3 20:52:19.9925 2021  6  [                   src/input/dvb/Frontend.cpp:708] Stream: 0, Tuned and locked (FE status 0x1F)
  Sat Apr  3 20:52:19.9925 2021  6  [                   src/input/dvb/Frontend.cpp:793] Stream: 0, Updating PID filters...
  Sat Apr  3 20:52:20.0995 2021  6  [                   src/input/dvb/Frontend.cpp:741] Stream: 0, Set DMX buffer size to 18874368 Bytes
  Sat Apr  3 20:52:20.1286 2021  6  [                   src/input/dvb/Frontend.cpp:758] Stream: 0, Opened /dev/dvb/adapter0/demux0 fd: 18
  Sat Apr  3 20:52:20.1287 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 0000
  Sat Apr  3 20:52:20.1288 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 0001
  Sat Apr  3 20:52:20.1288 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 0016
  Sat Apr  3 20:52:20.1288 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 0017
  Sat Apr  3 20:52:20.1288 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 0018
  Sat Apr  3 20:52:20.1291 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 5100
  Sat Apr  3 20:52:20.1291 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 5101
  Sat Apr  3 20:52:20.1292 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 5102
  Sat Apr  3 20:52:20.1292 2021  7  [                   src/input/dvb/Frontend.cpp:764] Stream: 0, Set filter PID: 5104
  Sat Apr  3 20:52:20.1294 2021  7  [                   src/input/dvb/Frontend.cpp:434] Stream: 0, Updating frontend (Finished)
  Sat Apr  3 20:52:20.1294 2021  6  [               src/output/StreamThreadRtp.cpp:065] Stream: 0, RTP/UDP set network buffer size: 2080 KBytes
  Sat Apr  3 20:52:20.1294 2021  6  [          src/output/StreamThreadRtcpBase.cpp:062] Stream: 0, Start RTCP/UDP stream to 192.168.112.61:9441
  Sat Apr  3 20:52:20.1295 2021  6  [              src/output/StreamThreadBase.cpp:122] Stream: 0, Start RTP/UDP stream to 192.168.112.61:9440
  Sat Apr  3 20:52:20.1295 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 20:52:20.1295 2021  7  CSeq: 0
  Sat Apr  3 20:52:20.1295 2021  7  Session: 0286532486;timeout=60
  Sat Apr  3 20:52:20.1295 2021  7  Transport: RTP/AVP;unicast;client_ip=192.168.112.61;client_port=9440-9441
  Sat Apr  3 20:52:20.1295 2021  7  com.ses.streamID: 0
  Sat Apr  3 20:52:20.1295 2021  7  --- LINE END ---
  Sat Apr  3 20:52:20.2900 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 51924: PLAY rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 20:52:20.2900 2021  7  CSeq: 1
  Sat Apr  3 20:52:20.2900 2021  7  Session: 0286532486
  Sat Apr  3 20:52:20.2900 2021  7  --- LINE END ---
  Sat Apr  3 20:52:20.2901 2021  6  [                        src/StreamManager.cpp:188] Found StreamID 0 - SessionID 0286532486
  Sat Apr  3 20:52:20.2901 2021  6  [                               src/Stream.cpp:237] Stream: 0, StreamClient[0] with SessionID 0286532486
  Sat Apr  3 20:52:20.2901 2021  6  [                   src/input/dvb/Frontend.cpp:411] Stream: 0, Updating frontend...
  Sat Apr  3 20:52:20.2901 2021  7  [                   src/input/dvb/Frontend.cpp:434] Stream: 0, Updating frontend (Finished)
  Sat Apr  3 20:52:20.2901 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 20:52:20.2901 2021  7  RTP-Info: url=rtsp://192.168.112.66/stream=0
  Sat Apr  3 20:52:20.2901 2021  7  CSeq: 1
  Sat Apr  3 20:52:20.2901 2021  7  Session: 0286532486
  Sat Apr  3 20:52:20.2901 2021  7  Range: npt=0.000-
  Sat Apr  3 20:52:20.2901 2021  7  --- LINE END ---
  Sat Apr  3 20:52:22.3354 2021  7  [                          src/HttpcServer.cpp:153] RTSP Stream data from client None with IP 192.168.112.61 on Port 51924: TEARDOWN rtsp://satip:554/stream=0 RTSP/1.0
  Sat Apr  3 20:52:22.3354 2021  7  CSeq: 2
  Sat Apr  3 20:52:22.3354 2021  7  Session: 0286532486
  Sat Apr  3 20:52:22.3354 2021  7  --- LINE END ---
  Sat Apr  3 20:52:22.3354 2021  6  [                        src/StreamManager.cpp:188] Found StreamID 0 - SessionID 0286532486
  Sat Apr  3 20:52:22.3355 2021  6  [                               src/Stream.cpp:237] Stream: 0, StreamClient[0] with SessionID 0286532486
  Sat Apr  3 20:52:22.3355 2021  6  [                               src/Stream.cpp:333] Stream: 0, Teardown StreamClient[0] with SessionID 0286532486
  Sat Apr  3 20:52:22.5357 2021  6  [               src/output/StreamThreadRtp.cpp:044] Stream: 0, Destroy RTP/UDP stream to 192.168.112.61:9440
  Sat Apr  3 20:52:22.7363 2021  6  [              src/output/StreamThreadRtcp.cpp:043] Stream: 0, Destroy RTCP/UDP stream to 192.168.112.61:9441
  Sat Apr  3 20:52:22.7363 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 0000 - Packet Count: 0
  Sat Apr  3 20:52:22.7363 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 0001 - Packet Count: 0
  Sat Apr  3 20:52:22.7364 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 0016 - Packet Count: 0
  Sat Apr  3 20:52:22.7364 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 0017 - Packet Count: 0
  Sat Apr  3 20:52:22.7364 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 0018 - Packet Count: 0
  Sat Apr  3 20:52:22.7367 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 5100 - Packet Count: 0
  Sat Apr  3 20:52:22.7367 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 5101 - Packet Count: 0
  Sat Apr  3 20:52:22.7367 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 5102 - Packet Count: 0
  Sat Apr  3 20:52:22.7368 2021  7  [                   src/input/dvb/Frontend.cpp:777] Stream: 0, Remove filter PID: 5104 - Packet Count: 0
  Sat Apr  3 20:52:22.7369 2021  6  [                   src/input/dvb/Frontend.cpp:649] Stream: 0, Closing /dev/dvb/adapter0/frontend0 fd: 16
  Sat Apr  3 20:52:22.7375 2021  6  [                   src/input/dvb/Frontend.cpp:664] Stream: 0, Closing /dev/dvb/adapter0/demux0 fd: 18
  Sat Apr  3 20:52:22.7376 2021  7  [                          src/HttpcServer.cpp:213] RTSP/1.0 200 OK
  Sat Apr  3 20:52:22.7376 2021  7  CSeq: 2
  Sat Apr  3 20:52:22.7376 2021  7  Session: 0286532486
  Sat Apr  3 20:52:22.7376 2021  7  --- LINE END ---
  Sat Apr  3 20:52:22.9530 2021  6  [                     src/socket/TcpSocket.cpp:106] RTSP Client 192.168.112.61:51924 Connection closed with fd: 14

nikolauzi11 avatar Apr 03 '21 18:04 nikolauzi11

does dmesg (syslog) show any errors?

Barracuda09 avatar Apr 03 '21 19:04 Barracuda09

Hi @Barracuda09

Unfortunately not.

nikolauzi11 avatar Apr 03 '21 20:04 nikolauzi11

Hi @nikolauzi11

One more thing to try, I have changed the handling of PID filter some time ago. Maybe the SundTek does not like this.

This checkout will revert if back before this change. I would appreciate if you could try this:

git branch -f devtmp 9c4b71d
git checkout devtmp

Edit: This is the commit that changed this 82808f9401530d04ed58c7614ae54f35883e74a8

Regards,

Marc

Barracuda09 avatar Apr 04 '21 09:04 Barracuda09

Hi @Barracuda09

This version works with VLC :grin: With the VDR I can test it only tomorrow.

nikolauzi11 avatar Apr 04 '21 18:04 nikolauzi11

Hi @Barracuda09

On the VDR I only get a very stuttering stream with this version. But probably it's best to solve the original problem first.

nikolauzi11 avatar Apr 05 '21 10:04 nikolauzi11

Hi @nikolauzi11

Thanks for testing, so it seems the Sundtek drivers do not like the way of setting the PES-Filters (PID).

Barracuda09 avatar Apr 05 '21 10:04 Barracuda09