Search Unity

Video (Windows 10) WebCamTexture can't select MJPG format, it takes the first entry (5fps YUY2)

Discussion in 'Audio & Video' started by bartburkhardt-sim-ci, Jan 4, 2019.

  1. bartburkhardt-sim-ci

    bartburkhardt-sim-ci

    Joined:
    Aug 21, 2017
    Posts:
    6
    I'm using a Logitech C920 webcam. This webcam provides different resolutions and formats.

    I want to use 1920x1080 30fps.

    The camera provides two of these full HD modes
    1920x1080 5fps YUY2
    1920x1080 30fps MJPG

    When creating a WebCamtexture and specify the 30fps. I still get the 5fps YUY2 version

    This problem does not exist on all computers, it looks like it could have something to do with a Microsoft Windows 10 update. Perhaps this one https://www.theverge.com/2016/8/19/12562780/microsoft-windows-10-anniversary-update-webcam-freezing

    Any ideas how to fix?
     
  2. JonasMumm

    JonasMumm

    Joined:
    Feb 22, 2019
    Posts:
    23
    Hi there, I'm fighting exactly the same issue. Did you find a solution?
     
  3. Trivium_Dev

    Trivium_Dev

    Joined:
    Aug 1, 2017
    Posts:
    78
  4. JonasMumm

    JonasMumm

    Joined:
    Feb 22, 2019
    Posts:
    23
    Thank you for the response, I'll be looking into it!