elsampsa / valkka-core

Valkka - Create video surveillance, management and analysis programs with PyQt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

valkka is not able to get sdp description of rtsp for some of cameras from cpplus dvr

papasanimohansrinivas opened this issue · comments

Bug report

First, make sure that:

  • You are running the latest version of libValkka --> yes
  • ..and understand at least how buffering time and number of pre-reserved frames are related to each other --> yes
  • You have read the common problems section --> yes

Your bug report should include:

  1. A copy-paste of the salient features of the terminal output
    recieved address and slot  rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif   5
    

Thread: startCall: waiting for avthread_139915011834936 to start
DecoderThread: avthread_139915011834936 : preRun
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif 6
test_studio_detector : openValkka: setting decoder thread on processor 5
c__activateRGB24Client called with test_studio_5 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
cahnged multicast setting False
thread backend: message from the main program com
check tcp request settings True
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif 6
Thread: startCall: waiting for avthread_139915011834880 to start
DecoderThread: avthread_139915011834880 : preRun
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif 7
thread backend: message from the main program com
test_studio_detector : openValkka: setting decoder thread on processor 6
c__activateRGB24Client called with test_studio_6 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
thread backend: message from the main program com
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif 7
Thread: startCall: waiting for avthread_139915011835832 to start
DecoderThread: avthread_139915011835832 : preRun
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif 8
test_studio_detector : openValkka: setting decoder thread on processor 7
c__activateRGB24Client called with test_studio_7 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
thread backend: message from the main program com
cahnged multicast setting False
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif 8
Thread: startCall: waiting for avthread_139915011835776 to start
DecoderThread: avthread_139915011835776 : preRun
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif 9
thread backend: message from the main program com
test_studio_detector : openValkka: setting decoder thread on processor 8
c__activateRGB24Client called with test_studio_8 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif 9
Thread: startCall: waiting for avthread_139915011836728 to start
DecoderThread: avthread_139915011836728 : preRun
thread backend: message from the main program com
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif 10
thread backend: message from the main program com
test_studio_detector : openValkka: setting decoder thread on processor 9
c__activateRGB24Client called with test_studio_9 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
thread backend: message from the main program com
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif 10
Thread: startCall: waiting for avthread_139915011837232 to start
DecoderThread: avthread_139915011837232 : preRun
thread backend: comstr, obj addProcess <MovementDetectorProcess.MessageProcess>
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif 11
test_studio_detector : openValkka: setting decoder thread on processor 10
c__activateRGB24Client called with test_studio_10 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif 11
Thread: startCall: waiting for avthread_139915011787520 to start
DecoderThread: avthread_139915011787520 : preRun
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif 12
test_studio_detector : openValkka: setting decoder thread on processor 11
c__activateRGB24Client called with test_studio_11 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif 12
Thread: startCall: waiting for avthread_139915011870792 to start
DecoderThread: avthread_139915011870792 : preRun
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif 13
test_studio_detector : openValkka: setting decoder thread on processor 0
c__activateRGB24Client called with test_studio_12 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif 13
Thread: startCall: waiting for avthread_139915011871240 to start
DecoderThread: avthread_139915011871240 : preRun
hardcoded address plus slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif 14
test_studio_detector : openValkka: setting decoder thread on processor 1
c__activateRGB24Client called with test_studio_13 10 312 312
SwScaleFrameFilter: reserved 292032 bytes for the bitmap
DecoderThread : constructor : N_MAX_DECODERS =4
deafult mutlicast setting False
cahnged multicast setting False
check tcp request settings True
recieved address and slot rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif 14
Thread: startCall: waiting for avthread_139915011871688 to start
DecoderThread: avthread_139915011871688 : preRun
c__activateRGB24Client called with test_studio_14 10 312 312
LiveThread: registerStream : rtsp stream registered at slot 1 with ptr 0x7f4068000b70
LiveThread: safeGetSlot : returning 1
LiveThread: playStream : playing.. 1
RTSPConnection : playStream : name liveMedia0
Created new TCP socket 252 for connection
LiveThread: registerStream : rtsp stream registered at slot 2 with ptr 0x7f4068006160
LiveThread: safeGetSlot : returning 2
LiveThread: playStream : playing.. 2
RTSPConnection : playStream : name liveMedia1
Created new TCP socket 253 for connection
LiveThread: registerStream : rtsp stream registered at slot 3 with ptr 0x7f406800b580
LiveThread: safeGetSlot : returning 3
LiveThread: playStream : playing.. 3
RTSPConnection : playStream : name liveMedia2
Created new TCP socket 254 for connection
LiveThread: registerStream : rtsp stream registered at slot 4 with ptr 0x7f40680109a0
LiveThread: safeGetSlot : returning 4
LiveThread: playStream : playing.. 4
RTSPConnection : playStream : name liveMedia3
Created new TCP socket 255 for connection
LiveThread: registerStream : rtsp stream registered at slot 5 with ptr 0x7f4068015dc0
LiveThread: safeGetSlot : returning 5
LiveThread: playStream : playing.. 5
RTSPConnection : playStream : name liveMedia4
Created new TCP socket 256 for connection
LiveThread: registerStream : rtsp stream registered at slot 6 with ptr 0x7f406801b1e0
LiveThread: safeGetSlot : returning 6
LiveThread: playStream : playing.. 6
RTSPConnection : playStream : name liveMedia5
Created new TCP socket 257 for connection
LiveThread: registerStream : rtsp stream registered at slot 7 with ptr 0x7f4068020650
LiveThread: safeGetSlot : returning 7
LiveThread: playStream : playing.. 7
RTSPConnection : playStream : name liveMedia6
Created new TCP socket 258 for connection
LiveThread: registerStream : rtsp stream registered at slot 8 with ptr 0x7f4068025a60
LiveThread: safeGetSlot : returning 8
LiveThread: playStream : playing.. 8
RTSPConnection : playStream : name liveMedia7
Created new TCP socket 259 for connection
LiveThread: registerStream : rtsp stream registered at slot 9 with ptr 0x7f406802ae70
LiveThread: safeGetSlot : returning 9
LiveThread: playStream : playing.. 9
RTSPConnection : playStream : name liveMedia8
Created new TCP socket 260 for connection
LiveThread: registerStream : rtsp stream registered at slot 10 with ptr 0x7f4068030280
LiveThread: safeGetSlot : returning 10
LiveThread: playStream : playing.. 10
RTSPConnection : playStream : name liveMedia9
Created new TCP socket 261 for connection
LiveThread: registerStream : rtsp stream registered at slot 11 with ptr 0x7f4068035690
LiveThread: safeGetSlot : returning 11
LiveThread: playStream : playing.. 11
RTSPConnection : playStream : name liveMedia10
Created new TCP socket 262 for connection
LiveThread: registerStream : rtsp stream registered at slot 12 with ptr 0x7f406803aaa0
LiveThread: safeGetSlot : returning 12
LiveThread: playStream : playing.. 12
RTSPConnection : playStream : name liveMedia11
Created new TCP socket 263 for connection
LiveThread: registerStream : rtsp stream registered at slot 13 with ptr 0x7f406803ff40
LiveThread: safeGetSlot : returning 13
LiveThread: playStream : playing.. 13
RTSPConnection : playStream : name liveMedia12
Created new TCP socket 264 for connection
LiveThread: registerStream : rtsp stream registered at slot 14 with ptr 0x7f4068045350
LiveThread: safeGetSlot : returning 14
LiveThread: playStream : playing.. 14
RTSPConnection : playStream : name liveMedia13
Created new TCP socket 265 for connection
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033874 2252033874 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=14&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 47574-47575)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=14&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 47574-47575)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011788416 : run : registering decoder for subsession 0
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389782530 subsession_index=0 slot=2 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=14&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
AVDecoder: registered decoder with av_codec_id 28
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=14&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033874 2252033874 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 41332-41333)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 41332-41333)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011787520 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389794580 subsession_index=0 slot=11 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=4&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033886 2252033886 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 43936-43937)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 43936-43937)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011837232 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389800681 subsession_index=0 slot=10 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=5&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033892 2252033892 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 56814-56815)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 56814-56815)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011836728 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389806790 subsession_index=0 slot=9 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033898 2252033898 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=12&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 58230-58231)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=12&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 58230-58231)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011834040 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389818850 subsession_index=0 slot=4 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=12&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=12&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033920 2252033920 IN IP6 ::
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=15&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 56742-56743)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=15&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 56742-56743)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011787912 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389828971 subsession_index=0 slot=1 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=15&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=15&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033920 2252033920 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 50160-50161)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 50160-50161)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011871240 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389829141 subsession_index=0 slot=13 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=2&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033921 2252033921 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 55022-55023)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 55022-55023)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011870792 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389835250 subsession_index=0 slot=12 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=3&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033927 2252033927 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 56750-56751)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 56750-56751)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011835776 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389835430 subsession_index=0 slot=8 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033927 2252033927 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 49480-49481)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 49480-49481)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011835832 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389839813 subsession_index=0 slot=7 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033931 2252033931 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 38108-38109)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 38108-38109)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011834936 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389845831 subsession_index=0 slot=5 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033947 2252033947 IN IP6 ::
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 37406-37407)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 37406-37407)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011871688 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389855831 subsession_index=0 slot=14 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033951 2252033951 IN IP6 ::
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 58014-58015)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 58014-58015)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011834880 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389860020 subsession_index=0 slot=6 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
thread backend: no messages from main thread but I'm still alive
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
ValkkaRTSPClient: Got a SDP description:
v=0
o=- 2252033951 2252033951 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:10.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D0014;sprop-parameter-sets=Z00AFJ2oWCWhAAADAAEAAAMAFIQA,aO48gAA=
a=recvonly
m=application 0 RTP/AVP 107
a=control:trackID=4
a=rtpmap:107 vnd.onvif.metadata/90000
a=recvonly

ValkkaRTSPClient: handling subsession video
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=13&subtype=1&unicast=true&proto=Onvif/"]: Initiated the "video/H264" subsession (client ports 43838-43839)
ValkkaRTSPClient: packet reordering time now 1000000 microseconds
ValkkaRTSPClient: receiving socket size changed from 212992 to 425984
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[swscaler @ 0x7f40600e2fa0] Warning: data is not aligned! This can lead to a speed loss
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=13&subtype=1&unicast=true&proto=Onvif/"]: Set up the "video/H264" subsession (client ports 43838-43839)
FrameSink: constructor: codec_name =H264, subsession_index =0
FrameSink: init H264 Frame
DecoderThread: avthread_139915011787968 : run : registering decoder for subsession 0
AVDecoder: registered decoder with av_codec_id 28
FrameSink: constructor: internal_frame= <BasicFrame: timestamp=1651389860254 subsession_index=0 slot=3 / payload size=512004 / H264: slice_type=8>
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=13&subtype=1&unicast=true&proto=Onvif/"]: Created a data sink for the "video/H264" subsession
ValkkaRTSPClient: handling subsession application
ValkkaRTSPClient: discarded subsession application
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=13&subtype=1&unicast=true&proto=Onvif/"]: Started playing session...
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f403c000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f405c000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4054000cc0] no frame!
[h264 @ 0x7f4034000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4044000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4050000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4040000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4030000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4038000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4064000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4058000cc0] no frame!
[h264 @ 0x7f4064000cc0] Increasing reorder buffer to 1
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4044000cc0] Increasing reorder buffer to 6
[h264 @ 0x7f4048000cc0] no frame!
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f4058000cc0] Increasing reorder buffer to 1
[h264 @ 0x7f404c000cc0] no frame!
[h264 @ 0x7f4034000cc0] Increasing reorder buffer to 1
[h264 @ 0x7f4060000cc0] no frame!
[h264 @ 0x7f404c000cc0] no frame!
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif"]: Failed to get a SDP description: liveMedia53
ValkkaRTSPClient: shutdownStream :
ValkkaRTSPClient: [URL:"rtsp://admin:admin%40123@192.168.0.167:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif"]: closing the stream

```
  1. Indicate the graphics driver are you using: nvidia

  2. Indicate the kind of media stream you are dealing with (as reported by your IP camera's web-interface):

    • Resolution --> 352x288 (CIF)
    • Frames per second --> 10
    • Video codec (should be H264!) --> H264
    • Does your stream include audio? --> no
  3. If you are streaming multiple streams, what is your total framerate? --> 15 cameras * 10 fps per camera

  4. Your architecture (arm version or amd64) and the version and name of your linux distro -->

  5. Did you install with apt-get or did you compile yourself? --> i have changed the live_get_parameter_ping variable to 600 secs and compiled with out any debug flags enabled otherwise valkka is pinging the dvr again and again for get_parameter and more number of cameras are disconnecting

  6. Ascii art of the filterchain (like in the tutorial)
    avthread ---> timeinterval_filter --> swsscale_filter --> shmemrgb_filter --> [message_queue]--> torch script

Please remember that all ValkkaFS-related features are still pretty experimental.

Hi,

First of all, thanks for the report & following the report template.

At this stage - before taking a closer look - some observations:

  • Please modify your report in such a way that it only has output from a single problematic camera. Now there's way too much stuff
  • Please indicate which program/script, etc. you are running. You should run the most simple script possible, now it seems you're running the websocket/server fullstack thing. Please run this one instead: https://elsampsa.github.io/valkka-examples/_build/html/lesson_2.html

So, to summarize, run your test only for a single camera only, and with the lesson 2 example program (with full verbosity as you have done) & let's continue from there.

  1. hi @elsampsa , first of all , sorry for replying so late .
  2. I needed to scale decoding to multiple cameras like atleast 16 .
  3. At the moment i switched to opensource SDK available from DVR vendor website Dahua vendor url
  4. But that sdk is just sending me raw compressed h264 data packets in a call back and I managed to use pyav library to build an end to end pipeline for my 16 cams usecase.
  5. As to my best understanding that approach wont scale to multiple use cases which i want to achieve
  6. I want to combine libvalkka abilities with the sdk from vendor .
  7. My plan is get raw data from sdk and write to a seperate system socket for each cam and then use valkka to pick stream from socket
  8. Is socket reading as input supported in libvalkka python or c++ api or suggest any better approach
  9. Also Iam thinking now that write raw h264 from each cam callback to seperate /dev/video* and perhaps libvalkka can pick it up from there
    kindly reply at the earliest !

OK, happened so far..

You tried libValkka & encountered a problem. Your problem was surprisingly basic .. reading and decoding frames from an RTSP camera & passing them downstream is probably the most robust feature of libValkka.

I suggested that you'd refine your question so that we can see what is exactly going on (btw, that "no frame" doesn't really mean that there would be a problem - did you even try to visualize the video stream? Maybe it worked in the first place).

Instead, you decided to go for a chinese manufacturer's SDK..! That is the worst idea ever. I mean really. But you just had to find this out by yourself. I imagine that going up the libValkka learning curve would actually have saved you some time.

Reading raw H264 packets doesn't give you any idea of the timestamps.. you'll just have images but don't know their presentation timestamps. This will result in choppy video - if you ever get to the point of showing the video on-screen in the first place.

Sending raw H264 packets through sockets to other processes is a bad idea. It's the typical crappy/panic solution that developers do when they realize there are no good ways to handle RTSP cameras and multiple video streams. No insult here: we all have to start learning from someplace. But don't do it. Or if you do, prepare yourself for trouble in the medium/long term.

If you don't want to use libValkka, maybe try gstreamer instead? Or any other library that reads properly RTSP cameras and knows how to pass timestamped decoded frames downstream.