Firefly开源社区

标题: 在同时推4路rtsp视频流时出现lost video packet和Segmentation fault (core dumped) [打印本页]

作者: zzqldnz    时间: 2023-12-9 17:02
标题: 在同时推4路rtsp视频流时出现lost video packet和Segmentation fault (core dumped)
背景:
尝试用ffmedia的demo.py同时拉取四个视频流并进行转发
问题一:视频流可以播放,但是出现很严重的lost video packet现象,导致播放卡顿问题二:
在程序运行后出现Segmentation fault (core dumped)导致崩溃。

日志:
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packetINFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x7f8c20bc20 frame info changed 0 error 1 discard 0
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet
WARN: rtsp_server: rtsp_tx_video: client 199.3.0.50 will lost video packet


请问该如何解决,感激不尽。





tchip_askquestions

log.rar

1.72 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: zzqldnz    时间: 2023-12-9 18:38
@dengkx

作者: dengkx    时间: 2023-12-13 10:13
提供完整log和对demo修复及使用方法,方便分析和复现。  
从目前的现象看:lost video packet提示的ffmedia推的rtsp流在等待客户端来接收包过程中超时了,他自动丢弃了这个包。




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1