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

Dark Video Output on PS5 Camera #10

Open
BunnyTub opened this issue May 1, 2023 · 7 comments
Open

Dark Video Output on PS5 Camera #10

BunnyTub opened this issue May 1, 2023 · 7 comments

Comments

@BunnyTub
Copy link

BunnyTub commented May 1, 2023

I tried everything at this point.
The only time the output wasn't dark, I chose the AUTO exposure and turned it on.
However, it never saves my settings properly and goes dim again after I close OBS Studio.

Help?

@Lightbass
Copy link

firmware_discord_and_gamma_fix.zip
Try this firmware. I used hex editor for this.

@BunnyTub
Copy link
Author

Thank you so much!

@PavlikBender
Copy link

firmware_discord_and_gamma_fix.zip Try this firmware. I used hex editor for this.

OH MY GOD! It worked for my PS5 camera! It's was 2 years of pain! Thank you! Can you explain how did you fix firmware? I want to change default "Gain" value

Hackinside added a commit to Hackinside/PS5_camera_files that referenced this issue May 8, 2024
@n0806
Copy link

n0806 commented Jul 18, 2024

I did everything according to the instructions, connected it to usb3.0, but it still doesn't work

@brcd1
Copy link

brcd1 commented Aug 17, 2024

I did everything according to the instructions, connected it to usb3.0, but it still doesn't work

delete original "firmware.bin" and rename file "firmware_discord_and_gamma_fix.bin" to "firmware.bin". After all, run "OrbisEyeCameraFirmwareLoader".

@dkvcode
Copy link

dkvcode commented Aug 19, 2024

firmware_discord_and_gamma_fix.zip Try this firmware. I used hex editor for this.

OH MY GOD! It worked for my PS5 camera! It's was 2 years of pain! Thank you! Can you explain how did you fix firmware? I want to change default "Gain" value

I did some "research" by comparing the original firmware and the fixed one and found some additional useful UVC parameter offsets that could tweaked: Gain, Sharpness, Saturation, Contrast

Keep in mind that I didn't disassemble or decompile the firmware, didn't even try to reconstruct the structure, but just did a quick trial and error "research" at my own risk.

UVC parameters in the fixed firmware:
010403 - Autoexposure (04 original, 02 fixed)
010407 - I don't know what this is, I see no difference in the UVC parameters or in the image itself (04 original, 02 fixed)

Here are my findings:
0103BB - Gain (04 -> 00 to prevent overxposure)
01034F - Sharpness (04 -> 00 to prevent oversharping)
01032B - Saturation (04 -> 03 as I prefer more neutral image to compensate quite bad skin tones)
0102E3 - Contrast (04 -> 02 for better dynamic range)

You can use HxD or any other hex editor to tweak these. I guess it's quite possible to make the loader be able to apply these tweaks on a fly according to command line arguments, but I didn't look into the code yet. Maybe here is someone willing to do it :)

@PavlikBender
Copy link

PavlikBender commented Aug 19, 2024

You can use HxD or any other hex editor to tweak these. I guess it's quite possible to make the loader be able to apply these tweaks on a fly according to command line arguments, but I didn't look into the code yet. Maybe here is someone willing to do it :)

DAAMN! Thank you! I've took my time and wrote simple tweaker, that modifies parameters in firmware.bin https://github.com/PavlikBender/PS5CameraTweaker

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

6 participants