Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试到一个问题,当ffplay拉取rtmp流时会出现chunksize 大小不配的错误 #23

Open
daxiong0327 opened this issue May 6, 2023 · 2 comments

Comments

@daxiong0327
Copy link

image

如上图所示,可以频繁的复现。暂时不知道怎么定位。

@daxiong0327
Copy link
Author

复现方法,录制了出现问题的那段视频,用ffmpeg推rtmp到媒体服务器。再用ffplay从媒体服务器拉拉流播放。大概率就会出现。chatgpt。

@daxiong0327
Copy link
Author

经过分析,rtmp协议写入时会出现错误,同样的帧数据解析出的chunk hander 的长度不一样。实际对比帧数据是一致的。这将导致客户端解析rtmp时会出现解码错误的问题。

eg:
image

image

32971是正确的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant