-
Notifications
You must be signed in to change notification settings - Fork 531
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
CPU usage is too high when clone device by v4l2loopback #549
Comments
hmm, well. so i conclude that the so, if I were you, i would do some analysis where GStreamer is spending its time (and see whether something can be done on the |
I tried some analysis with simple gstreamer command. When I run But when I replace appsink with v4l2sink (to a virtual device created by v4l2loopback). CPU usage is 60%. |
Hello @trungthanhnguyen0502 , good morning. How did you get v4l2loopback working for you? I'm trying to get my Jetson NX to work, with the same kernel version and it's impossible. I keep getting this error when running modprobe v4l2loopback: |
I use v4l2loopback + Gstreamer to clone device. Sometimes Using this plugin results in very high CPU usage.
Step 2: Environment
Step 3: Describe the problem:
Steps to reproduce:
Create virtual devices:
sudo modprove v4l2loopback devices=3
Clone the data stream from the original device to virtual devices.
Observed Results:
Or worst case like that:
I've checked and not see any strange programs that can cause this problem. I see that someone else had the same problem, Nvidia supporter said "For CPU usage, it is probably v4l2loopback as well causing high CPU load. high-cpu-usage-for-video-capturing
Expected Results:
I want to know why CPU usage is too high and how to fix it. Because this problem affects my system a lot.
The text was updated successfully, but these errors were encountered: