好吧,刚刚是我配置问题。
现在还是老问题,会出现这种错误,然后崩溃
E/: (fill in :32): Buffer::fill size out of memory! 1337 > 1024
Aug 11 04:19:01 python3.9[550566]: D/: RtspClient: state changed ! CONNECTING -> CONNECTED
Aug 11 04:19:01 python3.9[550566]: D/: Video SSRC Changed! 0 -> 2290526379
Aug 11 04:19:01 python3.9[550566]: D/: Audio SSRC Changed! 0 -> 1341825817
Aug 11 04:19:01 python3.9[550566]: W/: (transmitTo in :39): [0x55c268de60] transmitIn buffer PT_RTP_AUDIO is filter out by RTPVUP_UNIT_SE
Aug 11 04:19:01 python3.9[550566]: D/: RTP264UP_UNIT [0x55c269ca10] loss/recv: 0.00/ 0.10 SEI|SPS|PPS|NI|I: 0.00|0.00|0.00|0.00|0.00
Aug 11 04:19:01 python3.9[550566]: W/: (transmitTo in :39): [0x55c268de68] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 04:19:01 python3.9[550566]: E/: (fill in :32): Buffer::fill size out of memory! 1155 > 1024
Aug 11 04:19:01 python3.9[550566]: W/: (transmitTo in :39): [0x55c268de68] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
我自己按照api写,多路解码的时候好像撑不住
1
-
for x in range(6):
-
for y in range(2):
-
idx = gl.addview(x*D_W, y*D_H, D_W, D_H)
-
td = threading.Thread(target=func_rtspdisplay, args=(gl, idx, cam_url, cam_user, cam_pwd))
-
td.start()
> [4] got frame. use = 0.134155 s
[08/12 02:34:06.465] T/: decode_get_frame get info changed found
[08/12 02:34:06.465] T/: decoder require buffer w:h [1280:720] stride [1280:720] size 1843200
Segmentation fault