该摄像头的RTSP流在PC上VLC播放是正常的,帮忙分析下LKD3588 Gstreamer绿屏的原因及解决方案
抓取下来的流文件:下载链接 提取码:z8dB
播放命令
打开GST_DEBUG的Gstreamer命令:
GST_DEBUG=4 gst-launch-1.0 rtspsrc location=rtsp://192.168.101.81:554/72 latency=5000 ! decodebin ! videoconvert ! autovideosink
Gstreamer版本
root@LPA3588:/home# gst-launch-1.0 --version
gst-launch-1.0 version 1.20.3
GStreamer 1.20.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0
RTSP流信息
root@LPA3588:/home#
root@LPA3588:/home# gst-discoverer-1.0 rtsp://192.168.101.81:554/72
Analyzing rtsp://192.168.101.81:554/72
Done discovering rtsp://192.168.101.81:554/72
Properties:
Duration: 99:99:99.999999999
Seekable: no
Live: yes
unknown #0: application/x-rtp
video #1: H.264 (Main Profile)
Stream ID: f4b54e67455139fa3b2b90524546c0927a18f46f135033170287ea43b54ca657/video:0:0:RTP:AVP:96
Width: 704
Height: 580
Depth: 24
Frame rate: 25/1
Pixel aspect ratio: 1/1
Interlaced: false
Bitrate: 0
Max bitrate: 0
GST_DEBUG=4的Gstreamer完整打印信息: