Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 在同时推4路rtsp视频流时出现lost video packet和Segmentation fault (core dumped)

57

积分

0

威望

0

贡献

技术小白

积分
57

在同时推4路rtsp视频流时出现lost video packet和Segmentation fault (core dumped)

发表于 2023-12-9 17:02:43      浏览:766 | 回复:2        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 官方提供的固件
  • 固件文件名称: 1
  • 固件下载地址: 1
  • Log日志: log.rar
问题描述及复现步骤:
背景:
尝试用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


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





log.rar

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

回复

使用道具 举报

57

积分

0

威望

0

贡献

技术小白

积分
57
发表于 2023-12-9 18:38:47        只看该作者  沙发
@dengkx
回复

使用道具 举报

824

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

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

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表