Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
154 stars 32 forks source link

Fixed - Add support for DVB API 5.4 #28

Closed lars18th closed 9 years ago

lars18th commented 9 years ago

Hi,

In order to add support for DVB API 5.4 (several recent Linux drivers only support up to 5.4) you only need to manually check tuner type if the ioctl for FE_GET_INFO command fails. This is the only current requirement for API 5.5.

So, if you like some inspiration you can review my patch for minisatip (similar project) here: http://github.com/catalinii/minisatip/issues/98#issuecomment-76725502

I'm sure you can adapt to your code in some minutes! :) Regards!

Barracuda09 commented 9 years ago

Hi lars18th,

Thanks I will look into this.. but did you perhaps mean FE_GET_PROPERTY?

Marc

Barracuda09 commented 9 years ago

Hi,

I have bubble check what I run for API here.. But is is 5.4 as well. I do not have these problems.

Regards,

Marc

lars18th commented 9 years ago

Hi Barracuda,

Yes, I'm speaking about FE_GET_PROPERTY, not FE_GET_INFO. Sorry for that!

Related to the problem, your code don't work with my current tuners (USB DVB-T using API 5.4). This is the output with the current version (MAC changed):

$ ./satpi --no-daemon --- starting SatPI version: -unknown --- eth0: 192.168.1.100 [00:00:00:00:00:00] Detecting frontends in: /dev/dvb Frontends found: 2 Frontend Name: Afatech AF9013 DVB-T ioctl FE_GET_PROPERTY: Invalid argument (code 22) Frontend Name: Afatech AF9013 DVB-T ioctl FE_GET_PROPERTY: Invalid argument (code 22) Setting up RTSP server Setting up SSDP server with BOOTID: 1

As you can see the code of line #159 in file "Frontend.cpp" (https://github.com/Barracuda09/SATPI/blob/e929fadbb3097e571f989c4e1fe1805544984459/Frontend.cpp#L159) fails when you use this CMD ioctl. This command is supported ONLY in DVB-API 5.5, and not in API 5.4 But if you use devices with only one Tunning Space, you're fine if using API 5.4 to determine the tuner type. You only need to add some code when this call fails, and check the tuner type using the old API. With this simple change you can support API>=5.5 AND API=5.4. You can as example in my patch for the other similar project.

Please, update you code as It's easy! Several systems are still running with 5.4 and not all device drivers are compatible with 5.5.

I hope you can do it! :) Best!

Barracuda09 commented 9 years ago

Hi,

Well I was under the impression that FE_GET_PROPERTY was already in 5.4?

Barracuda09 commented 9 years ago

Ok.. the problem is DTV_ENUM_DELSYS which is not in 5.4

lars18th commented 9 years ago

Hi,

Yes, the COMMAND not found in 5.5 is DTV_ENUM_DELSYS... sorry (several posts in one day!). But the line that you need to check is the IF in #159, because you execute the ioctl with the CMD in this line! The CMD is set in the parameters at line #153.

I hope you soon update your code with 5.4 support! :)

Barracuda09 commented 9 years ago

Hi,

Yes thanks.. I will do so. If I have fixed this can you check it then?

Marc

lars18th commented 9 years ago

Hi Marc,

Yes, please, fix it and I try in my system! I like to start to use your program soon.

Regards!

Barracuda09 commented 9 years ago

Hi,

I have tried to fix this. If you like and have time you can test it.

Thanks

lars18th commented 9 years ago

Hi,

Cloned last version and compile it. Comments:

1) You need to change Frontend.cpp#232, because the new definition of SYS_DVBC_ANNEX_C breaks the compilation (I changed it for ANNEX_A for compiling because I don't use C or A at time).

2) The program starts with this info:

--- starting SatPI version: -unknown --- eth0: 192.168.1.10 [00:00:00:00:00:00] Detecting frontends in: /dev/dvb Frontends found: 2 Frontend Name: Afatech AF9013 DVB-T Frontend Name: Afatech AF9013 DVB-T Setting up SSDP server with BOOTID: 5 Setting up HTTP server Setting up RTSP server

But when I use any SAT>IP Client, the log shows:

Found StreamID x - SessionID x - Creating new SessionID: 0671693627 Stream: 0, StreamClient[0] with SessionID 0671693627 for dvbt Stream: 0, Opened FE fd: 9. Stream: 0, Waiting on lock. Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Opened DVR fd: 10. Stream: 0, Start RTP streaming to 192.168.1.20 (52042 - 52043) Stream: 0, Start RTCP streaming to 192.168.1.20 (52042 - 52043) Found StreamID x - SessionID: 0671693627 Stream: 0, StreamClient[0] with SessionID 0671693627 Stream: 0, Waiting on lock. Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Not locked yet (FE status 0)... Stream: 0, Updating PID filters... Found StreamID x - SessionID: 0671693627 Stream: 0, StreamClient[0] with SessionID 0671693627 Stream: 0, Teardown StreamClient[0] with SessionID 0671693627 Stream: 0, Stop RTP streaming to 192.168.1.20 (52042 - 52043) (Streamed 0.000 MBytes) Stream: 0, Stop RTCP stream to 192.168.1.20 (52042 - 52043) Found SessionID 0671693627 by SocketClient Found StreamID x - SessionID: 0671693627 Stream: 0, StreamClient[0] with SessionID 0671693627 Stream: 0, Close StreamClient[0] with SessionID 0671693627

And no data received by the client. :-(

But, see the info of "Streamed 0.000 MBytes"... I feel the problem is that you aren't reading data from the dvb device!

I hope you can fix it! Regards!

Barracuda09 commented 9 years ago

Hi,

Can you make an debug version and post again the log?

Barracuda09 commented 9 years ago

And what is the compiler output with SYS_DVBC_ANNEX_C then?

lars18th commented 9 years ago

Hi Marc,

And what is the compiler output with SYS_DVBC_ANNEX_C then?

$ uname -a Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux

$ git clone --depth=1 git://github.com/Barracuda09/SATPI Cloning into 'SATPI'...

$ cd SATPI $ make ./version.sh Version.cpp > /dev/null g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG Version.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG Satpi.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG ChannelData.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG StreamProperties.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG Properties.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG StringConverter.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG Log.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG HttpcSocket.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG TcpSocket.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG UdpSocket.cpp g++ -c -Wall -Wextra -Winit-self -O2 -s -DNDEBUG Frontend.cpp Frontend.cpp: In member function ‘bool Frontend::setFrontendInfo()’: Frontend.cpp:232:24: error: invalid conversion from ‘int’ to ‘fe_delivery_system_t {aka fe_delivery_system}’ [-fpermissive] Frontend.cpp: In member function ‘bool Frontend::tune(int, const ChannelData&)’: Frontend.cpp:280:3: warning: case value ‘18’ not in enumerated type ‘const fe_delivery_system_t {aka const fe_delivery_system}’ [-Wswitch] make: *\ [Frontend.o] Error 1

The problem is the definition of SYS_DVBC_ANNEX_C: in DVB-API 5.4 is only declared SYS_DVBC_ANNEX_AC and SYS_DVBC_ANNEX_B

Regards!

Barracuda09 commented 9 years ago

Hi,

Yes Thanks... I whipped up an old DVB-API and fixed it...

lars18th commented 9 years ago

Hi Marc,

Can you make an debug version and post again the log?

Compiled with "make debug"...

[ Satpi.cpp:243] --- starting SatPI version: -unknown --- [ InterfaceAttr.h:094] eth0: 192.168.1.10 [00:00:00:00:00:00] [ Streams.cpp:116] Not the preferred DVB API version, for correct function it should be 5.5 or higher [ Streams.cpp:118] Current DVB_API_VERSION: 5.4 [ Streams.cpp:120] Detecting frontends in: /dev/dvb [ Streams.cpp:130] Frontends found: 2 [ Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T [ Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call [ Frontend.cpp:217] Frontend Type: Terrestrial (DVB-T) [ Frontend.cpp:241] Frontend Freq: 174000000 Hz to 860000000 Hz [ Frontend.cpp:242] Frontend srat: 0 symbols/s to 0 symbols/s [ Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T [ Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call [ Frontend.cpp:217] Frontend Type: Terrestrial (DVB-T) [ Frontend.cpp:241] Frontend Freq: 174000000 Hz to 860000000 Hz [ Frontend.cpp:242] Frontend srat: 0 symbols/s to 0 symbols/s [ SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 4 [ HttpServer.cpp:074] Setting up HTTP server [ RtspServer.cpp:059] Setting up RTSP server [ TcpSocket.cpp:148] RTSP Connection from 192.168.1.20 Port 58107 (fd: 8) [ TcpSocket.cpp:085] RTSP Client 192.168.1.20: Connection closed with fd: 8 [ Streams.cpp:212] Found message outside session [ TcpSocket.cpp:148] RTSP Connection from 192.168.1.20 Port 58108 (fd: 8) [ TcpSocket.cpp:085] RTSP Client 192.168.1.20: Connection closed with fd: 8 [ Streams.cpp:212] Found message outside session [ TcpSocket.cpp:148] RTSP Connection from 192.168.1.20 Port 58109 (fd: 8) [ RtspServer.cpp:071] Data from client 192.168.1.20: OPTIONS rtsp://192.168.1.10:554/ RTSP/1.0 CSeq: 1 --- LINE END --- [ Streams.cpp:212] Found message outside session [ Stream.cpp:203] Stream: -1, Parsing transport parameters... [ StreamClient.cpp:043] Connection can close: 1 [ RtspServer.cpp:196] RTSP/1.0 200 OK CSeq: 1 Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN --- LINE END --- [ RtspServer.cpp:071] Data from client 192.168.1.20: SETUP rtsp://192.168.1.10:554/?freq=858&msys=dvbt&bw=8 RTSP/1.0 CSeq: 2 Transport: RTP/AVP;unicast;client_port=52014-52015 --- LINE END --- [ Streams.cpp:230] Found StreamID x - SessionID x - Creating new SessionID: 1702957685 [ Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbt [ Stream.cpp:203] Stream: 0, Parsing transport parameters... [ StreamClient.cpp:043] Connection can close: 0 [ Frontend.cpp:407] Stream: 0, Opened FE fd: 9. [ Frontend.cpp:368] Stream: 0, Start tuning process... [ Frontend.cpp:418] Stream: 0, Waiting on lock. [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:450] Stream: 0, Opened DVR fd: 10. [ RtpThread.cpp:090] Stream: 0, Start RTP streaming to 192.168.1.20 (52014 - 52015) [ RtcpThread.cpp:074] Stream: 0, Start RTCP streaming to 192.168.1.20 (52014 - 52015) [ RtspServer.cpp:142] RTSP/1.0 200 OK CSeq: 2 Session: 1702957685;timeout=60 Transport: RTP/AVP;unicast;client_port=52014-52015 com.ses.streamID: 0 --- LINE END --- [ RtspServer.cpp:071] Data from client 192.168.1.20: PLAY rtsp://192.168.1.10:554/stream=0?pids=all RTSP/1.0 CSeq: 3 Session: 1702957685 --- LINE END --- [ Streams.cpp:222] Found StreamID x - SessionID: 1702957685 [ Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685 [ Stream.cpp:203] Stream: 0, Parsing transport parameters... [ StreamClient.cpp:043] Connection can close: 0 [ Frontend.cpp:368] Stream: 0, Start tuning process... [ Frontend.cpp:418] Stream: 0, Waiting on lock. [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:432] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:457] Stream: 0, Updating PID filters... [ Frontend.cpp:474] Stream: 0, Set filter PID: 0000 - fd: 013 [ RtspServer.cpp:168] RTSP/1.0 200 OK RTP-Info: url=rtsp://192.168.1.10/stream=0 CSeq: 3 Session: 1702957685 --- LINE END --- [ RtspServer.cpp:071] Data from client 192.168.1.20: TEARDOWN rtsp://192.168.1.10:554/stream=0 RTSP/1.0 CSeq: 4 Session: 1702957685 --- LINE END --- [ Streams.cpp:222] Found StreamID x - SessionID: 1702957685 [ Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685 [ StreamClient.cpp:043] Connection can close: 1 [ Stream.cpp:125] Stream: 0, Teardown StreamClient[0] with SessionID 1702957685 [ RtpThread.cpp:101] Stream: 0, Stop RTP streaming to 192.168.1.20 (52014 - 52015) (Streamed 0.000 MBytes) [ RtcpThread.cpp:084] Stream: 0, Stop RTCP stream to 192.168.1.20 (52014 - 52015) [ Frontend.cpp:490] Stream: 0, Remove filter PID: 0000 - fd: 013 - Packet Count: 0 [ RtspServer.cpp:284] RTSP/1.0 200 OK CSeq: 4 Session: 1702957685 --- LINE END --- [ TcpSocket.cpp:085] RTSP Client 192.168.1.20: Connection closed with fd: 8 [ Streams.cpp:202] Found SessionID 1702957685 by SocketClient [ Streams.cpp:222] Found StreamID x - SessionID: 1702957685 [ Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685 [ Stream.cpp:110] Stream: 0, Close StreamClient[0] with SessionID 1702957685

I feel the problem is the tunning process: Are you using some 5.5 specific commands for it? For sure, the same frequency works with the same client and minisatip as SAT>IP server!

Barracuda09 commented 9 years ago

Hi,

If you like and have some time could you try the last commit?

Thanks

lars18th commented 9 years ago

Hi Marc,

Compìled and tested... result: no go!

Here the relevant part of the log (compiled with debug):

[ Streams.cpp:222] Found StreamID x - SessionID: 1702957685 [ Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685 [ Stream.cpp:203] Stream: 0, Parsing transport parameters... [ Stream.cpp:317] Not supported delivery system [ StreamClient.cpp:043] Connection can close: 0 [ Frontend.cpp:374] Stream: 0, Start tuning process... [ Frontend.cpp:424] Stream: 0, Waiting on lock. [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:438] Stream: 0, Not locked yet (FE status 0)... [ Frontend.cpp:463] Stream: 0, Updating PID filters... [ Frontend.cpp:480] Stream: 0, Set filter PID: 0000 - fd: 013

The message "Not supported delivery system" is new. I suggest to include in the debug the characteristics of detected tuners. Now I see at start:

[ Streams.cpp:116] Not the preferred DVB API version, for correct function it should be 5.5 or higher [ Streams.cpp:118] Current DVB_API_VERSION: 5.4 [ Streams.cpp:120] Detecting frontends in: /dev/dvb [ Streams.cpp:130] Frontends found: 2 [ Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T [ Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call [ Frontend.cpp:217] Frontend Type: Terrestrial (DVB-T) [ Frontend.cpp:245] Frontend Freq: 174000000 Hz to 860000000 Hz [ Frontend.cpp:246] Frontend srat: 0 symbols/s to 0 symbols/s [ Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T [ Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call [ Frontend.cpp:217] Frontend Type: Terrestrial (DVB-T) [ Frontend.cpp:245] Frontend Freq: 174000000 Hz to 860000000 Hz [ Frontend.cpp:246] Frontend srat: 0 symbols/s to 0 symbols/s

And both "devices" are the same USB DUAL DVB-T tuner.

I hope you can finally fix today! :)

Barracuda09 commented 9 years ago

Hi,

Thanks again for trying.. But could you also give the SETUP message?

lars18th commented 9 years ago

Hi Marc,

But could you also give the SETUP message?

I do another clone, compile with "debug", and here the relevant log that you request:

[ RtspServer.cpp:071] Data from client 192.168.210.101: OPTIONS rtsp://192.168.1.10:554/ RTSP/1.0 [ RtspServer.cpp:071] Data from client 192.168.210.101: SETUP rtsp://192.168.1.10:554/?freq=634&msys=dvbt&bw=8&pids=0 RTSP/1.0 [ RtspServer.cpp:071] Data from client 192.168.210.101: PLAY rtsp://192.168.1.10:554/stream=0?addpids=18 RTSP/1.0 RTP-Info: url=rtsp://192.168.1.10/stream=0 [ RtspServer.cpp:071] Data from client 192.168.210.101: PLAY rtsp://192.168.1.10:554/stream=0?addpids=1001,1101,0,1000,1200 RTSP/1.0 RTP-Info: url=rtsp://192.168.1.10/stream=0 [ RtspServer.cpp:071] Data from client 192.168.210.101: PLAY rtsp://192.168.1.10:554/stream=0?delpids=1001,1101,0,1000,1200 RTSP/1.0 RTP-Info: url=rtsp://192.168.1.10/stream=0 [ RtspServer.cpp:071] Data from client 192.168.210.101: PLAY rtsp://192.168.1.10:554/stream=0?delpids=18 RTSP/1.0 RTP-Info: url=rtsp://192.168.1.10/stream=0 [ RtspServer.cpp:071] Data from client 192.168.210.101: TEARDOWN rtsp://192.168.1.10:554/stream=0 RTSP/1.0

As you see "msys=" parameter is only in the "tune" message (aka SETUP), and the problem is that you requiere this parameter in each command (and is not requiered, as when the tune is done, you can modify the 'stream' without more info about the tunning).

I hope you can finally fix the problem! Moreover, I suggest this patch for more debug info:

--- ../SATPI/Stream.cpp 2015-03-10 15:17:41.745383980 -0400 +++ ./Stream.cpp 2015-03-10 15:04:59.013419723 -0400 @@ -215,6 +215,7 @@ setSymbolRate(intVal * 1000); } if ((msys = StringConverter::getMSYSParameter(msg, method)) != SYS_UNDEFINED) {

It helps me to see that the problem isn't related to the code processing "msys=" parameter but the lack of the parameter in que RTSP message! :)

Barracuda09 commented 9 years ago

Hi,

Did you still see the message "Not supported delivery system"?

pbriesch commented 9 years ago

Hi Marc,

I do see this message: [ Stream.cpp:321] Not supported delivery system

[      Streams.cpp:225] Found StreamID x - SessionID: 0205744672
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 0205744672
[       Stream.cpp:204] Stream: 0, Parsing transport parameters...
[       Stream.cpp:321] Not supported delivery system
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:376] Stream: 0, Sending DiSEqC [e0] [10] [38] [f2]
^Cpbriesch@ubuntu32:~/satpi$ sudo ./satpi --no-daemon
[        Satpi.cpp:243] --- starting SatPI version: 1.5.14~g91c11d8 ---
[  InterfaceAttr.h:094] eth0: 192.168.1.169 [00:19:66:0f:8d:07]
[      Streams.cpp:118] Current DVB_API_VERSION: 5.10
[      Streams.cpp:120] Detecting frontends in: /dev/dvb
[      Streams.cpp:130] Frontends found: 2
[     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
[     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
[     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
[     Frontend.cpp:209] Frontend Type: DSS
[     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
[     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
[     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
[     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
[     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
[     Frontend.cpp:209] Frontend Type: DSS
[     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
[     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
[   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 25
[   HttpServer.cpp:074] Setting up HTTP server
[   RtspServer.cpp:059] Setting up RTSP server
[    TcpSocket.cpp:148] RTSP Connection from 192.168.1.21 Port 53098 (fd: 8)
[   RtspServer.cpp:071] Data from client 192.168.1.21: OPTIONS rtsp://192.168.1.169:554/ RTSP/1.0
CSeq: 1
--- LINE END ---
pbriesch commented 9 years ago

Now I'm getting an error message I haven't seen before: [ RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)

v=0
o=- 2 3 IN IP4 192.168.1.169
s=SatIPServer:1 2,0,0
t=0 0
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=0
a=fmtp:33 ver=1.0;src=1;tuner=1,2,1,0,11082.00,0,dvbs2,8psk,0,0.20,22000,34;pids=
a=inactive
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=1
a=fmtp:33 ver=1.0;src=1;tuner=2,2,1,0,11493.00,0,dvbs2,8psk,0,0.35,22000,23;pids=0,16,17,18,20,54,5100,5101,5102,5103,5104,5105,5106
a=sendonly
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 11
[      Streams.cpp:215] Found message outside session
[       Stream.cpp:110] Stream: -1, Close StreamClient[0] with SessionID -1
[    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 62675 (fd: 11)
[   RtspServer.cpp:071] Data from client 192.168.1.107: DESCRIBE rtsp://192.168.1.169/ RTSP/1.0
Connection:Close
CSeq:1320
Accept:application/sdp
--- LINE END ---
[      Streams.cpp:215] Found message outside session
[ StreamClient.cpp:043] Connection can close: 1
[   RtspServer.cpp:261] RTSP/1.0 200 OK
CSeq: 1320
Content-Type: application/sdp
Content-Base: rtsp://192.168.1.169/
Content-Length: 426
--- LINE END ---
v=0
o=- 2 3 IN IP4 192.168.1.169
s=SatIPServer:1 2,0,0
t=0 0
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=0
a=fmtp:33 ver=1.0;src=1;tuner=1,2,1,0,11082.00,0,dvbs2,8psk,0,0.20,22000,34;pids=
a=inactive
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=1
a=fmtp:33 ver=1.0;src=1;tuner=2,2,1,0,11493.00,0,dvbs2,8psk,0,0.35,22000,23;pids=0,16,17,18,20,54,5100,5101,5102,5103,5104,5105,5106
a=sendonly
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
[   RtcpThread.cpp:123] FE_READ_STATUS failed: Inappropriate ioctl for device (code 25)
Barracuda09 commented 9 years ago

Hi Paul,

Just saw this just now, but what were you doing at this point. What programs were you using.

Marc

lars18th commented 9 years ago

Hi Marc,

Did you still see the message "Not supported delivery system"?

Sure! The bug still here. Please, revise your code: you check in ALL requests for the "msys" parameter, but this is not the case... when the request is using the "stream" parameter you need to reuse the data related to this stream, instead to receive more info inside the request.

FYI, I'm using serveral DVBViewer based SAT>IP clients for testing (DVBViewer Pro, GE, DD-TV).

pbriesch commented 9 years ago

Hello Marc,

What programs were you using.

According to the IP (192.168.1.107) I must have used EyeTV on the Mac.

Anyway, I have tested the new commit with VDR with vtuner and now see new error messages: [ RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9) EyeTV on Mac works. But same new error message. Please find each log below.

Paul

VDR with vtuner:

0  Wed Mar 11 13:26:27.972772523 2015  6  [        Satpi.cpp:243] --- starting SatPI version: 1.5.15~ga60aac8 ---
1  Wed Mar 11 13:26:27.974451293 2015  6  [  InterfaceAttr.h:094] eth0: 192.168.1.169 [00:19:66:0f:8d:07]
2  Wed Mar 11 13:26:27.981419300 2015  7  [      Streams.cpp:118] Current DVB_API_VERSION: 5.10
3  Wed Mar 11 13:26:27.982466848 2015  6  [      Streams.cpp:120] Detecting frontends in: /dev/dvb
4  Wed Mar 11 13:26:27.983174083 2015  6  [      Streams.cpp:130] Frontends found: 2
5  Wed Mar 11 13:26:27.984176662 2015  6  [     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
6  Wed Mar 11 13:26:27.984896982 2015  7  [     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
7  Wed Mar 11 13:26:27.985331116 2015  7  [     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
8  Wed Mar 11 13:26:27.985793728 2015  7  [     Frontend.cpp:209] Frontend Type: DSS
9  Wed Mar 11 13:26:27.986193129 2015  7  [     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
10  Wed Mar 11 13:26:27.986608406 2015  7  [     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
11  Wed Mar 11 13:26:27.987082493 2015  6  [     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
12  Wed Mar 11 13:26:27.987472130 2015  7  [     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
13  Wed Mar 11 13:26:27.988064824 2015  7  [     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
14  Wed Mar 11 13:26:27.988495192 2015  7  [     Frontend.cpp:209] Frontend Type: DSS
15  Wed Mar 11 13:26:27.988813760 2015  7  [     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
16  Wed Mar 11 13:26:27.989317138 2015  7  [     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
17  Wed Mar 11 13:26:27.990440513 2015  6  [   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 36
18  Wed Mar 11 13:26:27.991536702 2015  6  [   HttpServer.cpp:074] Setting up HTTP server
19  Wed Mar 11 13:26:27.992648866 2015  6  [   RtspServer.cpp:059] Setting up RTSP server
20  Wed Mar 11 13:26:28.711136670 2015  6  [    TcpSocket.cpp:148] HTTP Connection from 192.168.1.107 Port 51985 (fd: 8)
21  Wed Mar 11 13:26:29.479114739 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.21 Port 42703 (fd: 9)
22  Wed Mar 11 13:26:29.480043440 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: OPTIONS rtsp://192.168.1.169:554/ RTSP/1.0
23  Wed Mar 11 13:26:29.480043440 2015  7  CSeq: 1
24  Wed Mar 11 13:26:29.480043440 2015  7  --- LINE END ---
25  Wed Mar 11 13:26:29.481150259 2015  6  [      Streams.cpp:215] Found message outside session
26  Wed Mar 11 13:26:29.481524952 2015  7  [ StreamClient.cpp:043] Connection can close: 1
27  Wed Mar 11 13:26:29.481914131 2015  7  [   RtspServer.cpp:196] RTSP/1.0 200 OK
28  Wed Mar 11 13:26:29.481914131 2015  7  CSeq: 1
29  Wed Mar 11 13:26:29.481914131 2015  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
30  Wed Mar 11 13:26:29.481914131 2015  7  --- LINE END ---
31  Wed Mar 11 13:26:29.483540508 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: SETUP rtsp://192.168.1.169/?src=1&freq=12174.9&pol=h&msys=dvbs&sr=27500&fec=34&pids=173,18,20,0,17,16,146,84 RTSP/1.0
32  Wed Mar 11 13:26:29.483540508 2015  7  CSeq: 2
33  Wed Mar 11 13:26:29.483540508 2015  7  Transport: RTP/AVP;unicast;client_port=45538-45539
34  Wed Mar 11 13:26:29.483540508 2015  7  --- LINE END ---
35  Wed Mar 11 13:26:29.485121837 2015  6  [      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 1702957685
36  Wed Mar 11 13:26:29.485497515 2015  6  [       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbs
37  Wed Mar 11 13:26:29.485894950 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
38  Wed Mar 11 13:26:29.486962555 2015  7  [ StreamClient.cpp:043] Connection can close: 0
39  Wed Mar 11 13:26:29.487881260 2015  6  [     Frontend.cpp:423] Stream: 0, Opened FE fd: 10.
40  Wed Mar 11 13:26:29.488390796 2015  7  [     Frontend.cpp:384] Stream: 0, Start tuning process...
41  Wed Mar 11 13:26:29.488723105 2015  6  [     Frontend.cpp:376] Stream: 0, Sending DiSEqC [e0] [10] [38] [f3]
42  Wed Mar 11 13:26:29.866141096 2015  6  [     Frontend.cpp:434] Stream: 0, Waiting on lock.
43  Wed Mar 11 13:26:29.866304338 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
44  Wed Mar 11 13:26:30.364672439 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
45  Wed Mar 11 13:26:30.389941214 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
46  Wed Mar 11 13:26:30.415186726 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
47  Wed Mar 11 13:26:30.441151717 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
48  Wed Mar 11 13:26:30.467070848 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
49  Wed Mar 11 13:26:30.493021732 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
50  Wed Mar 11 13:26:30.518921258 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
51  Wed Mar 11 13:26:30.545116993 2015  6  [     Frontend.cpp:466] Stream: 0, Opened DVR fd: 11.
52  Wed Mar 11 13:26:30.545989809 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
53  Wed Mar 11 13:26:30.546509537 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0000 - fd: 012
54  Wed Mar 11 13:26:30.546946340 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0016 - fd: 013
55  Wed Mar 11 13:26:30.547360011 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0017 - fd: 014
56  Wed Mar 11 13:26:30.547870228 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0018 - fd: 015
57  Wed Mar 11 13:26:30.548332323 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0020 - fd: 016
58  Wed Mar 11 13:26:30.548754102 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0084 - fd: 017
59  Wed Mar 11 13:26:30.549173472 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0146 - fd: 018
60  Wed Mar 11 13:26:30.549585638 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0173 - fd: 019
61  Wed Mar 11 13:26:30.550623129 2015  6  [    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.21:45538
62  Wed Mar 11 13:26:30.551357130 2015  3  [     Frontend.cpp:056] FRONTEND DEVICE: Device or resource busy (code 16)
63  Wed Mar 11 13:26:30.552232894 2015  6  [   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.21:45539
64  Wed Mar 11 13:26:30.552872167 2015  7  [   RtspServer.cpp:142] RTSP/1.0 200 OK
65  Wed Mar 11 13:26:30.552872167 2015  7  CSeq: 2
66  Wed Mar 11 13:26:30.552872167 2015  7  Session: 1702957685;timeout=60
67  Wed Mar 11 13:26:30.552872167 2015  7  Transport: RTP/AVP;unicast;client_port=45538-45539
68  Wed Mar 11 13:26:30.552872167 2015  7  com.ses.streamID: 0
69  Wed Mar 11 13:26:30.552872167 2015  7  --- LINE END ---
70  Wed Mar 11 13:26:30.555129168 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0 RTSP/1.0
71  Wed Mar 11 13:26:30.555129168 2015  7  CSeq: 3
72  Wed Mar 11 13:26:30.555129168 2015  7  Session: 1702957685
73  Wed Mar 11 13:26:30.555129168 2015  7  --- LINE END ---
74  Wed Mar 11 13:26:30.557463431 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
75  Wed Mar 11 13:26:30.557799075 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
76  Wed Mar 11 13:26:30.558170837 2015  7  [ StreamClient.cpp:043] Connection can close: 0
77  Wed Mar 11 13:26:30.558503377 2015  7  [     Frontend.cpp:384] Stream: 0, Start tuning process...
78  Wed Mar 11 13:26:30.558816188 2015  6  [     Frontend.cpp:376] Stream: 0, Sending DiSEqC [e0] [10] [38] [f3]
79  Wed Mar 11 13:26:30.559328439 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
80  Wed Mar 11 13:26:30.770161605 2015  6  [     Frontend.cpp:434] Stream: 0, Waiting on lock.
81  Wed Mar 11 13:26:30.960873165 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
82  Wed Mar 11 13:26:31.268670172 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
83  Wed Mar 11 13:26:31.293921062 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
84  Wed Mar 11 13:26:31.319169983 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
85  Wed Mar 11 13:26:31.345207956 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
86  Wed Mar 11 13:26:31.362628205 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,12174.90,0,dvbs,qpsk,2,0.35,27500,34;pids=0,16,17,18,20,84,146,173
87  Wed Mar 11 13:26:31.363568790 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
88  Wed Mar 11 13:26:31.371142128 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
89  Wed Mar 11 13:26:31.396905506 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
90  Wed Mar 11 13:26:31.422833927 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
91  Wed Mar 11 13:26:31.448755447 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
92  Wed Mar 11 13:26:31.474674502 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
93  Wed Mar 11 13:26:31.474674502 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
94  Wed Mar 11 13:26:31.474674502 2015  7  CSeq: 3
95  Wed Mar 11 13:26:31.474674502 2015  7  Session: 1702957685
96  Wed Mar 11 13:26:31.474674502 2015  7  --- LINE END ---
97  Wed Mar 11 13:26:31.764800321 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
98  Wed Mar 11 13:26:32.166406708 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
99  Wed Mar 11 13:26:32.367719324 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,12174.90,0,dvbs,qpsk,2,0.35,27500,34;pids=0,16,17,18,20,84,146,173
100  Wed Mar 11 13:26:32.568366340 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
101  Wed Mar 11 13:26:32.970017401 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
102  Wed Mar 11 13:26:33.372129650 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,12174.90,0,dvbs,qpsk,2,0.35,27500,34;pids=0,16,17,18,20,84,146,173
103  Wed Mar 11 13:26:33.372310181 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
104  Wed Mar 11 13:26:33.773125706 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
105  Wed Mar 11 13:26:34.174806761 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
106  Wed Mar 11 13:26:34.375390956 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,12174.90,0,dvbs,qpsk,2,0.35,27500,34;pids=0,16,17,18,20,84,146,173
107  Wed Mar 11 13:26:34.576009742 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)

EyeTV on Mac:

0  Wed Mar 11 13:38:16.850326359 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
1  Wed Mar 11 13:38:16.850326359 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
2  Wed Mar 11 13:38:16.850326359 2015  7  CSeq: 1003
3  Wed Mar 11 13:38:16.850326359 2015  7  Session: 1702957685
4  Wed Mar 11 13:38:16.850326359 2015  7  --- LINE END ---
5  Wed Mar 11 13:38:16.852476465 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: SETUP rtsp://192.168.1.169:554/?src=1&freq=11953&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=34 RTSP/1.0
6  Wed Mar 11 13:38:16.852476465 2015  7  Connection:Close
7  Wed Mar 11 13:38:16.852476465 2015  7  CSeq:1002
8  Wed Mar 11 13:38:16.852476465 2015  7  Transport:RTP/AVP;unicast;client_port=5002-5003
9  Wed Mar 11 13:38:16.852476465 2015  7  --- LINE END ---
10  Wed Mar 11 13:38:16.854895105 2015  6  [      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 0205744672
11  Wed Mar 11 13:38:16.855732554 2015  6  [       Stream.cpp:064] Stream: 1, StreamClient[0] with SessionID 0205744672 for dvbs
12  Wed Mar 11 13:38:16.856710976 2015  7  [       Stream.cpp:197] Stream: 1, Parsing transport parameters...
13  Wed Mar 11 13:38:16.858170342 2015  7  [ StreamClient.cpp:043] Connection can close: 0
14  Wed Mar 11 13:38:16.859200154 2015  6  [     Frontend.cpp:423] Stream: 1, Opened FE fd: 25.
15  Wed Mar 11 13:38:16.859930828 2015  7  [     Frontend.cpp:384] Stream: 1, Start tuning process...
16  Wed Mar 11 13:38:16.860381330 2015  6  [     Frontend.cpp:376] Stream: 1, Sending DiSEqC [e0] [10] [38] [f3]
17  Wed Mar 11 13:38:17.169140865 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
18  Wed Mar 11 13:38:17.242188044 2015  6  [     Frontend.cpp:434] Stream: 1, Waiting on lock.
19  Wed Mar 11 13:38:17.570435538 2015  6  [     Frontend.cpp:445] Stream: 1, Tuned and locked (FE status 31).
20  Wed Mar 11 13:38:17.572013300 2015  6  [     Frontend.cpp:466] Stream: 1, Opened DVR fd: 26.
21  Wed Mar 11 13:38:17.572812344 2015  6  [     Frontend.cpp:473] Stream: 1, Updating PID filters...
22  Wed Mar 11 13:38:17.573911134 2015  6  [    RtpThread.cpp:092] Stream: 1, Start  RTP stream to 192.168.1.107:5002
23  Wed Mar 11 13:38:17.574750252 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,11953.00,0,dvbs,qpsk,1,0.35,27500,34;pids=0,16,17,18,19,20,100,130,8190
24  Wed Mar 11 13:38:17.575056003 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
25  Wed Mar 11 13:38:17.575553863 2015  3  [     Frontend.cpp:056] FRONTEND DEVICE: Device or resource busy (code 16)
26  Wed Mar 11 13:38:17.576575808 2015  6  [   RtcpThread.cpp:073] Stream: 1, Start RTCP stream to 192.168.1.107:5003
27  Wed Mar 11 13:38:17.577337237 2015  7  [   RtspServer.cpp:142] RTSP/1.0 200 OK
28  Wed Mar 11 13:38:17.577337237 2015  7  CSeq: 1002
29  Wed Mar 11 13:38:17.577337237 2015  7  Session: 0205744672;timeout=60
30  Wed Mar 11 13:38:17.577337237 2015  7  Transport: RTP/AVP;unicast;client_port=5002-5003
31  Wed Mar 11 13:38:17.577337237 2015  7  com.ses.streamID: 1
32  Wed Mar 11 13:38:17.577337237 2015  7  --- LINE END ---
33  Wed Mar 11 13:38:17.580209476 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52416 (fd: 29)
34  Wed Mar 11 13:38:17.580886035 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 10
35  Wed Mar 11 13:38:17.582142343 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
36  Wed Mar 11 13:38:17.583054368 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
37  Wed Mar 11 13:38:17.583570256 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
38  Wed Mar 11 13:38:17.584307404 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?addpids=84,110,120,121,122,125,131,950 RTSP/1.0
39  Wed Mar 11 13:38:17.584307404 2015  7  Connection:Close
40  Wed Mar 11 13:38:17.584307404 2015  7  CSeq:1004
41  Wed Mar 11 13:38:17.584307404 2015  7  Session:1702957685
42  Wed Mar 11 13:38:17.584307404 2015  7  --- LINE END ---
43  Wed Mar 11 13:38:17.587446498 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
44  Wed Mar 11 13:38:17.587951882 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
45  Wed Mar 11 13:38:17.588388732 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
46  Wed Mar 11 13:38:17.588929436 2015  7  [ StreamClient.cpp:043] Connection can close: 0
47  Wed Mar 11 13:38:17.589296352 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
48  Wed Mar 11 13:38:17.589927682 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0084 - fd: 010
49  Wed Mar 11 13:38:17.590397926 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
50  Wed Mar 11 13:38:17.591080347 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0110 - fd: 030
51  Wed Mar 11 13:38:17.591679215 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0120 - fd: 031
52  Wed Mar 11 13:38:17.592532602 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0121 - fd: 032
53  Wed Mar 11 13:38:17.593535446 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0122 - fd: 033
54  Wed Mar 11 13:38:17.594484147 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0125 - fd: 034
55  Wed Mar 11 13:38:17.595208266 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0131 - fd: 035
56  Wed Mar 11 13:38:17.596560765 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0950 - fd: 036
57  Wed Mar 11 13:38:17.597550667 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
58  Wed Mar 11 13:38:17.597550667 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
59  Wed Mar 11 13:38:17.597550667 2015  7  CSeq: 1004
60  Wed Mar 11 13:38:17.597550667 2015  7  Session: 1702957685
61  Wed Mar 11 13:38:17.597550667 2015  7  --- LINE END ---
62  Wed Mar 11 13:38:17.603203295 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 29
63  Wed Mar 11 13:38:17.603987656 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
64  Wed Mar 11 13:38:17.604776687 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
65  Wed Mar 11 13:38:17.605828093 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
66  Wed Mar 11 13:38:17.606485163 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52417 (fd: 29)
67  Wed Mar 11 13:38:17.607102043 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?addpids=200 RTSP/1.0
68  Wed Mar 11 13:38:17.607102043 2015  7  Connection:Close
69  Wed Mar 11 13:38:17.607102043 2015  7  CSeq:1005
70  Wed Mar 11 13:38:17.607102043 2015  7  Session:1702957685
71  Wed Mar 11 13:38:17.607102043 2015  7  --- LINE END ---
72  Wed Mar 11 13:38:17.609283007 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
73  Wed Mar 11 13:38:17.610470705 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
74  Wed Mar 11 13:38:17.611199785 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
75  Wed Mar 11 13:38:17.611833901 2015  7  [ StreamClient.cpp:043] Connection can close: 0
76  Wed Mar 11 13:38:17.612255401 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
77  Wed Mar 11 13:38:17.612970914 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0200 - fd: 037
78  Wed Mar 11 13:38:17.613929409 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
79  Wed Mar 11 13:38:17.613929409 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
80  Wed Mar 11 13:38:17.613929409 2015  7  CSeq: 1005
81  Wed Mar 11 13:38:17.613929409 2015  7  Session: 1702957685
82  Wed Mar 11 13:38:17.613929409 2015  7  --- LINE END ---
83  Wed Mar 11 13:38:17.619603235 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 29
84  Wed Mar 11 13:38:17.620344954 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
85  Wed Mar 11 13:38:17.620746468 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
86  Wed Mar 11 13:38:17.621318704 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
87  Wed Mar 11 13:38:17.621949307 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52418 (fd: 29)
88  Wed Mar 11 13:38:17.623053534 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=200 RTSP/1.0
89  Wed Mar 11 13:38:17.623053534 2015  7  Connection:Close
90  Wed Mar 11 13:38:17.623053534 2015  7  CSeq:1006
91  Wed Mar 11 13:38:17.623053534 2015  7  Session:1702957685
92  Wed Mar 11 13:38:17.623053534 2015  7  --- LINE END ---
93  Wed Mar 11 13:38:17.625744339 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
94  Wed Mar 11 13:38:17.626147386 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
95  Wed Mar 11 13:38:17.626667419 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
96  Wed Mar 11 13:38:17.627808660 2015  7  [ StreamClient.cpp:043] Connection can close: 0
97  Wed Mar 11 13:38:17.628706167 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
98  Wed Mar 11 13:38:17.629180156 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0200 - fd: 037 - Packet Count: 1
99  Wed Mar 11 13:38:17.630048736 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
100  Wed Mar 11 13:38:17.630048736 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
101  Wed Mar 11 13:38:17.630048736 2015  7  CSeq: 1006
102  Wed Mar 11 13:38:17.630048736 2015  7  Session: 1702957685
103  Wed Mar 11 13:38:17.630048736 2015  7  --- LINE END ---
104  Wed Mar 11 13:38:17.634648470 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 29
105  Wed Mar 11 13:38:17.635462772 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
106  Wed Mar 11 13:38:17.636002031 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
107  Wed Mar 11 13:38:17.637409428 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
108  Wed Mar 11 13:38:17.638208428 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52419 (fd: 29)
109  Wed Mar 11 13:38:17.639066925 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?addpids=200 RTSP/1.0
110  Wed Mar 11 13:38:17.639066925 2015  7  Connection:Close
111  Wed Mar 11 13:38:17.639066925 2015  7  CSeq:1007
112  Wed Mar 11 13:38:17.639066925 2015  7  Session:1702957685
113  Wed Mar 11 13:38:17.639066925 2015  7  --- LINE END ---
114  Wed Mar 11 13:38:17.641811482 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
115  Wed Mar 11 13:38:17.642370390 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
116  Wed Mar 11 13:38:17.642811443 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
117  Wed Mar 11 13:38:17.643423057 2015  7  [ StreamClient.cpp:043] Connection can close: 0
118  Wed Mar 11 13:38:17.643963239 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
119  Wed Mar 11 13:38:17.644438276 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0200 - fd: 037
120  Wed Mar 11 13:38:17.645341237 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
121  Wed Mar 11 13:38:17.645341237 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
122  Wed Mar 11 13:38:17.645341237 2015  7  CSeq: 1007
123  Wed Mar 11 13:38:17.645341237 2015  7  Session: 1702957685
124  Wed Mar 11 13:38:17.645341237 2015  7  --- LINE END ---
125  Wed Mar 11 13:38:17.767269711 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 29
126  Wed Mar 11 13:38:17.768216736 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
127  Wed Mar 11 13:38:17.768955629 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
128  Wed Mar 11 13:38:17.769360857 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
129  Wed Mar 11 13:38:17.770041051 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52420 (fd: 29)
130  Wed Mar 11 13:38:17.770568151 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=200&addpids=300 RTSP/1.0
131  Wed Mar 11 13:38:17.770568151 2015  7  Connection:Close
132  Wed Mar 11 13:38:17.770568151 2015  7  CSeq:1008
133  Wed Mar 11 13:38:17.770568151 2015  7  Session:1702957685
134  Wed Mar 11 13:38:17.770568151 2015  7  --- LINE END ---
135  Wed Mar 11 13:38:17.774109343 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
136  Wed Mar 11 13:38:17.774650353 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
137  Wed Mar 11 13:38:17.775152373 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
138  Wed Mar 11 13:38:17.776594973 2015  7  [ StreamClient.cpp:043] Connection can close: 0
139  Wed Mar 11 13:38:17.777170297 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
140  Wed Mar 11 13:38:17.777519328 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0200 - fd: 037 - Packet Count: 1
141  Wed Mar 11 13:38:17.778374618 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0300 - fd: 037
142  Wed Mar 11 13:38:17.779609938 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
143  Wed Mar 11 13:38:17.779609938 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
144  Wed Mar 11 13:38:17.779609938 2015  7  CSeq: 1008
145  Wed Mar 11 13:38:17.779609938 2015  7  Session: 1702957685
146  Wed Mar 11 13:38:17.779609938 2015  7  --- LINE END ---
147  Wed Mar 11 13:38:17.887299761 2015  7  [    TcpSocket.cpp:085] HTTP Client 192.168.1.107: Connection closed with fd: 9
148  Wed Mar 11 13:38:17.906228762 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 29
149  Wed Mar 11 13:38:17.907137562 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
150  Wed Mar 11 13:38:17.908397974 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
151  Wed Mar 11 13:38:17.909093967 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
152  Wed Mar 11 13:38:17.909681103 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52421 (fd: 9)
153  Wed Mar 11 13:38:17.910188007 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=300&addpids=600 RTSP/1.0
154  Wed Mar 11 13:38:17.910188007 2015  7  Connection:Close
155  Wed Mar 11 13:38:17.910188007 2015  7  CSeq:1009
156  Wed Mar 11 13:38:17.910188007 2015  7  Session:1702957685
157  Wed Mar 11 13:38:17.910188007 2015  7  --- LINE END ---
158  Wed Mar 11 13:38:17.912715049 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
159  Wed Mar 11 13:38:17.913076099 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
160  Wed Mar 11 13:38:17.913655792 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
161  Wed Mar 11 13:38:17.914222303 2015  7  [ StreamClient.cpp:043] Connection can close: 0
162  Wed Mar 11 13:38:17.914715728 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
163  Wed Mar 11 13:38:17.915146318 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0300 - fd: 037 - Packet Count: 1
164  Wed Mar 11 13:38:17.915619150 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0600 - fd: 029
165  Wed Mar 11 13:38:17.916615964 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
166  Wed Mar 11 13:38:17.916615964 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
167  Wed Mar 11 13:38:17.916615964 2015  7  CSeq: 1009
168  Wed Mar 11 13:38:17.916615964 2015  7  Session: 1702957685
169  Wed Mar 11 13:38:17.916615964 2015  7  --- LINE END ---
170  Wed Mar 11 13:38:17.976389620 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
171  Wed Mar 11 13:38:17.991838290 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=2,0,0,0,11953.00,0,dvbs,qpsk,1,0.35,27500,34;pids=
172  Wed Mar 11 13:38:17.992773484 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
173  Wed Mar 11 13:38:18.033613176 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
174  Wed Mar 11 13:38:18.034528295 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
175  Wed Mar 11 13:38:18.035168487 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
176  Wed Mar 11 13:38:18.035795702 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
177  Wed Mar 11 13:38:18.036409246 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52422 (fd: 9)
178  Wed Mar 11 13:38:18.036921316 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=600&addpids=700 RTSP/1.0
179  Wed Mar 11 13:38:18.036921316 2015  7  Connection:Close
180  Wed Mar 11 13:38:18.036921316 2015  7  CSeq:1010
181  Wed Mar 11 13:38:18.036921316 2015  7  Session:1702957685
182  Wed Mar 11 13:38:18.036921316 2015  7  --- LINE END ---
183  Wed Mar 11 13:38:18.038574305 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
184  Wed Mar 11 13:38:18.038934532 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
185  Wed Mar 11 13:38:18.039318320 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
186  Wed Mar 11 13:38:18.039919020 2015  7  [ StreamClient.cpp:043] Connection can close: 0
187  Wed Mar 11 13:38:18.040329401 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
188  Wed Mar 11 13:38:18.040689925 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0600 - fd: 029 - Packet Count: 1
189  Wed Mar 11 13:38:18.042197056 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0700 - fd: 029
190  Wed Mar 11 13:38:18.043366335 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
191  Wed Mar 11 13:38:18.043366335 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
192  Wed Mar 11 13:38:18.043366335 2015  7  CSeq: 1010
193  Wed Mar 11 13:38:18.043366335 2015  7  Session: 1702957685
194  Wed Mar 11 13:38:18.043366335 2015  7  --- LINE END ---
195  Wed Mar 11 13:38:18.206114286 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
196  Wed Mar 11 13:38:18.207018672 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
197  Wed Mar 11 13:38:18.207771100 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
198  Wed Mar 11 13:38:18.208270878 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
199  Wed Mar 11 13:38:18.208984982 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52423 (fd: 9)
200  Wed Mar 11 13:38:18.209516473 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=700&addpids=800 RTSP/1.0
201  Wed Mar 11 13:38:18.209516473 2015  7  Connection:Close
202  Wed Mar 11 13:38:18.209516473 2015  7  CSeq:1011
203  Wed Mar 11 13:38:18.209516473 2015  7  Session:1702957685
204  Wed Mar 11 13:38:18.209516473 2015  7  --- LINE END ---
205  Wed Mar 11 13:38:18.211754819 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
206  Wed Mar 11 13:38:18.212178567 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
207  Wed Mar 11 13:38:18.212568381 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
208  Wed Mar 11 13:38:18.213092744 2015  7  [ StreamClient.cpp:043] Connection can close: 0
209  Wed Mar 11 13:38:18.213632689 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
210  Wed Mar 11 13:38:18.214035315 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0700 - fd: 029 - Packet Count: 1
211  Wed Mar 11 13:38:18.214509964 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0800 - fd: 029
212  Wed Mar 11 13:38:18.215431228 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
213  Wed Mar 11 13:38:18.215431228 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
214  Wed Mar 11 13:38:18.215431228 2015  7  CSeq: 1011
215  Wed Mar 11 13:38:18.215431228 2015  7  Session: 1702957685
216  Wed Mar 11 13:38:18.215431228 2015  7  --- LINE END ---
217  Wed Mar 11 13:38:18.378184410 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
218  Wed Mar 11 13:38:18.394133674 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
219  Wed Mar 11 13:38:18.405159322 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
220  Wed Mar 11 13:38:18.406236385 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
221  Wed Mar 11 13:38:18.407088826 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
222  Wed Mar 11 13:38:18.407591504 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
223  Wed Mar 11 13:38:18.408202375 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52424 (fd: 9)
224  Wed Mar 11 13:38:18.408805579 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=800&addpids=650 RTSP/1.0
225  Wed Mar 11 13:38:18.408805579 2015  7  Connection:Close
226  Wed Mar 11 13:38:18.408805579 2015  7  CSeq:1012
227  Wed Mar 11 13:38:18.408805579 2015  7  Session:1702957685
228  Wed Mar 11 13:38:18.408805579 2015  7  --- LINE END ---
229  Wed Mar 11 13:38:18.410787548 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
230  Wed Mar 11 13:38:18.411359808 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
231  Wed Mar 11 13:38:18.411841944 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
232  Wed Mar 11 13:38:18.413116070 2015  7  [ StreamClient.cpp:043] Connection can close: 0
233  Wed Mar 11 13:38:18.413826369 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
234  Wed Mar 11 13:38:18.414420203 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0650 - fd: 037
235  Wed Mar 11 13:38:18.415118509 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0800 - fd: 029 - Packet Count: 2
236  Wed Mar 11 13:38:18.416267557 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
237  Wed Mar 11 13:38:18.416267557 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
238  Wed Mar 11 13:38:18.416267557 2015  7  CSeq: 1012
239  Wed Mar 11 13:38:18.416267557 2015  7  Session: 1702957685
240  Wed Mar 11 13:38:18.416267557 2015  7  --- LINE END ---
241  Wed Mar 11 13:38:18.505432575 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
242  Wed Mar 11 13:38:18.506364572 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
243  Wed Mar 11 13:38:18.507066520 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
244  Wed Mar 11 13:38:18.507630762 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
245  Wed Mar 11 13:38:18.508352188 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52425 (fd: 9)
246  Wed Mar 11 13:38:18.508908580 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=650&addpids=500 RTSP/1.0
247  Wed Mar 11 13:38:18.508908580 2015  7  Connection:Close
248  Wed Mar 11 13:38:18.508908580 2015  7  CSeq:1013
249  Wed Mar 11 13:38:18.508908580 2015  7  Session:1702957685
250  Wed Mar 11 13:38:18.508908580 2015  7  --- LINE END ---
251  Wed Mar 11 13:38:18.510776681 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
252  Wed Mar 11 13:38:18.511421151 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
253  Wed Mar 11 13:38:18.511926478 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
254  Wed Mar 11 13:38:18.512753020 2015  7  [ StreamClient.cpp:043] Connection can close: 0
255  Wed Mar 11 13:38:18.513286847 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
256  Wed Mar 11 13:38:18.514520082 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0500 - fd: 029
257  Wed Mar 11 13:38:18.515254127 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0650 - fd: 037 - Packet Count: 1
258  Wed Mar 11 13:38:18.516517034 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
259  Wed Mar 11 13:38:18.516517034 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
260  Wed Mar 11 13:38:18.516517034 2015  7  CSeq: 1013
261  Wed Mar 11 13:38:18.516517034 2015  7  Session: 1702957685
262  Wed Mar 11 13:38:18.516517034 2015  7  --- LINE END ---
263  Wed Mar 11 13:38:18.579708592 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=1,0,0,0,11953.00,0,dvbs,qpsk,1,0.35,27500,34;pids=0,16,17,18,19,20,84,100,110,120,121,122,125,130,131,500,950,8190
264  Wed Mar 11 13:38:18.607863966 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
265  Wed Mar 11 13:38:18.609483229 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
266  Wed Mar 11 13:38:18.610191075 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
267  Wed Mar 11 13:38:18.610600270 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
268  Wed Mar 11 13:38:18.611085928 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52426 (fd: 9)
269  Wed Mar 11 13:38:18.611580598 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=500&addpids=1100 RTSP/1.0
270  Wed Mar 11 13:38:18.611580598 2015  7  Connection:Close
271  Wed Mar 11 13:38:18.611580598 2015  7  CSeq:1014
272  Wed Mar 11 13:38:18.611580598 2015  7  Session:1702957685
273  Wed Mar 11 13:38:18.611580598 2015  7  --- LINE END ---
274  Wed Mar 11 13:38:18.613879357 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
275  Wed Mar 11 13:38:18.614256712 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
276  Wed Mar 11 13:38:18.614727403 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
277  Wed Mar 11 13:38:18.615267613 2015  7  [ StreamClient.cpp:043] Connection can close: 0
278  Wed Mar 11 13:38:18.615621976 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
279  Wed Mar 11 13:38:18.616076284 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0500 - fd: 029 - Packet Count: 1
280  Wed Mar 11 13:38:18.616580631 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 1100 - fd: 029
281  Wed Mar 11 13:38:18.617485664 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
282  Wed Mar 11 13:38:18.617485664 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
283  Wed Mar 11 13:38:18.617485664 2015  7  CSeq: 1014
284  Wed Mar 11 13:38:18.617485664 2015  7  Session: 1702957685
285  Wed Mar 11 13:38:18.617485664 2015  7  --- LINE END ---
286  Wed Mar 11 13:38:18.705933515 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
287  Wed Mar 11 13:38:18.706873698 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
288  Wed Mar 11 13:38:18.707544126 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
289  Wed Mar 11 13:38:18.708246652 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
290  Wed Mar 11 13:38:18.708916893 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52427 (fd: 9)
291  Wed Mar 11 13:38:18.709437960 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=1100&addpids=411 RTSP/1.0
292  Wed Mar 11 13:38:18.709437960 2015  7  Connection:Close
293  Wed Mar 11 13:38:18.709437960 2015  7  CSeq:1015
294  Wed Mar 11 13:38:18.709437960 2015  7  Session:1702957685
295  Wed Mar 11 13:38:18.709437960 2015  7  --- LINE END ---
296  Wed Mar 11 13:38:18.711598427 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
297  Wed Mar 11 13:38:18.712232662 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
298  Wed Mar 11 13:38:18.712722193 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
299  Wed Mar 11 13:38:18.713244037 2015  7  [ StreamClient.cpp:043] Connection can close: 0
300  Wed Mar 11 13:38:18.713770625 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
301  Wed Mar 11 13:38:18.714260162 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0411 - fd: 037
302  Wed Mar 11 13:38:18.714861895 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 1100 - fd: 029 - Packet Count: 1
303  Wed Mar 11 13:38:18.715626746 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
304  Wed Mar 11 13:38:18.715626746 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
305  Wed Mar 11 13:38:18.715626746 2015  7  CSeq: 1015
306  Wed Mar 11 13:38:18.715626746 2015  7  Session: 1702957685
307  Wed Mar 11 13:38:18.715626746 2015  7  --- LINE END ---
308  Wed Mar 11 13:38:18.781084000 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
309  Wed Mar 11 13:38:18.795939352 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
310  Wed Mar 11 13:38:18.805249074 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 9
311  Wed Mar 11 13:38:18.806029138 2015  6  [      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
312  Wed Mar 11 13:38:18.806435363 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
313  Wed Mar 11 13:38:18.807454296 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
314  Wed Mar 11 13:38:18.808520299 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52428 (fd: 9)
315  Wed Mar 11 13:38:18.809109197 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: PLAY rtsp://192.168.1.169:554/stream=0?delpids=411 RTSP/1.0
316  Wed Mar 11 13:38:18.809109197 2015  7  Connection:Close
317  Wed Mar 11 13:38:18.809109197 2015  7  CSeq:1016
318  Wed Mar 11 13:38:18.809109197 2015  7  Session:1702957685
319  Wed Mar 11 13:38:18.809109197 2015  7  --- LINE END ---
320  Wed Mar 11 13:38:18.812538844 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
321  Wed Mar 11 13:38:18.812977511 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
322  Wed Mar 11 13:38:18.813363898 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
323  Wed Mar 11 13:38:18.813857263 2015  7  [ StreamClient.cpp:043] Connection can close: 0
324  Wed Mar 11 13:38:18.814208565 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
325  Wed Mar 11 13:38:18.814553313 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0411 - fd: 037 - Packet Count: 1
326  Wed Mar 11 13:38:18.815279894 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
327  Wed Mar 11 13:38:18.815279894 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
328  Wed Mar 11 13:38:18.815279894 2015  7  CSeq: 1016
329  Wed Mar 11 13:38:18.815279894 2015  7  Session: 1702957685
330  Wed Mar 11 13:38:18.815279894 2015  7  --- LINE END ---
331  Wed Mar 11 13:38:18.997234778 2015  6  [   RtcpThread.cpp:159] ver=1.0;src=1;tuner=2,0,0,0,11953.00,0,dvbs,qpsk,1,0.35,27500,34;pids=
332  Wed Mar 11 13:38:19.135559493 2015  7  [    TcpSocket.cpp:085] RTSP Client 192.168.1.107: Connection closed with fd: 15
333  Wed Mar 11 13:38:19.137227557 2015  6  [      Streams.cpp:205] Found SessionID 0205744672 by SocketClient
334  Wed Mar 11 13:38:19.137752604 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 0205744672
335  Wed Mar 11 13:38:19.138460438 2015  6  [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0205744672
336  Wed Mar 11 13:38:19.138920328 2015  6  [       Stream.cpp:067] Stream: 1, StreamClient[0] with SessionID 0205744672
337  Wed Mar 11 13:38:19.139431999 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.107 Port 52429 (fd: 15)
338  Wed Mar 11 13:38:19.140143960 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.107: TEARDOWN rtsp://192.168.1.169:554/stream=1 RTSP/1.0
339  Wed Mar 11 13:38:19.140143960 2015  7  Connection:Close
340  Wed Mar 11 13:38:19.140143960 2015  7  CSeq:1003
341  Wed Mar 11 13:38:19.140143960 2015  7  Session:0205744672
342  Wed Mar 11 13:38:19.140143960 2015  7  --- LINE END ---
343  Wed Mar 11 13:38:19.142338399 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 0205744672
344  Wed Mar 11 13:38:19.142772941 2015  6  [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0205744672
345  Wed Mar 11 13:38:19.143317651 2015  6  [       Stream.cpp:067] Stream: 1, StreamClient[0] with SessionID 0205744672
346  Wed Mar 11 13:38:19.143851207 2015  7  [ StreamClient.cpp:043] Connection can close: 1
347  Wed Mar 11 13:38:19.144448935 2015  6  [       Stream.cpp:123] Stream: 1, Teardown StreamClient[0] with SessionID 0205744672
348  Wed Mar 11 13:38:19.182866623 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
349  Wed Mar 11 13:38:19.198593968 2015  3  [   RtcpThread.cpp:122] FE_READ_STATUS failed: Bad file descriptor (code 9)
Barracuda09 commented 9 years ago

Hi Paul,

Yes sorry...sorry.. I did not test this.. It should work now again.

pbriesch commented 9 years ago

No problem. Bad file descriptor (code 9) is gone.

Regards, Paul

Barracuda09 commented 9 years ago

Did another fix for attribute describe string for dvb-s(2) (cross my fingers)

Barracuda09 commented 9 years ago

Again another fix for attribute describe string for dvb-s(2) (still fingers crossed)

pbriesch commented 9 years ago

Congratulations Marc!

VDR with vtuner seems to work fine. Will test VDR with vdr-plugin-satip later.

Paul

VDR with vtuner

0  Wed Mar 11 16:00:36.413652842 2015  6  [        Satpi.cpp:243] --- starting SatPI version: 1.5.20~gd1d1d0c ---
1  Wed Mar 11 16:00:36.415418623 2015  6  [  InterfaceAttr.h:094] eth0: 192.168.1.169 [00:19:66:0f:8d:07]
2  Wed Mar 11 16:00:36.422209691 2015  7  [      Streams.cpp:118] Current DVB_API_VERSION: 5.10
3  Wed Mar 11 16:00:36.423264778 2015  6  [      Streams.cpp:120] Detecting frontends in: /dev/dvb
4  Wed Mar 11 16:00:36.424050670 2015  6  [      Streams.cpp:130] Frontends found: 2
5  Wed Mar 11 16:00:36.424952615 2015  6  [     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
6  Wed Mar 11 16:00:36.425540696 2015  7  [     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
7  Wed Mar 11 16:00:36.426005975 2015  7  [     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
8  Wed Mar 11 16:00:36.426429554 2015  7  [     Frontend.cpp:209] Frontend Type: DSS
9  Wed Mar 11 16:00:36.426747610 2015  7  [     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
10  Wed Mar 11 16:00:36.427046518 2015  7  [     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
11  Wed Mar 11 16:00:36.427613353 2015  6  [     Frontend.cpp:145] Frontend Name: STB0899 Multistandard
12  Wed Mar 11 16:00:36.428253682 2015  7  [     Frontend.cpp:213] Frontend Type: Satellite (DVB-S)
13  Wed Mar 11 16:00:36.428726381 2015  7  [     Frontend.cpp:217] Frontend Type: Satellite (DVB-S2)
14  Wed Mar 11 16:00:36.429178704 2015  7  [     Frontend.cpp:209] Frontend Type: DSS
15  Wed Mar 11 16:00:36.429594614 2015  7  [     Frontend.cpp:252] Frontend Freq: 950000 Hz to 2150000 Hz
16  Wed Mar 11 16:00:36.429913235 2015  7  [     Frontend.cpp:253] Frontend srat: 5000000 symbols/s to 45000000 symbols/s
17  Wed Mar 11 16:00:36.431024083 2015  6  [   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 44
18  Wed Mar 11 16:00:36.432029629 2015  6  [   HttpServer.cpp:074] Setting up HTTP server
19  Wed Mar 11 16:00:36.432754157 2015  6  [   RtspServer.cpp:059] Setting up RTSP server
20  Wed Mar 11 16:00:37.631067172 2015  6  [    TcpSocket.cpp:148] HTTP Connection from 192.168.1.107 Port 60287 (fd: 8)
21  Wed Mar 11 16:00:38.331495104 2015  6  [    TcpSocket.cpp:148] RTSP Connection from 192.168.1.21 Port 43091 (fd: 9)
22  Wed Mar 11 16:00:38.332431450 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: OPTIONS rtsp://192.168.1.169:554/ RTSP/1.0
23  Wed Mar 11 16:00:38.332431450 2015  7  CSeq: 1
24  Wed Mar 11 16:00:38.332431450 2015  7  --- LINE END ---
25  Wed Mar 11 16:00:38.333536658 2015  6  [      Streams.cpp:215] Found message outside session
26  Wed Mar 11 16:00:38.333913542 2015  7  [ StreamClient.cpp:043] Connection can close: 1
27  Wed Mar 11 16:00:38.334490559 2015  7  [   RtspServer.cpp:196] RTSP/1.0 200 OK
28  Wed Mar 11 16:00:38.334490559 2015  7  CSeq: 1
29  Wed Mar 11 16:00:38.334490559 2015  7  Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
30  Wed Mar 11 16:00:38.334490559 2015  7  --- LINE END ---
31  Wed Mar 11 16:00:38.336550501 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: SETUP rtsp://192.168.1.169/?src=1&freq=10743.0&pol=h&msys=dvbs&sr=22000&fec=56&pids=18,401,20,0,17,16,400,402,403,407,408,404 RTSP/1.0
32  Wed Mar 11 16:00:38.336550501 2015  7  CSeq: 2
33  Wed Mar 11 16:00:38.336550501 2015  7  Transport: RTP/AVP;unicast;client_port=46469-46470
34  Wed Mar 11 16:00:38.336550501 2015  7  --- LINE END ---
35  Wed Mar 11 16:00:38.338437408 2015  6  [      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 1702957685
36  Wed Mar 11 16:00:38.339049886 2015  6  [       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbs
37  Wed Mar 11 16:00:38.339604749 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
38  Wed Mar 11 16:00:38.341054303 2015  7  [ StreamClient.cpp:043] Connection can close: 0
39  Wed Mar 11 16:00:38.341926447 2015  6  [     Frontend.cpp:423] Stream: 0, Opened FE fd: 10.
40  Wed Mar 11 16:00:38.342909900 2015  7  [     Frontend.cpp:384] Stream: 0, Start tuning process...
41  Wed Mar 11 16:00:38.343788235 2015  6  [     Frontend.cpp:376] Stream: 0, Sending DiSEqC [e0] [10] [38] [f2]
42  Wed Mar 11 16:00:38.718135309 2015  6  [     Frontend.cpp:434] Stream: 0, Waiting on lock.
43  Wed Mar 11 16:00:38.718309815 2015  6  [     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
44  Wed Mar 11 16:00:39.025126687 2015  6  [     Frontend.cpp:445] Stream: 0, Tuned and locked (FE status 31).
45  Wed Mar 11 16:00:39.025567629 2015  6  [     Frontend.cpp:466] Stream: 0, Opened DVR fd: 11.
46  Wed Mar 11 16:00:39.025611955 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
47  Wed Mar 11 16:00:39.037187432 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0000 - fd: 012
48  Wed Mar 11 16:00:39.037806469 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0016 - fd: 013
49  Wed Mar 11 16:00:39.038258696 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0017 - fd: 014
50  Wed Mar 11 16:00:39.038969222 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0018 - fd: 015
51  Wed Mar 11 16:00:39.039563931 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0020 - fd: 016
52  Wed Mar 11 16:00:39.040225467 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0400 - fd: 017
53  Wed Mar 11 16:00:39.040701208 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0401 - fd: 018
54  Wed Mar 11 16:00:39.041143169 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0402 - fd: 019
55  Wed Mar 11 16:00:39.041572985 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0403 - fd: 020
56  Wed Mar 11 16:00:39.042002405 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0404 - fd: 021
57  Wed Mar 11 16:00:39.042440697 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0407 - fd: 022
58  Wed Mar 11 16:00:39.042875627 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0408 - fd: 023
59  Wed Mar 11 16:00:39.044013785 2015  6  [    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.21:46469
60  Wed Mar 11 16:00:39.044995453 2015  6  [   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.21:46470
61  Wed Mar 11 16:00:39.045597959 2015  7  [   RtspServer.cpp:142] RTSP/1.0 200 OK
62  Wed Mar 11 16:00:39.045597959 2015  7  CSeq: 2
63  Wed Mar 11 16:00:39.045597959 2015  7  Session: 1702957685;timeout=60
64  Wed Mar 11 16:00:39.045597959 2015  7  Transport: RTP/AVP;unicast;client_port=46469-46470
65  Wed Mar 11 16:00:39.045597959 2015  7  com.ses.streamID: 0
66  Wed Mar 11 16:00:39.045597959 2015  7  --- LINE END ---
67  Wed Mar 11 16:00:39.049507690 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0 RTSP/1.0
68  Wed Mar 11 16:00:39.049507690 2015  7  CSeq: 3
69  Wed Mar 11 16:00:39.049507690 2015  7  Session: 1702957685
70  Wed Mar 11 16:00:39.049507690 2015  7  --- LINE END ---
71  Wed Mar 11 16:00:39.051308613 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
72  Wed Mar 11 16:00:39.051651703 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
73  Wed Mar 11 16:00:39.052153891 2015  7  [ StreamClient.cpp:043] Connection can close: 0
74  Wed Mar 11 16:00:39.052518130 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
75  Wed Mar 11 16:00:39.052518130 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
76  Wed Mar 11 16:00:39.052518130 2015  7  CSeq: 3
77  Wed Mar 11 16:00:39.052518130 2015  7  Session: 1702957685
78  Wed Mar 11 16:00:39.052518130 2015  7  --- LINE END ---
79  Wed Mar 11 16:00:39.100452400 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=400 RTSP/1.0
80  Wed Mar 11 16:00:39.100452400 2015  7  CSeq: 4
81  Wed Mar 11 16:00:39.100452400 2015  7  Session: 1702957685
82  Wed Mar 11 16:00:39.100452400 2015  7  --- LINE END ---
83  Wed Mar 11 16:00:39.102686862 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
84  Wed Mar 11 16:00:39.103101813 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
85  Wed Mar 11 16:00:39.103599487 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
86  Wed Mar 11 16:00:39.104258267 2015  7  [ StreamClient.cpp:043] Connection can close: 0
87  Wed Mar 11 16:00:39.104769664 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
88  Wed Mar 11 16:00:39.105201348 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0400 - fd: 017 - Packet Count: 1
89  Wed Mar 11 16:00:39.106015275 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
90  Wed Mar 11 16:00:39.106015275 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
91  Wed Mar 11 16:00:39.106015275 2015  7  CSeq: 4
92  Wed Mar 11 16:00:39.106015275 2015  7  Session: 1702957685
93  Wed Mar 11 16:00:39.106015275 2015  7  --- LINE END ---
94  Wed Mar 11 16:00:39.108819725 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=500 RTSP/1.0
95  Wed Mar 11 16:00:39.108819725 2015  7  CSeq: 5
96  Wed Mar 11 16:00:39.108819725 2015  7  Session: 1702957685
97  Wed Mar 11 16:00:39.108819725 2015  7  --- LINE END ---
98  Wed Mar 11 16:00:39.110409853 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
99  Wed Mar 11 16:00:39.110949155 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
100  Wed Mar 11 16:00:39.112010461 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
101  Wed Mar 11 16:00:39.113011429 2015  7  [ StreamClient.cpp:043] Connection can close: 0
102  Wed Mar 11 16:00:39.113492600 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
103  Wed Mar 11 16:00:39.114114581 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0500 - fd: 017
104  Wed Mar 11 16:00:39.115593877 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
105  Wed Mar 11 16:00:39.115593877 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
106  Wed Mar 11 16:00:39.115593877 2015  7  CSeq: 5
107  Wed Mar 11 16:00:39.115593877 2015  7  Session: 1702957685
108  Wed Mar 11 16:00:39.115593877 2015  7  --- LINE END ---
109  Wed Mar 11 16:00:39.118589768 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=600&delpids=500 RTSP/1.0
110  Wed Mar 11 16:00:39.118589768 2015  7  CSeq: 6
111  Wed Mar 11 16:00:39.118589768 2015  7  Session: 1702957685
112  Wed Mar 11 16:00:39.118589768 2015  7  --- LINE END ---
113  Wed Mar 11 16:00:39.120451802 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
114  Wed Mar 11 16:00:39.120806916 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
115  Wed Mar 11 16:00:39.121177738 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
116  Wed Mar 11 16:00:39.121678393 2015  7  [ StreamClient.cpp:043] Connection can close: 0
117  Wed Mar 11 16:00:39.122243877 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
118  Wed Mar 11 16:00:39.122970189 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0500 - fd: 017 - Packet Count: 1
119  Wed Mar 11 16:00:39.123995085 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0600 - fd: 017
120  Wed Mar 11 16:00:39.124956883 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
121  Wed Mar 11 16:00:39.124956883 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
122  Wed Mar 11 16:00:39.124956883 2015  7  CSeq: 6
123  Wed Mar 11 16:00:39.124956883 2015  7  Session: 1702957685
124  Wed Mar 11 16:00:39.124956883 2015  7  --- LINE END ---
125  Wed Mar 11 16:00:39.221827703 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=600 RTSP/1.0
126  Wed Mar 11 16:00:39.221827703 2015  7  CSeq: 7
127  Wed Mar 11 16:00:39.221827703 2015  7  Session: 1702957685
128  Wed Mar 11 16:00:39.221827703 2015  7  --- LINE END ---
129  Wed Mar 11 16:00:39.224221653 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
130  Wed Mar 11 16:00:39.224655612 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
131  Wed Mar 11 16:00:39.225205542 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
132  Wed Mar 11 16:00:39.225834575 2015  7  [ StreamClient.cpp:043] Connection can close: 0
133  Wed Mar 11 16:00:39.226293409 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
134  Wed Mar 11 16:00:39.226778771 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0600 - fd: 017 - Packet Count: 1
135  Wed Mar 11 16:00:39.227788864 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
136  Wed Mar 11 16:00:39.227788864 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
137  Wed Mar 11 16:00:39.227788864 2015  7  CSeq: 7
138  Wed Mar 11 16:00:39.227788864 2015  7  Session: 1702957685
139  Wed Mar 11 16:00:39.227788864 2015  7  --- LINE END ---
140  Wed Mar 11 16:00:39.230342369 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=100 RTSP/1.0
141  Wed Mar 11 16:00:39.230342369 2015  7  CSeq: 8
142  Wed Mar 11 16:00:39.230342369 2015  7  Session: 1702957685
143  Wed Mar 11 16:00:39.230342369 2015  7  --- LINE END ---
144  Wed Mar 11 16:00:39.232095917 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
145  Wed Mar 11 16:00:39.232891099 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
146  Wed Mar 11 16:00:39.233777378 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
147  Wed Mar 11 16:00:39.234391492 2015  7  [ StreamClient.cpp:043] Connection can close: 0
148  Wed Mar 11 16:00:39.234961367 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
149  Wed Mar 11 16:00:39.235405112 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0100 - fd: 017
150  Wed Mar 11 16:00:39.236977239 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
151  Wed Mar 11 16:00:39.236977239 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
152  Wed Mar 11 16:00:39.236977239 2015  7  CSeq: 8
153  Wed Mar 11 16:00:39.236977239 2015  7  Session: 1702957685
154  Wed Mar 11 16:00:39.236977239 2015  7  --- LINE END ---
155  Wed Mar 11 16:00:39.267792158 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=100 RTSP/1.0
156  Wed Mar 11 16:00:39.267792158 2015  7  CSeq: 9
157  Wed Mar 11 16:00:39.267792158 2015  7  Session: 1702957685
158  Wed Mar 11 16:00:39.267792158 2015  7  --- LINE END ---
159  Wed Mar 11 16:00:39.269894659 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
160  Wed Mar 11 16:00:39.270349018 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
161  Wed Mar 11 16:00:39.270722358 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
162  Wed Mar 11 16:00:39.271433099 2015  7  [ StreamClient.cpp:043] Connection can close: 0
163  Wed Mar 11 16:00:39.271981213 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
164  Wed Mar 11 16:00:39.272464049 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0100 - fd: 017 - Packet Count: 1
165  Wed Mar 11 16:00:39.273282981 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
166  Wed Mar 11 16:00:39.273282981 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
167  Wed Mar 11 16:00:39.273282981 2015  7  CSeq: 9
168  Wed Mar 11 16:00:39.273282981 2015  7  Session: 1702957685
169  Wed Mar 11 16:00:39.273282981 2015  7  --- LINE END ---
170  Wed Mar 11 16:00:39.276208386 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=200 RTSP/1.0
171  Wed Mar 11 16:00:39.276208386 2015  7  CSeq: 10
172  Wed Mar 11 16:00:39.276208386 2015  7  Session: 1702957685
173  Wed Mar 11 16:00:39.276208386 2015  7  --- LINE END ---
174  Wed Mar 11 16:00:39.277796093 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
175  Wed Mar 11 16:00:39.278165868 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
176  Wed Mar 11 16:00:39.278904500 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
177  Wed Mar 11 16:00:39.279819450 2015  7  [ StreamClient.cpp:043] Connection can close: 0
178  Wed Mar 11 16:00:39.280292269 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
179  Wed Mar 11 16:00:39.280734338 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0200 - fd: 017
180  Wed Mar 11 16:00:39.281453874 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
181  Wed Mar 11 16:00:39.281453874 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
182  Wed Mar 11 16:00:39.281453874 2015  7  CSeq: 10
183  Wed Mar 11 16:00:39.281453874 2015  7  Session: 1702957685
184  Wed Mar 11 16:00:39.281453874 2015  7  --- LINE END ---
185  Wed Mar 11 16:00:39.298357835 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=200 RTSP/1.0
186  Wed Mar 11 16:00:39.298357835 2015  7  CSeq: 11
187  Wed Mar 11 16:00:39.298357835 2015  7  Session: 1702957685
188  Wed Mar 11 16:00:39.298357835 2015  7  --- LINE END ---
189  Wed Mar 11 16:00:39.300419282 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
190  Wed Mar 11 16:00:39.300771902 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
191  Wed Mar 11 16:00:39.301138014 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
192  Wed Mar 11 16:00:39.301609299 2015  7  [ StreamClient.cpp:043] Connection can close: 0
193  Wed Mar 11 16:00:39.301960689 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
194  Wed Mar 11 16:00:39.302293467 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0200 - fd: 017 - Packet Count: 1
195  Wed Mar 11 16:00:39.302974886 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
196  Wed Mar 11 16:00:39.302974886 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
197  Wed Mar 11 16:00:39.302974886 2015  7  CSeq: 11
198  Wed Mar 11 16:00:39.302974886 2015  7  Session: 1702957685
199  Wed Mar 11 16:00:39.302974886 2015  7  --- LINE END ---
200  Wed Mar 11 16:00:39.305565805 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=300 RTSP/1.0
201  Wed Mar 11 16:00:39.305565805 2015  7  CSeq: 12
202  Wed Mar 11 16:00:39.305565805 2015  7  Session: 1702957685
203  Wed Mar 11 16:00:39.305565805 2015  7  --- LINE END ---
204  Wed Mar 11 16:00:39.307044549 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
205  Wed Mar 11 16:00:39.307402181 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
206  Wed Mar 11 16:00:39.307858642 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
207  Wed Mar 11 16:00:39.308394203 2015  7  [ StreamClient.cpp:043] Connection can close: 0
208  Wed Mar 11 16:00:39.308756254 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
209  Wed Mar 11 16:00:39.309519489 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0300 - fd: 017
210  Wed Mar 11 16:00:39.310519539 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
211  Wed Mar 11 16:00:39.310519539 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
212  Wed Mar 11 16:00:39.310519539 2015  7  CSeq: 12
213  Wed Mar 11 16:00:39.310519539 2015  7  Session: 1702957685
214  Wed Mar 11 16:00:39.310519539 2015  7  --- LINE END ---
215  Wed Mar 11 16:00:39.526325749 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=300 RTSP/1.0
216  Wed Mar 11 16:00:39.526325749 2015  7  CSeq: 13
217  Wed Mar 11 16:00:39.526325749 2015  7  Session: 1702957685
218  Wed Mar 11 16:00:39.526325749 2015  7  --- LINE END ---
219  Wed Mar 11 16:00:39.528379415 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
220  Wed Mar 11 16:00:39.528928366 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
221  Wed Mar 11 16:00:39.529448058 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
222  Wed Mar 11 16:00:39.530185050 2015  7  [ StreamClient.cpp:043] Connection can close: 0
223  Wed Mar 11 16:00:39.530696169 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
224  Wed Mar 11 16:00:39.531121461 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0300 - fd: 017 - Packet Count: 1
225  Wed Mar 11 16:00:39.532011296 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
226  Wed Mar 11 16:00:39.532011296 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
227  Wed Mar 11 16:00:39.532011296 2015  7  CSeq: 13
228  Wed Mar 11 16:00:39.532011296 2015  7  Session: 1702957685
229  Wed Mar 11 16:00:39.532011296 2015  7  --- LINE END ---
230  Wed Mar 11 16:00:39.534829054 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=400 RTSP/1.0
231  Wed Mar 11 16:00:39.534829054 2015  7  CSeq: 14
232  Wed Mar 11 16:00:39.534829054 2015  7  Session: 1702957685
233  Wed Mar 11 16:00:39.534829054 2015  7  --- LINE END ---
234  Wed Mar 11 16:00:39.536671397 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
235  Wed Mar 11 16:00:39.537366798 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
236  Wed Mar 11 16:00:39.538050121 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
237  Wed Mar 11 16:00:39.538850377 2015  7  [ StreamClient.cpp:043] Connection can close: 0
238  Wed Mar 11 16:00:39.539234149 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
239  Wed Mar 11 16:00:39.540604132 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0400 - fd: 017
240  Wed Mar 11 16:00:39.541756467 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
241  Wed Mar 11 16:00:39.541756467 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
242  Wed Mar 11 16:00:39.541756467 2015  7  CSeq: 14
243  Wed Mar 11 16:00:39.541756467 2015  7  Session: 1702957685
244  Wed Mar 11 16:00:39.541756467 2015  7  --- LINE END ---
245  Wed Mar 11 16:00:39.556293872 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?delpids=400 RTSP/1.0
246  Wed Mar 11 16:00:39.556293872 2015  7  CSeq: 15
247  Wed Mar 11 16:00:39.556293872 2015  7  Session: 1702957685
248  Wed Mar 11 16:00:39.556293872 2015  7  --- LINE END ---
249  Wed Mar 11 16:00:39.558447946 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
250  Wed Mar 11 16:00:39.558905333 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
251  Wed Mar 11 16:00:39.559279889 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
252  Wed Mar 11 16:00:39.560009970 2015  7  [ StreamClient.cpp:043] Connection can close: 0
253  Wed Mar 11 16:00:39.560424316 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
254  Wed Mar 11 16:00:39.560769020 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0400 - fd: 017 - Packet Count: 1
255  Wed Mar 11 16:00:39.561562549 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
256  Wed Mar 11 16:00:39.561562549 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
257  Wed Mar 11 16:00:39.561562549 2015  7  CSeq: 15
258  Wed Mar 11 16:00:39.561562549 2015  7  Session: 1702957685
259  Wed Mar 11 16:00:39.561562549 2015  7  --- LINE END ---
260  Wed Mar 11 16:00:39.564210697 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=500 RTSP/1.0
261  Wed Mar 11 16:00:39.564210697 2015  7  CSeq: 16
262  Wed Mar 11 16:00:39.564210697 2015  7  Session: 1702957685
263  Wed Mar 11 16:00:39.564210697 2015  7  --- LINE END ---
264  Wed Mar 11 16:00:39.566185991 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
265  Wed Mar 11 16:00:39.566690782 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
266  Wed Mar 11 16:00:39.567654036 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
267  Wed Mar 11 16:00:39.568832591 2015  7  [ StreamClient.cpp:043] Connection can close: 0
268  Wed Mar 11 16:00:39.569367684 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
269  Wed Mar 11 16:00:39.570026964 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0500 - fd: 017
270  Wed Mar 11 16:00:39.571376947 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
271  Wed Mar 11 16:00:39.571376947 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
272  Wed Mar 11 16:00:39.571376947 2015  7  CSeq: 16
273  Wed Mar 11 16:00:39.571376947 2015  7  Session: 1702957685
274  Wed Mar 11 16:00:39.571376947 2015  7  --- LINE END ---
275  Wed Mar 11 16:00:39.574476612 2015  7  [   RtspServer.cpp:071] Data from client 192.168.1.21: PLAY rtsp://192.168.1.169/stream=0?addpids=600&delpids=500 RTSP/1.0
276  Wed Mar 11 16:00:39.574476612 2015  7  CSeq: 17
277  Wed Mar 11 16:00:39.574476612 2015  7  Session: 1702957685
278  Wed Mar 11 16:00:39.574476612 2015  7  --- LINE END ---
279  Wed Mar 11 16:00:39.576439451 2015  6  [      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
280  Wed Mar 11 16:00:39.576888247 2015  6  [       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
281  Wed Mar 11 16:00:39.577373574 2015  7  [       Stream.cpp:197] Stream: 0, Parsing transport parameters...
282  Wed Mar 11 16:00:39.578002255 2015  7  [ StreamClient.cpp:043] Connection can close: 0
283  Wed Mar 11 16:00:39.578824536 2015  6  [     Frontend.cpp:473] Stream: 0, Updating PID filters...
284  Wed Mar 11 16:00:39.579666744 2015  7  [     Frontend.cpp:494] Stream: 0, Remove filter PID: 0500 - fd: 017 - Packet Count: 1
285  Wed Mar 11 16:00:39.580339222 2015  7  [     Frontend.cpp:490] Stream: 0, Set filter PID: 0600 - fd: 017
286  Wed Mar 11 16:00:39.581074054 2015  7  [   RtspServer.cpp:168] RTSP/1.0 200 OK
287  Wed Mar 11 16:00:39.581074054 2015  7  RTP-Info: url=rtsp://192.168.1.169/stream=0
288  Wed Mar 11 16:00:39.581074054 2015  7  CSeq: 17
289  Wed Mar 11 16:00:39.581074054 2015  7  Session: 1702957685
290  Wed Mar 11 16:00:39.581074054 2015  7  --- LINE END ---
lars18th commented 9 years ago

Hi Marc,

I really appreciate your efforts! However, no go with last commit using DVB-T. Here the FULL log:

[        Satpi.cpp:243] --- starting SatPI version: -unknown ---
[  InterfaceAttr.h:094] eth0: 192.168.1.10 [00:00:00:00:00:00]
[      Streams.cpp:116] Not the preferred DVB API version, for correct function it should be 5.5 or higher
[      Streams.cpp:118] Current DVB_API_VERSION: 5.4
[      Streams.cpp:120] Detecting frontends in: /dev/dvb
[      Streams.cpp:130] Frontends found: 2
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 3
[   HttpServer.cpp:074] Setting up HTTP server
[   RtspServer.cpp:059] Setting up RTSP server
[    TcpSocket.cpp:148] RTSP Connection from 192.168.1.20 Port 63031 (fd: 8)
[   RtspServer.cpp:071] Data from client 192.168.1.20: OPTIONS rtsp://192.168.1.10:554/ RTSP/1.0
CSeq: 1
--- LINE END ---
[      Streams.cpp:215] Found message outside session
[ StreamClient.cpp:043] Connection can close: 1
[   RtspServer.cpp:196] RTSP/1.0 200 OK
CSeq: 1
Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.20: SETUP rtsp://192.168.1.10:554/?freq=634&msys=dvbt&bw=8&pids=0 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=52042-52043
--- LINE END ---
[      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 1702957685
[       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbt
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:423] Stream: 0, Opened FE fd: 9.
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:466] Stream: 0, Opened DVR fd: 10.
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 0000 - fd: 011
[    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.20:52042
[   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.20:52043
[   RtspServer.cpp:142] RTSP/1.0 200 OK
CSeq: 2
Session: 1702957685;timeout=60
Transport: RTP/AVP;unicast;client_port=52042-52043
com.ses.streamID: 0
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.20: PLAY rtsp://192.168.1.10:554/stream=0?addpids=18 RTSP/1.0
CSeq: 3
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 0018 - fd: 015
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 3
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.20: PLAY rtsp://192.168.1.10:554/stream=0?addpids=1001,1101,0,1000,1200 RTSP/1.0
CSeq: 4
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1000 - fd: 016
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1001 - fd: 017
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1101 - fd: 018
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1200 - fd: 019
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 4
Session: 1702957685
--- LINE END ---
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 181
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=0,18,1000,1001,1101,1200
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 181
[   RtspServer.cpp:071] Data from client 192.168.1.20: PLAY rtsp://192.168.1.10:554/stream=0?delpids=1001,1101,0,1000,1200 RTSP/1.0
CSeq: 5
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=18
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 0000 - fd: 011 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1000 - fd: 016 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1001 - fd: 017 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1101 - fd: 018 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1200 - fd: 019 - Packet Count: 0
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 5
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.20: PLAY rtsp://192.168.1.10:554/stream=0?delpids=18 RTSP/1.0
CSeq: 6
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 0018 - fd: 015 - Packet Count: 0
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 6
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.20: TEARDOWN rtsp://192.168.1.10:554/stream=0 RTSP/1.0
CSeq: 7
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 1
[       Stream.cpp:123] Stream: 0, Teardown StreamClient[0] with SessionID 1702957685
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=
[   RtcpThread.cpp:159] ver=1.1;tuner=1,97,0,0,634.00,8,dvbt,auto,UNKNOWN MODTYPE,auto,auto,0,0,0;pids=
[     ThreadBase.h:075] Thread did not stop within timeout?
[    RtpThread.cpp:102] Stream: 0, Stop  RTP stream to 192.168.1.20:52042 (Streamed 0.000 MBytes)
[     ThreadBase.h:075] Thread did not stop within timeout?
[   RtcpThread.cpp:083] Stream: 0, Stop RTCP stream to 192.168.1.20:52043
[   RtspServer.cpp:284] RTSP/1.0 200 OK
CSeq: 7
Session: 1702957685
--- LINE END ---
[    TcpSocket.cpp:085] RTSP Client 192.168.1.20: Connection closed with fd: 8
[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:115] Stream: 0, Close StreamClient[0] with SessionID 1702957685

I feel you solved the problem with "msys=" parameter, but the lines showing UNKNOWN MODTYPE perhaps indicate that you don't correct tune the DVB-T device !!

What more I can do?

Barracuda09 commented 9 years ago

Hi lars18th,

Yes you can try to add modulation type because it will be default now QAM_AUTO. The UNKNOWN MODTYPE is because I forget the QAM_AUTO in the switch table. But I don't think this is a problem. Further more I hope I can get my DVB-T stick to work to try it myself.

Marc

lars18th commented 9 years ago

Hi Marc,

Here log of last version:

[        Satpi.cpp:243] --- starting SatPI version: -unknown ---
[  InterfaceAttr.h:094] eth0: 192.168.1.10 [00:00:00:00:00:00]
[      Streams.cpp:116] Not the preferred DVB API version, for correct function it should be 5.5 or higher
[      Streams.cpp:118] Current DVB_API_VERSION: 5.4
[      Streams.cpp:120] Detecting frontends in: /dev/dvb
[      Streams.cpp:130] Frontends found: 2
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 2
[   HttpServer.cpp:074] Setting up HTTP server
[   RtspServer.cpp:059] Setting up RTSP server
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 80
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 80
[    TcpSocket.cpp:148] RTSP Connection from 192.168.1.10 Port 62683 (fd: 8)
[   RtspServer.cpp:071] Data from client 192.168.1.10: OPTIONS rtsp://192.168.1.10:554/ RTSP/1.0
CSeq: 1
--- LINE END ---
[      Streams.cpp:215] Found message outside session
[ StreamClient.cpp:043] Connection can close: 1
[   RtspServer.cpp:196] RTSP/1.0 200 OK
CSeq: 1
Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: SETUP rtsp://192.168.1.10:554/?freq=538&msys=dvbt&bw=8&pids=0 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=52042-52043
--- LINE END ---
[      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 1702957685
[       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbt
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:423] Stream: 0, Opened FE fd: 9.
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:466] Stream: 0, Opened DVR fd: 10.
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 0000 - fd: 011
[    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.10:52042
[   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.10:52043
[   RtspServer.cpp:142] RTSP/1.0 200 OK
CSeq: 2
Session: 1702957685;timeout=60
Transport: RTP/AVP;unicast;client_port=52042-52043
com.ses.streamID: 0
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: PLAY rtsp://192.168.1.10:554/stream=0?addpids=18 RTSP/1.0
CSeq: 3
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 0018 - fd: 015
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 3
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: PLAY rtsp://192.168.1.10:554/stream=0?addpids=1101,1103,0,1100,1102 RTSP/1.0
CSeq: 4
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1100 - fd: 016
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1101 - fd: 017
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1102 - fd: 018
[     Frontend.cpp:490] Stream: 0, Set filter PID: 1103 - fd: 019
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 4
Session: 1702957685
--- LINE END ---
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 80
[   SsdpServer.cpp:158] Found SAT>IP Server 192.168.1.80: with DEVICEID 80
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtcpThread.cpp:159] ver=1.1;tuner=1,117,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=0,18,1100,1101,1102,1103
[   RtspServer.cpp:071] Data from client 192.168.1.10: PLAY rtsp://192.168.1.10:554/stream=0?delpids=1101,1103,0,1100,1102 RTSP/1.0
CSeq: 5
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 0000 - fd: 011 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1100 - fd: 016 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1101 - fd: 017 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1102 - fd: 018 - Packet Count: 0
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 1103 - fd: 019 - Packet Count: 0
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 5
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: PLAY rtsp://192.168.1.10:554/stream=0?delpids=18 RTSP/1.0
CSeq: 6
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:494] Stream: 0, Remove filter PID: 0018 - fd: 015 - Packet Count: 0
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 6
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: TEARDOWN rtsp://192.168.1.10:554/stream=0 RTSP/1.0
CSeq: 7
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 1
[       Stream.cpp:123] Stream: 0, Teardown StreamClient[0] with SessionID 1702957685
[    RtpThread.cpp:102] Stream: 0, Stop  RTP stream to 192.168.1.10:52042 (Streamed 0.000 MBytes)
[   RtcpThread.cpp:083] Stream: 0, Stop RTCP stream to 192.168.1.10:52043
[   RtspServer.cpp:284] RTSP/1.0 200 OK
CSeq: 7
Session: 1702957685
--- LINE END ---
[    TcpSocket.cpp:085] RTSP Client 192.168.1.10: Connection closed with fd: 8
[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:115] Stream: 0, Close StreamClient[0] with SessionID 1702957685

Seems that the bug is on "Not locked yet (FE status 0)". Can you put code for more verbose log on tuning process?

I hope you can fix soon... it's annoying because minisatip it's working! :( Regards!

pbriesch commented 9 years ago

Hi Marc,

no sweat. Let me know if I can do some more testing for you.

Kind regards,

Paul

Barracuda09 commented 9 years ago

Hi Paul,

Sorry I don't think I fully know what you are meaning.... I guess VDR is still not working?

Barracuda09 commented 9 years ago

Hi lars18th,

Can you try VLC and give more known transport parameters for your freq like: rtsp://10.201.2.191:554/?freq=674&msys=dvbt&mtype=64qam&bw=8&fec=12&tmode=8k&gi=14&pids=0

VLC will work only for a moment (because of a time-out) but you can give any kind of parameter you like.

pbriesch commented 9 years ago

No sweat means something like don't get under pressure :-) Regarding VDR I need to perform more testing.

lars18th commented 9 years ago

Hi Marc,

Can you try VLC and give more known transport parameters for your freq like:

I try this command with VLC: rtsp://192.168.1.10:554/?freq=538&msys=dvbt&mtype=64qam&bw=8&fec=23&tmode=8k&gi=14&pids=all

LOG with current version of satpi:

[        Satpi.cpp:243] --- starting SatPI version: -unknown ---
[  InterfaceAttr.h:094] eth0: 192.168.1.10 [00:00:00:00:00:00]
[      Streams.cpp:116] Not the preferred DVB API version, for correct function it should be 5.5 or higher
[      Streams.cpp:118] Current DVB_API_VERSION: 5.4
[      Streams.cpp:120] Detecting frontends in: /dev/dvb
[      Streams.cpp:130] Frontends found: 2
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[     Frontend.cpp:145] Frontend Name: Afatech AF9013 DVB-T
[     Frontend.cpp:161] Unable to enumerate the delivery systems, retrying via old API Call
[     Frontend.cpp:221] Frontend Type: Terrestrial (DVB-T)
[     Frontend.cpp:252] Frontend Freq: 174000000 Hz to 860000000 Hz
[     Frontend.cpp:253] Frontend srat: 0 symbols/s to 0 symbols/s
[   SsdpServer.cpp:107] Setting up SSDP server with BOOTID: 5
[   HttpServer.cpp:074] Setting up HTTP server
[   RtspServer.cpp:059] Setting up RTSP server
[    TcpSocket.cpp:148] RTSP Connection from 192.168.1.10 Port 64847 (fd: 8)
[   RtspServer.cpp:071] Data from client 192.168.1.10: OPTIONS rtsp://192.168.1.10:554/?freq=538&msys=dvbt&mtype=64qam&bw=8&fec
=23&tmode=8k&gi=14&pids=all RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
--- LINE END ---
[      Streams.cpp:233] Found StreamID x - SessionID x - Creating new SessionID: 1702957685
[       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbt
[       Stream.cpp:197] Stream: 0, Parsing transport parameters...
[ StreamClient.cpp:043] Connection can close: 1
[   RtspServer.cpp:196] RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
Session: 1702957685
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: DESCRIBE rtsp://192.168.1.10:554/?freq=538&msys=dvbt&mtype=64qam&bw=8&fe
c=23&tmode=8k&gi=14&pids=all RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
Accept: application/sdp
--- LINE END ---
[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:064] Stream: 0, StreamClient[0] with SessionID 1702957685 for dvbt
[ StreamClient.cpp:043] Connection can close: 1
[   RtspServer.cpp:261] RTSP/1.0 200 OK
CSeq: 3
Content-Type: application/sdp
Content-Base: rtsp://192.168.1.10/
Content-Length: 213
Session: 1702957685
--- LINE END ---
v=0
o=- 2 3 IN IP4 192.168.1.10
s=SatIPServer:1 0,2,0
t=0 0
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:stream=0
a=fmtp:33 ver=1.1;tuner=1,0,0,0,538.00,8,dvbt,8k,64qam,14,23,0,0,0;pids=0
a=inactive
[   RtspServer.cpp:071] Data from client 192.168.1.10: SETUP rtsp://192.168.1.10/stream=0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
Transport: RTP/AVP;unicast;client_port=57616-57617
--- LINE END ---
[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:423] Stream: 0, Opened FE fd: 9.
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:466] Stream: 0, Opened DVR fd: 10.
[     Frontend.cpp:473] Stream: 0, Updating PID filters...
[     Frontend.cpp:490] Stream: 0, Set filter PID: 0000 - fd: 011
[    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.10:57616
[   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.10:57617
[   RtspServer.cpp:142] RTSP/1.0 200 OK
CSeq: 4
Session: 1702957685;timeout=60
Transport: RTP/AVP;unicast;client_port=57616-57617
com.ses.streamID: 0
--- LINE END ---
[   RtspServer.cpp:071] Data from client 192.168.1.10: PLAY rtsp://192.168.1.10/ RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
Session: 1702957685
Range: npt=0.000-
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:384] Stream: 0, Start tuning process...
[     Frontend.cpp:434] Stream: 0, Waiting on lock.
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:448] Stream: 0, Not locked yet (FE status 0)...
[   RtspServer.cpp:168] RTSP/1.0 200 OK
RTP-Info: url=rtsp://192.168.1.10/stream=0
CSeq: 5
Session: 1702957685
--- LINE END ---
[   RtcpThread.cpp:159] ver=1.1;tuner=1,121,0,0,538.00,8,dvbt,8k,64qam,14,23,0,0,0;pids=0
[   RtspServer.cpp:071] Data from client 192.168.1.10: TEARDOWN rtsp://192.168.1.10/ RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
Session: 1702957685
--- LINE END ---
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 1
[       Stream.cpp:123] Stream: 0, Teardown StreamClient[0] with SessionID 1702957685
[    RtpThread.cpp:102] Stream: 0, Stop  RTP stream to 192.168.1.10:57616 (Streamed 0.000 MBytes)
[   RtcpThread.cpp:083] Stream: 0, Stop RTCP stream to 192.168.1.10:57617
[     Frontend.cpp:505] Stream: 0, Remove filter PID: 0000 - fd: 011 - Packet Count: 0
[   RtspServer.cpp:284] RTSP/1.0 200 OK
CSeq: 6
Session: 1702957685
--- LINE END ---
[    TcpSocket.cpp:085] RTSP Client 192.168.1.10: Connection closed with fd: 8
[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[       Stream.cpp:115] Stream: 0, Close StreamClient[0] with SessionID 1702957685

With the minisatip the result is OK.

Are you sure that the tuning request is using commands compatible with API 5.4 ?

Barracuda09 commented 9 years ago

Hi lars18th,

Yes I would think so that I use the correct commands...

lars18th commented 9 years ago

Hi Marc,

Yes I would think so that I use the correct commands...

Then, please, add more prints of debug info around the tuning process. I'll check it and perhaps we can found where is the problem.

:(

Barracuda09 commented 9 years ago

Hi lars18th,

Yes.. But what should that be I have added the debug desc string. That shows the parameters are correctly parsed. The only thing maybe is worth trying is adding something like this in Frontend.cpp line 312:

// get all the pending events.... for (;;) { struct dvb_frontend_event dfe; if (ioctl (fd_fe, FE_GET_EVENT, &dfe) == -1) { break; } }

but i'm not sure it will make any difference at all....

Marc

lars18th commented 9 years ago

Hi Marc,

I found two errors in the tuning process with the current version:

Frontend.cpp#279:

Frontend.cpp#451:

However, with these changes I can't receive the TS. The tuner adquires signal, but the client (for example VLC using RTSP call) never receives data. Can you please add more debug info for checking the data readed from the device? I like to confirm if the program reads data or not.

I hope that you can finally fix this! ;)

Barracuda09 commented 9 years ago

Hi lars18th,

That is a bit strange that you don't need the *1000 because I was under the impression that it should be in Hz except DVB-S(2) which in in KHz. My DVB-T tuner is working with this.. You should according the SAT>IP specs give the freq in MHz the first translation to KHz is done when interpreting the transport params. Then the last translation is done when tuning.. DVB-C is also tuning correct. So I have to check this all.

lars18th commented 9 years ago

Hi Marc,

Yes, it's annoynig. For this reason I put this line in the code"SI_LOG_DEBUG("In Fronted::tune: SYS_DVBT, freq=%ul",channel.freq);" and the result is that the value is in range. I check it with this request using VLC: "rtsp://192.168.1.20:554/?freq=538&msys=dvbt&pids=all" I suspect that you do the translation in another point of the code. Moreover, remember that the SAT>IP specification accepts "freq" in different formats (538.000 is also valid).

I suggest to put more LOG info in the code. At times is very useful for view where is the problem! And, please, think that I always testing before with minisatip, so if it's working with my tuner, then it could also work with satpi. :)

Barracuda09 commented 9 years ago

I don't understand the problem just jet.. My DVB-T stick is working.. But what is the range then?

lars18th commented 9 years ago

Hi,

I don't understand the problem just jet.. My DVB-T stick is working.. But what is the range then?

Using last version from two days ago:

VLC command: rtsp://192.168.1.10:554/?freq=538&msys=dvbt&pids=all

Then the debug is:

[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:401] Stream: 0, Start tuning process...
[     Frontend.cpp:451] Stream: 0, Waiting on lock.
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[     Frontend.cpp:465] Stream: 0, Not locked yet (FE status 0)...
[   RtspServer.cpp:168] RTSP/1.0 200 OK

If I change Frontend.cpp as line #288:

            FILL_PROP(DTV_FREQUENCY,         channel.freq ); // * 1000UL);
            SI_LOG_DEBUG("In Fronted::tune: SYS_DVBT, freq=%lu",channel.freq);

Then log is:

[      Streams.cpp:205] Found SessionID 1702957685 by SocketClient
[      Streams.cpp:225] Found StreamID x - SessionID: 1702957685
[       Stream.cpp:067] Stream: 0, StreamClient[0] with SessionID 1702957685
[ StreamClient.cpp:043] Connection can close: 0
[     Frontend.cpp:440] Stream: 0, Opened FE fd: 9.
[     Frontend.cpp:401] Stream: 0, Start tuning process...
[     Frontend.cpp:287] In Fronted::tune: SYS_DVBT, freq=538000
[     Frontend.cpp:331] FE_SET_PROPERTY failed: Invalid argument (code 22)
[     Frontend.cpp:451] Stream: 0, Waiting on lock.
[     Frontend.cpp:462] Stream: 0, Tuned and locked (FE status 31).
[     Frontend.cpp:483] Stream: 0, Opened DVR fd: 10.
[     Frontend.cpp:490] Stream: 0, Updating PID filters...
[     Frontend.cpp:507] Stream: 0, Set filter PID: 8192 - fd: 011
[    RtpThread.cpp:092] Stream: 0, Start  RTP stream to 192.168.1.20:63720
[   RtcpThread.cpp:073] Stream: 0, Start RTCP stream to 192.168.1.20:63721
[   RtspServer.cpp:142] RTSP/1.0 200 OK

But no data received by VLC.

Please, let me know if you need more info.

lars18th commented 9 years ago

Hi,

My DVB-T stick is working..

Please, can you write the log with your DVB-T stick in debug mode?

And, your DVB-T stich is working with "minisatip"?

I'm really confused with the tuning problem... In minisatip the code converts also to Hz, because the DVB-API specifies to use Hz for DVB-T and DVB-C, instead DVB-S that uses KHz. So, yes, your code is right... but I don't know if my drivers are wrong! In which system you test your program? In my case is a x86-64 PC,

Barracuda09 commented 9 years ago

Hi,

You don't need to change Frontend.cpp.. I think you can try change in ChannelData.cpp line 67 to: bandwidth = 8000000;

lars18th commented 9 years ago

Hi,

You're right! If I remove the "* 1000UL" multiply, then the dmesg shows:

[252201.632642] DVB: adapter 0 frontend 0 frequency 538000 out of range (174000000..860000000)

So your code is right. Also, with the "correct" frequency, with the "Not locked yet (FE status 0)" message, the dmesg command shows:

[252272.987144] af9013: invalid bw or clock
[252275.208533] af9013: invalid bw or clock
[252288.302009] af9013: invalid bw or clock
[252290.803181] af9013: invalid bw or clock

But the bandwith is correct (8MHz) as shows the log:

[   RtcpThread.cpp:159] ver=1.1;tuner=1,123,0,0,538.00,8,dvbt, , , , ,0,0,0;pids=all

I'll do more tests!

lars18th commented 9 years ago

Hi,

I think you can try change in ChannelData.cpp line 67 to: bandwidth = 8000000;

YES! YES! :) With this I can tune!!! Finally!!!

However, the log shows:

[   RtcpThread.cpp:159] ver=1.1;tuner=1,126,1,0,538.00,UNKNOWN BANDWIDTH,dvbt, , , , ,0,0,0;pids=all

I don't know the reason, the bandwith that I need to use is 8MHz. With the paremeter "bw" don't work:

rtsp://192.168.1.10:554/?freq=538&bw=8&msys=dvbt&pids=all

the message "af9013: invalid bw or clock" in the kernel log continues!