-
Notifications
You must be signed in to change notification settings - Fork 472
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
推送H265的rtsp流接收的时候 会产生大量一直发报错 #140
Comments
刚刚测试一下IPC 的rtsp H265没有发现你说的问题,可以提供h265的文件给作者 |
感谢反馈。 |
好的 我也是以前网上下载的演示H265,我传1份 |
用RTMP推的话 生成的ts文件只有音频内容 我这边测试的话 就是这条视频 |
哥们试试我提交的pr哈 |
q191201771
added a commit
that referenced
this issue
Apr 7, 2022
[fix] rtsp pub和rtmp pub: 解析H265流中的类型字段不够全面,导致推流失败 #140
感谢 @joestarzxh 提交的PR,已经merge到master了。 |
@q191201771 @joestarzxh OK了 新的代码已测试! 不再报错了。rtmp和rtsp都正常了 |
问题已解决。 |
1 similar comment
问题已解决。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在推送H265格式的rtsp流接收的时候 会产生大量一直发报错
推送的ffmpeg -re -i h265.mp4 -c:v copy -c:a copy -f rtsp rtsp://127.0.0.1:5544/live/test
使用的是修改版本的ffmpeg 就是对rtmp也支持H265的 就是共同定义id为12的。
测试使用rtmp推h265失败,PS:可以考虑后期兼容支持 RTMP H265
目前使用rtsp推送的h265 后 log不停每秒产生大量ERROR:
2022/04/07 00:42:25.170983 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.171985 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.191038 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.191038 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.192039 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.193041 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.194044 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.194044 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.195046 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
2022/04/07 00:42:25.196049 �[22;31mERROR �[0minvalid position. pos=0 - rtp_unpacker_avc_hevc.go:192
测试环境是windows
The text was updated successfully, but these errors were encountered: