Repository navigation
win-dshow: Save and restore video device configuration properties - #5480
Conversation
9287127 to
f54b56f
Compare
f54b56f to
088e532
Compare
|
Just my opinion, others can chime in: I think the settings should save automatically, so there shouldn't be a need for the checkbox. |
|
I know others have tried to implement something similar and ended up either reverting or disabling the capability because it was not saving correctly, or potentially corrupting data. I am OK with providing a checkbox to begin with to allow users to disable the functionality if it's not working as expected for them. |
|
I agree that this should just be automatic without a checkbox. Plenty of applications accomplish this without corruption or failure saving, I'd prefer we just tested this thoroughly and made it automatic. |
|
I think the seeking testers label needs to be added to this PR to allow users to test the change. |
088e532 to
1f3ceef
Compare
dbcb841 to
95b3512
Compare
|
Tested and confirmed working with C910, C920, C922, C295 |
|
@exeldro I own a C270. Anything specific you'd like me to try? |
|
@WizardCM set some custom camera settings, check if there are settings stored when OBS is closed in the scene collection json, in arrays called |
95b3512 to
f2f9571
Compare
|
Removed the extra setting, now it is always enabled |
f2f9571 to
9b862ac
Compare
9b862ac to
5473cdb
Compare
|
All changed to not make it a setting, but always save and restore |
|
Heads up, this PR has a merge conflict with a submodule. |
5473cdb to
034806e
Compare
|
is it possible for this feature to additionally re-activate the video once? so the full process for restoring would be:
This is due to some webcams (such as C920) having really low FPS on manual exposure -6 or below on the first load, but after the device is deactivated and reactivated once, the FPS works perfectly fine. As far as I understand the current system, this sort of fix wouldn't be able to be fully restored. now that I think about it, this should likely be a separate thing in the form of a checkbox "reactivate on first load" or such. |
034806e to
4071a50
Compare
|
Is there an updated version for OBS 27.2.1? When I updated OBS it removed the setting from my menu. |
|
The latest test version including OBS 27.2.1 changes can be downloaded here: |
I think OBS 27.2.1 had an issue that was crashing my computer that was fixed in 27.2.2, would it be possible to get a build with 27.2.3? I can test with OBSBOT Tiny's, Feiyu Pocket 2S and some other oddball webcams. |
4071a50 to
9a23998
Compare
|
The latest test version including OBS 27.2.3 changes can be downloaded here: |
9a23998 to
bda553f
Compare
|
Fixed conflicts. |
sebastian-s-beckmann
left a comment
There was a problem hiding this comment.
There are quite a few cases here where to me it looks like OBSDataAutoRelease or OBSDataArrayAutoRelease could be used instead of manually releasing, which could improve code readability. Could you check where those can be used (or is there a specific reason why they aren’t)?
(Since this PR is open for quite a bit I think the AutoSelect classes just didn’t exist on the main branch when it was created)
bda553f to
9ea51cc
Compare
sebastian-s-beckmann
left a comment
There was a problem hiding this comment.
AutoRelease wise this looks fine
50f832e to
3b64a20
Compare
3b64a20 to
a36b5be
Compare
|
Hello. |
|
1 year on and any word on recommitting this? |
Description
Save and restore webcam settings/ video device configuration properties
Requires obsproject/libdshowcapture#37
Inspired by Camooz
Motivation and Context
Some webcams don't save the settings and this allows you to have different webcam settings per scene collection
How Has This Been Tested?
On windows 64 bit
Types of changes
Checklist: