Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by SunnyChow · Oct 26, 2017 at 11:17 AM · frameratepcwebcamtexture

HD webcam is slow in PC

i want to get HD webcam image in 30 FPS. but the result looks so laggy. The app is smooth and get higher framerate than this but the webcamtexture just can't get the framerate as i want. I think my pc is already quite good. What should i do? i don't care if i need to bug plugins.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by SunnyChow · Oct 27, 2017 at 04:10 AM

Ok this is my situation. I am using Logitech logitech brio camera which can go up to 4k. When i was using a USB 2.0 cable, Unity can get ~5fps. And then i download AVPro Live Camera free trial and find out one funny thing ... my device offer several color formats and framerates, and somehow Unity forcedly chooses 5FPS instead of 30FPS. And then i switch to USB 3.0 cable. Now it can return 1920x in 30fps. it can even return 3840x in 30fps.

tl;dr

  1. if your webcam support usb3.0, try usb3.0 cable

  2. use AVPro Live Camera free trial to learn more about your webcam

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by bartburkhardt-sim-ci · Jan 04, 2019 at 02:58 PM

Hi @SunnyChow,

I'm using a Logitech C920 and have same problem. (Windows 10)

This webcam has two HD modes;
1920x1080 5fps YUY2
1920x1080 30fps MJPG

It looks like its using the first in the list and does not take in account the requested 30 fps. The problem does not exist on all computers so it might also be a combination like an updated way to get to these steams. Like this update problem

https://www.theverge.com/2016/8/19/12562780/microsoft-windows-10-anniversary-update-webcam-freezing

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image opexu1986 · Apr 05, 2020 at 02:21 PM 0
Share

Hi, I also using for test C920 right now and face the same problem. Have you got solution?

avatar image
0

Answer by BadToxic · Jul 12, 2020 at 11:53 AM

I solved this problem by using https://github.com/Satoshi-Hirazawa/unity-uvc-camera made for the Logitech C920 WebCamera. But to make it run fast enough (on WIndows 10), I had to set a very low resolution:

 int width = 640, height = 360;
 cvuvc.UseCamera(1, height, width, 30);
 texture = new Texture2D(width, height, TextureFormat.RGB24, false);
 render.material.mainTexture = texture;
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

75 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

WebcamTexture not refreshing 0 Answers

Unity game on Android capped at 30 fps 1 Answer

Can I output at a different rate than rendering? 0 Answers

CANT FIND ANY DEMO 1 Answer

Unity web player not calling up webpages using JS in internet explorer 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges