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

Jetson freezes when more than one videocapture is running. #27

Open
jonready opened this issue Apr 4, 2019 · 5 comments
Open

Jetson freezes when more than one videocapture is running. #27

jonready opened this issue Apr 4, 2019 · 5 comments

Comments

@jonready
Copy link

jonready commented Apr 4, 2019

This library has worked great for single videocapture but when I try to do 2 at the same time eventually my jetson freezes and stops responding to mouse and keyboard inputs. I posted an example usage of videocapture.
cv::VideoCapture cap1(pipeline1, cv::CAP_GSTREAMER);

@jetsonhacks
Copy link
Owner

Did you happen to check the memory usage? What type of cameras are you using?

@jonready
Copy link
Author

jonready commented Apr 5, 2019

I am using two leopard imaging imx377 cameras. Memory usage is about 12%.

@jetsonhacks
Copy link
Owner

The script is just a wrapper around an OpenCV install. I'm not sure what the issue might be. Since I don't have the cameras, it's difficult to suggest a fix.

Please ask this question on the official NVIDIA Jetson forum where a large number of developers and NVIDIA engineers share their experience. Jetson TX2 forum: https://devtalk.nvidia.com/default/board/188/jetson-tx2/

@jonready
Copy link
Author

jonready commented Apr 5, 2019

I have asked my question there. But I had wondered if it might have been something related to OpenCV.

@jetsonhacks
Copy link
Owner

It could be. I would tend to be more suspicious of the the other players, ie imx377 drivers and GStreamer. Certainly it's worth checking with Leopard Imaging.

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

2 participants