RTSPtoImage
RTSPtoImage copied to clipboard
Fully gray image
I tested this url in VLC, in ffplay and the image opens normally, but here some messages appear in DEBUG and the image is saved completely gray, does anyone have any idea what it could be?
follow Debug below
` 2022/12/30 14:44:46 [OPTIONS rtsp://****************RTSP/1.0 CSeq: 1 User-Agent: Lavf58.76.100
] 2022/12/30 14:44:46 [OPTIONS rtsp://**************** RTSP/1.0 CSeq: 2 User-Agent: Lavf58.76.100 Authorization: Basic Y2ZjOjEyMzQ1Ng==
] 2022/12/30 14:44:46 [RTSP/1.0 200 OK Content-Length: 0 CSeq: 2
] 2022/12/30 14:44:46 [DESCRIBE rtsp://**************** RTSP/1.0 CSeq: 3 Accept: application/sdp User-Agent: Lavf58.76.100 Authorization: Basic Y2ZjOjEyMzQ1Ng==
] 2022/12/30 14:44:46 [RTSP/1.0 200 OK Content-Length: 287 Content-Type: application/sdp CSeq: 3 User-Agent: DH RTSP Server Content-Base: rtsp://****************/ Cache-Control: must-revalidate x-Accept-Retransmit: our-retransmit x-Accept-Dynamic-Rate: 1
v=0 o=StreamingServer 3331435948 1116907222000 IN IP4 192.168.15.253 s=h264.mp4 c=IN IP4 0.0.0.0 t=0 0 a=control:* m=video 0 RTP/AVP 96 a=control:trackID=0 a=rtpmap:96 H264/90000 a=fmtp:96 profile-level-id=6742e0;sprop-parameter-sets=Z0LgFNsFh8Q=,aM4wpIA=;packetization-mode=1 ] 2022/12/30 14:44:46 [SETUP rtsp://****************/trackID=0 RTSP/1.0 CSeq: 4 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 User-Agent: Lavf58.76.100 Authorization: Basic Y2ZjOjEyMzQ1Ng==
] 2022/12/30 14:44:46 [RTSP/1.0 200 OK Content-Length: 0 CSeq: 4 Server: DH Server/1.1 User-Agent: DH RTSP Server Session: 53 Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=0c00cdee;mode=PLAY;ssrc=00000035
] 2022/12/30 14:44:46 [PLAY rtsp://****************/ RTSP/1.0 CSeq: 5 Session: 53 User-Agent: Lavf58.76.100 Authorization: Basic Y2ZjOjEyMzQ1Ng==
] 2022/12/30 14:44:46 [RTSP/1.0 200 OK Content-Length: 0 CSeq: 5 Range: npt=0- Session: 53
] 2022/12/30 14:44:46 [Codec Update SPS [39 77 64 31 139 149 2 195 242]] 2022/12/30 14:44:46 [Codec Update PPS [40 254 1 174 32]] [h264 @ 0x7f5d38002a80] top block unavailable for requested intra mode -1 [h264 @ 0x7f5d38002a80] error while decoding MB 0 0 [h264 @ 0x7f5d38002a80] concealing 330 DC, 330 AC, 330 MV errors in I frame 2022/12/30 14:44:46 Poster Saved On Disk Ready ./output.jpg 2022/12/30 14:44:46 [TEARDOWN rtsp://****************/ RTSP/1.0 CSeq: 6 User-Agent: Lavf58.76.100 Authorization: Basic Y2ZjOjEyMzQ1Ng== Session: 53
]
`
DVR seems not to provide SPS/PPS NAL data