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

防抖工具打开rtsp崩溃 #22

Open
lilei-John opened this issue Mar 14, 2023 · 4 comments
Open

防抖工具打开rtsp崩溃 #22

lilei-John opened this issue Mar 14, 2023 · 4 comments

Comments

@lilei-John
Copy link

图片
输入rtsp的用户名密码端口选择非移动设备后点击ok崩溃

@lilei-John
Copy link
Author

method DESCRIBE failed: 404 File not found

@lilei-John
Copy link
Author

[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] decode_slice_header error
[h264 @ 000001e2e373e900] no frame!
[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] decode_slice_header error
[h264 @ 000001e2e373e900] no frame!
[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] non-existing PPS 0 referenced
[h264 @ 000001e2e373e900] decode_slice_header error
[h264 @ 000001e2e373e900] no frame!
[h264 @ 000001e2e3761080] non-existing PPS 0 referenced
手动修改rtsp地址后报打开视频失败,但是vlc中可以播放,视频为h264编码

@lilei-John
Copy link
Author

打开视频文件mp4也无法播放
Traceback (most recent call last):
File "E:\work\ImageTools-master\ImageTools-master\tools\shake_test\shake_test.py", line 133, in open_video
self.open_video_path(videopath[0])
File "E:\work\ImageTools-master\ImageTools-master\tools\shake_test\shake_test.py", line 137, in open_video_path
self.vertify_video()
File "E:\work\ImageTools-master\ImageTools-master\tools\shake_test\shake_test.py", line 221, in vertify_video
frame = cv2.circle(self.old_gray, (a, b), 4, 255, -1)
cv2.error: OpenCV(4.7.0) 👎 error: (-5:Bad argument) in function 'circle'

Overload resolution failed:

  • Can't parse 'center'. Sequence item with index 0 has a wrong type
  • Can't parse 'center'. Sequence item with index 0 has a wrong type

@lilei-John
Copy link
Author

cv2.circle(new_gray, (int(a), int(b)), 8, 255, -1)强制成整形问题搞定,实时流画面出图比较慢还需要研究下

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