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

HDR control for Razer Kiyo Pro #33

Open
juliussohn opened this issue Jan 5, 2022 · 36 comments
Open

HDR control for Razer Kiyo Pro #33

juliussohn opened this issue Jan 5, 2022 · 36 comments
Labels
enhancement New feature or request

Comments

@juliussohn
Copy link

Hey unfortunately the Razer Synapse Software to configure the webcam only works on windows. Camera Controller already covers most controls, but one key feature of the Razer Kiyo Pro cam is HDR, which would be awesome to have in camera controller

@Itaybre
Copy link
Owner

Itaybre commented Jan 10, 2022

I would need to see the data sent to the device to see if I can replicate it.

Do you mind extracting it with this software: https://freeusbanalyzer.com

@Itaybre
Copy link
Owner

Itaybre commented Jan 11, 2022

I just found that HDR is part of the UVC protocol, I will take a look.
But since I cannot test it, I can't promise anything.
I will need the output from USB Prober, see this small guide: #25 (comment)

@Itaybre Itaybre added the enhancement New feature or request label Jan 11, 2022
@juliussohn
Copy link
Author

Does this help?

CleanShot 2022-01-11 at 14 01 51@2x

Also here are the settings from the Windows Software
CleanShot 2022-01-11 at 13 42 58@2x

@Itaybre
Copy link
Owner

Itaybre commented Jan 11, 2022

Does this help?

CleanShot 2022-01-11 at 14 01 51@2x

Also here are the settings from the Windows Software

CleanShot 2022-01-11 at 13 42 58@2x

Yes, that work, but can you expand the "Controls Supported" in the VDC Input Terminal section?

@juliussohn
Copy link
Author

CleanShot 2022-01-11 at 15 14 22@2x

@Itaybre
Copy link
Owner

Itaybre commented Jan 19, 2022

I may have found some insight about how to control HDR and also FOV.

I will need help testing that, I couldn't find the camera at a reasonable price locally

@juliussohn
Copy link
Author

Sure, happy to test if you have a build!

@Itaybre
Copy link
Owner

Itaybre commented Jan 19, 2022

@juliussohn You should see a new section inside Advanced, for nor I just implemented setting HDR, please tell me if it works correctly

CameraControllerRazer.zip

@juliussohn
Copy link
Author

I cant see an HDR setting. Am I missing something?
CleanShot 2022-01-21 at 10 30 26@2x

@Itaybre
Copy link
Owner

Itaybre commented Jan 21, 2022

@juliussohn Seems like I used an incorrect value for productId and vendorId (to recognize the camera).
Do you mind sharing the values from USB Prober?
They should be at the top when selecting the camera

@juliussohn
Copy link
Author

CleanShot 2022-01-21 at 14 01 42@2x

@Itaybre
Copy link
Owner

Itaybre commented Jan 21, 2022

@juliussohn Lets try with this one
CameraController.zip

@juliussohn
Copy link
Author

Still nothing showing up

@Itaybre
Copy link
Owner

Itaybre commented Jan 22, 2022

@juliussohn found the issue, it should appear now
CameraController.zip

@juliussohn
Copy link
Author

@Itaybre The toggle is there, but it doesn't seem to change the HDR setting

@Corb3t
Copy link

Corb3t commented Jan 27, 2022

I can confirm that turning HDR on and off doesn't change anything. It's worth noting that the Kiyo Pro only supports HDR at 30 FPS - could this be why it isn't working correctly? Is there any way to manually adjust the cameras to 30 FPS within CameraConttoller?

Happy to do what I can to test this functionality.

@Itaybre
Copy link
Owner

Itaybre commented Jan 27, 2022

@Corbot5000 I didn't know about the 30FPS rule.
I would need recordings made with Wireshark, toggling the FPS up and down.
And probably more recordings of enabling and disabling HDR.

I don't have such camera to test it myself, and it isn't even sold locally

@Corb3t
Copy link

Corb3t commented Jan 27, 2022

@Itaybre I have wireshark installed and the window's camera app lets me toggle between "hdr pro" and "hdr off" when I take photos. If you could give me a little more guidance on how to analyze the Kiyo pro in Wireshark, I'd be happy to do it. I can be reached on Discord at Corbot8000#8015

@Corb3t
Copy link

Corb3t commented Jan 27, 2022

@Itaybre attached are two wireshark logs -

  1. KiyoProHDRProOn.pcapng - HDR Pro already turned on, a few photos taken, video recorded
  2. KiyoProHDROff.pcapng - Turned HDR Pro off, photos taken, video recorded, HDR Pro turned back on
  3. KiyoProHDRoffHDRonHDRoff - HDR Off, photos/video taken, HDR Pro turned on, photos/video taken, HDR turned off

https://drive.google.com/file/d/1b6Jehiyer1171aHhA1ePDN-09gIP-Iyk/view?usp=sharing
https://drive.google.com/file/d/1DYPw0M5ro02mZYs9sQxtt2U02bvmNhzO/view?usp=sharing

@Itaybre
Copy link
Owner

Itaybre commented Jan 27, 2022

@Corbot5000 can you do the recording as short as possible? Like just pressing the toggle in the app and wait a couple seconds doing nothing
seeing too many rows doesn't help me find the correct ones

@Corb3t
Copy link

Corb3t commented Jan 28, 2022

@Itaybre Here's the smallest recording I could do of HDR Pro being turned on and off.

https://drive.google.com/file/d/1jLbzS2a_tifFFbSZsh2uj9qDH58_bwqf/view?usp=sharing

@carlosnasillo
Copy link

Have a Razer Kiyo Pro myself (on Mac M1), and happy to help debug or provide test data as required.

@lupus2k
Copy link

lupus2k commented Feb 17, 2022

Razer Kiyo Pro and Mac M1 Max user here, let me know how can I help testing.

@authorfunction
Copy link

Hi, ordered a Razer Kiyo Pro recently and will be happy to help with testing as soon as it arrives.

@soyersoyer
Copy link

soyersoyer commented Mar 29, 2022

You can find some code to set the Kiyo Pro custom controls: https://github.com/soyersoyer/kiyoproctrls

@authorfunction
Copy link

authorfunction commented Mar 29, 2022

I tried the code @soyersoyer provided, but there's no /dev/video0 or any other obvious video devices in the /dev directory. The camera is on and working (I tried with it off as well). I am on Monterey (Apple Silicon).

Edit: I just realized that the code was written for Linux, so that explains it. Ignore the above.

@jaketame
Copy link

I have a Kiyo Pro now and would be happy to test

@mattheworiordan
Copy link

I would be happy to test too 👍

@m0nhawk
Copy link

m0nhawk commented Aug 30, 2022

I would be happy to test it and try to develop/debug it with some extra help on how to do this. 👍

I would definitely include FOV change into this.

@mk3rnb8
Copy link

mk3rnb8 commented Jan 4, 2023

Hi All, is there any progress? I'd love to use HDR with my MBP.

cheers,
M.

@chansearrington
Copy link

Joining in on this thread. I just got two Kiyo Pro Ultras and love them. But it's hard to adjust anything on my Mac. Thank god for this app and eCamm Live

@jaadth
Copy link

jaadth commented Mar 20, 2023

Am also willing to help, I have the camera and both MacOS and Linux environments I can help with for getting any info that would benefit.

@retpolanne
Copy link

Hey @Itaybre, would you mind sharing the HDR work on a branch so we can help? As @soyersoyer mentioned, there's this repo with some stuff for HDR and FoV that we can try to implement here

https://github.com/soyersoyer/kiyoproctrls/blob/main/kiyoproctrls.py

@Itaybre
Copy link
Owner

Itaybre commented Jun 14, 2023

Hey @Itaybre, would you mind sharing the HDR work on a branch so we can help? As @soyersoyer mentioned, there's this repo with some stuff for HDR and FoV that we can try to implement here

https://github.com/soyersoyer/kiyoproctrls/blob/main/kiyoproctrls.py

I changed computers several times since this, so I might have lost the code.
But seeing there is a project with this working, it should be much easier to implement. Will try making a build this week

@alexbochel
Copy link

I would love to second adding this feature. I am a bit rusty with xcode development but I will see if I can find a solution using the linux versions of this app.

@padurean
Copy link

Are there any news about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests