Toybrick

楼主: zylo117

Rockchip Linux Edge Python SDK在3588上rtsp失败

zylo117

注册会员

积分
171
21#
 楼主| 发表于 2022-8-11 09:45:38 | 显示全部楼层
jefferyzhang 发表于 2022-8-11 08:52
已经加进去了,回头等你这个问题处理完我们再发布。我看下怎么兼容,他这个simple server问题是RTP包的pa ...

那就很奇怪了,因为vlc都可以播放的。我们公司以前一直都用这个软件进行本地调试
回复

使用道具 举报

zylo117

注册会员

积分
171
22#
 楼主| 发表于 2022-8-11 11:13:20 | 显示全部楼层
jefferyzhang 发表于 2022-8-11 10:00
vlc,ffm这些都对很多不标准做了兼容,能播是很正常的,但我们写代码都是按ITU标准白皮书编码的。
耗费的 ...

我换了个视频,下面的这个错误就没了,
[08/10 09:02:34.928] E/: (fill in :32): Buffer::fill size out of memory! 1224 > 1024
变成了另一个错误,
[08/11 03:09:58.648] E/: (get in :286): decode_get_frame failed ret -8

journalctl日志是

Aug 11 03:12:19 python3.9[537817]: W/: (threadRtpFunc in :224): UDP-RTP receive timeout, exit it. rtsp://192.188.10.15:8554/mystream ; type = A>
Aug 11 03:12:20 python3.9[537817]: W/: (onTransmitIn in :61): rtp lost one packet ... mDebugCntRtpLost: 50808 > 50831
Aug 11 03:12:22 python3.9[537817]: E/: (get in :286): decode_get_frame failed ret -8
Aug 11 03:12:22 python3.9[537817]: W/: (onTransmitIn in :61): rtp lost one packet ... mDebugCntRtpLost: 51659 > 51704
Aug 11 03:12:23 python3.9[537817]: W/: (onTransmitIn in :61): rtp lost one packet ... mDebugCntRtpLost: 51747 > 51800
Aug 11 03:12:25 python3.9[537817]: E/: (get in :286): decode_get_frame failed ret -8
Aug 11 03:12:26 python3.9[537817]: D/: RTP264UP_UNIT [0x55b3d0b9a0] loss/recv:14.70/293.90 SEI|SPS|PPS|NI|I: 0.00|0.00|0.00|24.60|0.00
Aug 11 03:12:27 python3.9[537817]: W/: (threadRtpFunc in :224): UDP-RTP receive timeout, exit it. rtsp://192.188.10.15:8554/mystream ; type = A>
Aug 11 03:12:28 python3.9[537817]: E/: (get in :286): decode_get_frame failed ret -8
Aug 11 03:12:29 python3.9[537817]: W/: (onTransmitIn in :61): rtp lost one packet ... mDebugCntRtpLost: 53684 > 53691
Aug 11 03:12:31 python3.9[537817]: E/: (get in :286): decode_get_frame failed ret -8
回复

使用道具 举报

zylo117

注册会员

积分
171
23#
 楼主| 发表于 2022-8-11 11:49:38 | 显示全部楼层
本帖最后由 zylo117 于 2022-8-11 11:53 编辑

换硬解就没有丢包了。
提示这个程序就崩溃了。
E/: (get in :286): decode_get_frame failed ret -8

[08/11 03:48:25.083] T/: decode_get_frame get info changed found
[08/11 03:48:25.083] T/: decoder require buffer w:h [640:360] stride [640:368] size 471040

journalctl日志是
g 11 03:45:47 python3.9[544210]: D/: # Found[1] server_port: 8000 - 8001
Aug 11 03:45:47 python3.9[544210]: D/: # Found[1] port: 8000 - 8001
Aug 11 03:45:47 python3.9[544210]: W/: (startCurl in :651): RtspClient: audio track no found !
Aug 11 03:45:47 python3.9[544210]: D/: RtspClient: state changed ! CONNECTING -> CONNECTED
Aug 11 03:45:47 python3.9[544210]: D/: Video SSRC Changed! 0 -> 2752882705
Aug 11 03:45:47 python3.9[544210]: D/: RTP264UP_UNIT [0x558e883820] loss/recv: 0.00/ 0.10 SEI|SPS|PPS|NI|I: 0.00|0.00|0.00|0.10|0.00
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: mpp_info: mpp version: 8a85dc5d author: Herman Chen   2022-03-14 [mpp_enc]: Fix stuck on reset async mode en>
Aug 11 03:45:47 python3.9[544210]: mpp_rt: NOT found ion allocator
Aug 11 03:45:47 python3.9[544210]: mpp_rt: found drm allocator
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
Aug 11 03:45:47 python3.9[544210]: W/: (transmitTo in :39): [0x558e874c48] transmitIn buffer PT_RTP_VIDEO is filter out by RTPUP_AAC_UNIT
回复

使用道具 举报

zylo117

注册会员

积分
171
24#
 楼主| 发表于 2022-8-11 12:19:28 | 显示全部楼层
jefferyzhang 发表于 2022-8-11 12:01
你这log并没有崩溃啊

好吧,刚刚是我配置问题。
现在还是老问题,会出现这种错误,然后崩溃
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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表