fix issues for obs

This commit is contained in:
Mylloon 2024-08-20 18:01:27 +02:00
parent 62d2fc1e2b
commit ee526e0d01
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
6 changed files with 93 additions and 248 deletions

View file

@ -1,235 +0,0 @@
{
"DesktopAudioDevice1": {
"prev_ver": 503447555,
"name": "Audio du bureau",
"uuid": "bd19a8ef-aee4-4725-92b0-8a1d2ab917a1",
"id": "wasapi_output_capture",
"versioned_id": "wasapi_output_capture",
"settings": {
"device_id": "default"
},
"mixers": 251,
"sync": 0,
"flags": 0,
"volume": 1.0,
"balance": 0.5,
"enabled": true,
"muted": false,
"push-to-mute": false,
"push-to-mute-delay": 0,
"push-to-talk": false,
"push-to-talk-delay": 0,
"hotkeys": {
"libobs.mute": [],
"libobs.unmute": [],
"libobs.push-to-mute": [],
"libobs.push-to-talk": []
},
"deinterlace_mode": 0,
"deinterlace_field_order": 0,
"monitoring_type": 0,
"private_settings": {}
},
"AuxAudioDevice1": {
"prev_ver": 503447555,
"name": "Mic/Aux",
"uuid": "b72a6bee-252d-4ab5-833e-46bbc4864f76",
"id": "wasapi_input_capture",
"versioned_id": "wasapi_input_capture",
"settings": {
"device_id": "default"
},
"mixers": 253,
"sync": 0,
"flags": 2,
"volume": 1.4125375747680664,
"balance": 0.5,
"enabled": true,
"muted": false,
"push-to-mute": false,
"push-to-mute-delay": 0,
"push-to-talk": false,
"push-to-talk-delay": 0,
"hotkeys": {
"libobs.mute": [],
"libobs.unmute": [],
"libobs.push-to-mute": [],
"libobs.push-to-talk": []
},
"deinterlace_mode": 0,
"deinterlace_field_order": 0,
"monitoring_type": 0,
"private_settings": {}
},
"current_scene": "Scène",
"current_program_scene": "Scène",
"scene_order": [
{
"name": "Scène"
}
],
"name": "ReplayBuffer",
"groups": [],
"quick_transitions": [
{
"name": "Coupure",
"duration": 300,
"hotkeys": [],
"id": 1,
"fade_to_black": false
},
{
"name": "Fondu",
"duration": 300,
"hotkeys": [],
"id": 2,
"fade_to_black": false
},
{
"name": "Fondu",
"duration": 300,
"hotkeys": [],
"id": 3,
"fade_to_black": true
}
],
"transitions": [],
"saved_projectors": [],
"current_transition": "Fondu",
"transition_duration": 300,
"preview_locked": false,
"scaling_enabled": false,
"scaling_level": 0,
"scaling_off_x": 0.0,
"scaling_off_y": 0.0,
"virtual-camera": {
"type2": 3
},
"modules": {
"scripts-tool": [],
"output-timer": {
"streamTimerHours": 0,
"streamTimerMinutes": 0,
"streamTimerSeconds": 30,
"recordTimerHours": 0,
"recordTimerMinutes": 0,
"recordTimerSeconds": 30,
"autoStartStreamTimer": false,
"autoStartRecordTimer": false,
"pauseRecordTimer": true
},
"auto-scene-switcher": {
"interval": 300,
"non_matching_scene": "",
"switch_if_not_matching": false,
"active": false,
"switches": []
},
"captions": {
"source": "",
"enabled": false,
"lang_id": 1036,
"provider": "mssapi"
}
},
"sources": [
{
"prev_ver": 503447555,
"name": "Capture d'écran",
"uuid": "62ecad8b-28d0-48f4-a0ef-b6952f9c1de7",
"id": "monitor_capture",
"versioned_id": "monitor_capture",
"settings": {
"monitor_id": "\\\\?\\DISPLAY#AOC2590#5&243f34f&2&UID155906#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}"
},
"mixers": 0,
"sync": 0,
"flags": 0,
"volume": 1.0,
"balance": 0.5,
"enabled": true,
"muted": false,
"push-to-mute": false,
"push-to-mute-delay": 0,
"push-to-talk": false,
"push-to-talk-delay": 0,
"hotkeys": {},
"deinterlace_mode": 0,
"deinterlace_field_order": 0,
"monitoring_type": 0,
"private_settings": {}
},
{
"prev_ver": 503447555,
"name": "Scène",
"uuid": "0b53bf55-6a71-4b86-960a-f2df1c2e0c3d",
"id": "scene",
"versioned_id": "scene",
"settings": {
"id_counter": 1,
"custom_size": false,
"items": [
{
"name": "Capture d'écran",
"source_uuid": "62ecad8b-28d0-48f4-a0ef-b6952f9c1de7",
"visible": true,
"locked": false,
"rot": 0.0,
"pos": {
"x": 0.0,
"y": 0.0
},
"scale": {
"x": 1.0,
"y": 1.0
},
"align": 5,
"bounds_type": 0,
"bounds_align": 0,
"bounds_crop": false,
"bounds": {
"x": 0.0,
"y": 0.0
},
"crop_left": 0,
"crop_top": 0,
"crop_right": 0,
"crop_bottom": 0,
"id": 1,
"group_item_backup": false,
"scale_filter": "disable",
"blend_method": "default",
"blend_type": "normal",
"show_transition": {
"duration": 0
},
"hide_transition": {
"duration": 0
},
"private_settings": {}
}
]
},
"mixers": 0,
"sync": 0,
"flags": 0,
"volume": 1.0,
"balance": 0.5,
"enabled": true,
"muted": false,
"push-to-mute": false,
"push-to-mute-delay": 0,
"push-to-talk": false,
"push-to-talk-delay": 0,
"hotkeys": {
"OBSBasic.SelectScene": [],
"libobs.show_scene_item.1": [],
"libobs.hide_scene_item.1": []
},
"deinterlace_mode": 0,
"deinterlace_field_order": 0,
"monitoring_type": 0,
"private_settings": {}
}
]
}

View file

@ -2,7 +2,7 @@
Name=ReplayBuffer Name=ReplayBuffer
[Output] [Output]
Mode=Advanced Mode=Simple
FilenameFormatting=%CCYY-%MM-%DD %hh-%mm-%ss FilenameFormatting=%CCYY-%MM-%DD %hh-%mm-%ss
DelayEnable=false DelayEnable=false
DelaySec=20 DelaySec=20
@ -23,22 +23,22 @@ MultitrackVideoMaximumVideoTracksAuto=true
[SimpleOutput] [SimpleOutput]
FilePath=C:\\Users\\anri\\Videos FilePath=C:\\Users\\anri\\Videos
RecFormat2=mkv RecFormat2=hybrid_mp4
VBitrate=2500 VBitrate=2500
ABitrate=160 ABitrate=160
UseAdvanced=false UseAdvanced=false
Preset=veryfast Preset=veryfast
NVENCPreset2=p5 NVENCPreset2=p5
RecQuality=Stream RecQuality=Small
RecRB=false RecRB=true
RecRBTime=20 RecRBTime=240
RecRBSize=512 RecRBSize=510
RecRBPrefix=Replay RecRBPrefix=Replay
StreamAudioEncoder=aac StreamAudioEncoder=aac
RecAudioEncoder=aac RecAudioEncoder=aac
RecTracks=1 RecTracks=7
StreamEncoder=nvenc StreamEncoder=nvenc
RecEncoder=nvenc RecEncoder=x264_lowcpu
[AdvOut] [AdvOut]
ApplyServiceSettings=true ApplyServiceSettings=true
@ -85,15 +85,14 @@ FFAEncoder=
Track1Name=System sounds and microphone Track1Name=System sounds and microphone
Track2Name=System sounds Track2Name=System sounds
Track3Name=Microphone Track3Name=Microphone
FFExtension=mp4
[Video] [Video]
BaseCX=1920 BaseCX=1920
BaseCY=1080 BaseCY=1080
OutputCX=1280 OutputCX=1920
OutputCY=720 OutputCY=1080
FPSType=0 FPSType=0
FPSCommon=30 FPSCommon=60
FPSInt=30 FPSInt=30
FPSNum=30 FPSNum=30
FPSDen=1 FPSDen=1

View file

@ -0,0 +1 @@
{"DesktopAudioDevice1":{"prev_ver":503447555,"name":"Audio du bureau","uuid":"bd19a8ef-aee4-4725-92b0-8a1d2ab917a1","id":"wasapi_output_capture","versioned_id":"wasapi_output_capture","settings":{"device_id":"default"},"mixers":251,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"AuxAudioDevice1":{"prev_ver":503447555,"name":"Mic/Aux","uuid":"b72a6bee-252d-4ab5-833e-46bbc4864f76","id":"wasapi_input_capture","versioned_id":"wasapi_input_capture","settings":{"device_id":"default"},"mixers":253,"sync":0,"flags":2,"volume":1.4125375747680664,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"current_scene":"Scène","current_program_scene":"Scène","scene_order":[{"name":"Scène"}],"name":"ReplayBuffer","sources":[{"prev_ver":503447555,"name":"Capture d'écran","uuid":"62ecad8b-28d0-48f4-a0ef-b6952f9c1de7","id":"monitor_capture","versioned_id":"monitor_capture","settings":{"monitor_id":"\\\\?\\DISPLAY#AOC2590#5&243f34f&2&UID155906#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}"},"mixers":0,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},{"prev_ver":503447555,"name":"Scène","uuid":"0b53bf55-6a71-4b86-960a-f2df1c2e0c3d","id":"scene","versioned_id":"scene","settings":{"id_counter":1,"custom_size":false,"items":[{"name":"Capture d'écran","source_uuid":"62ecad8b-28d0-48f4-a0ef-b6952f9c1de7","visible":true,"locked":false,"rot":0.0,"pos":{"x":0.0,"y":0.0},"scale":{"x":1.0,"y":1.0},"align":5,"bounds_type":0,"bounds_align":0,"bounds_crop":false,"bounds":{"x":0.0,"y":0.0},"crop_left":0,"crop_top":0,"crop_right":0,"crop_bottom":0,"id":1,"group_item_backup":false,"scale_filter":"disable","blend_method":"default","blend_type":"normal","show_transition":{"duration":0},"hide_transition":{"duration":0},"private_settings":{}}]},"mixers":0,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"OBSBasic.SelectScene":[],"libobs.show_scene_item.1":[],"libobs.hide_scene_item.1":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}}],"groups":[],"quick_transitions":[{"name":"Coupure","duration":300,"hotkeys":[],"id":1,"fade_to_black":false},{"name":"Fondu","duration":300,"hotkeys":[],"id":2,"fade_to_black":false},{"name":"Fondu","duration":300,"hotkeys":[],"id":3,"fade_to_black":true}],"transitions":[],"saved_projectors":[],"current_transition":"Fondu","transition_duration":300,"preview_locked":false,"scaling_enabled":false,"scaling_level":0,"scaling_off_x":0.0,"scaling_off_y":0.0,"virtual-camera":{"type2":3},"modules":{"scripts-tool":[],"output-timer":{"streamTimerHours":0,"streamTimerMinutes":0,"streamTimerSeconds":30,"recordTimerHours":0,"recordTimerMinutes":0,"recordTimerSeconds":30,"autoStartStreamTimer":false,"autoStartRecordTimer":false,"pauseRecordTimer":true},"auto-scene-switcher":{"interval":300,"non_matching_scene":"","switch_if_not_matching":false,"active":false,"switches":[]},"captions":{"source":"","enabled":false,"lang_id":1036,"provider":"mssapi"}},"resolution":{"x":1920,"y":1080}}

80
.config/obs/global.ini Normal file
View file

@ -0,0 +1,80 @@
[Basic]
Profile=ReplayBuffer
ProfileDir=ReplayBuffer
SceneCollection=ReplayBuffer
SceneCollectionFile=ReplayBuffer
ConfigOnNewProfile=true
[General]
Pre19Defaults=false
Pre21Defaults=false
Pre23Defaults=false
Pre24.1Defaults=false
MaxLogs=10
InfoIncrement=1
ProcessPriority=Normal
EnableAutoUpdates=true
ConfirmOnExit=true
HotkeyFocusType=NeverDisableHotkeys
BrowserHWAccel=true
YtDockCleanupDone=true
FirstRun=true
LastUpdateCheck=0
InstallGUID=6332cc11f2640987444d0c81170e44597dcff286
InfoLastVersion=32993938964480
LastVersion=503447555
[Video]
Renderer=Direct3D 11
[BasicWindow]
PreviewEnabled=true
PreviewProgramMode=false
SceneDuplicationMode=true
SwapScenesMode=true
SnappingEnabled=true
ScreenSnapping=true
SourceSnapping=true
CenterSnapping=false
SnapDistance=10
SpacingHelpersEnabled=true
RecordWhenStreaming=false
KeepRecordingWhenStreamStops=false
SysTrayEnabled=true
SysTrayWhenStarted=false
SaveProjectors=false
ShowTransitions=true
ShowListboxToolbars=true
ShowStatusBar=true
ShowSourceIcons=true
ShowContextToolbars=true
StudioModeLabels=true
VerticalVolControl=false
MultiviewMouseSwitch=true
MultiviewDrawNames=true
MultiviewDrawAreas=true
MediaControlsCountdownTimer=true
geometry=AdnQywADAAAAAAGhAAAAeAAABUoAAAPGAAABoQAAAJcAAAVKAAADxgAAAAAAAAAAB4AAAAGhAAAAlwAABUoAAAPG
DockState=AAAA/wAAAAD9AAAAAQAAAAMAAAOqAAABIPwBAAAABvsAAAAUAHMAYwBlAG4AZQBzAEQAbwBjAGsBAAAAAAAAAJgAAACYAP////sAAAAWAHMAbwB1AHIAYwBlAHMARABvAGMAawEAAACcAAAAmAAAAJgA////+wAAABIAbQBpAHgAZQByAEQAbwBjAGsBAAABOAAAAN4AAADeAP////sAAAAeAHQAcgBhAG4AcwBpAHQAaQBvAG4AcwBEAG8AYwBrAQAAAhoAAACQAAAAkAD////7AAAAGABjAG8AbgB0AHIAbwBsAHMARABvAGMAawEAAAKuAAAA/AAAAPwA////+wAAABIAcwB0AGEAdABzAEQAbwBjAGsCAAACYgAAAdcAAAK8AAAAyAAAA6oAAAHSAAAABAAAAAQAAAAIAAAACPwAAAAA
ExtraBrowserDocks=[]
AlwaysOnTop=false
EditPropertiesMode=false
DocksLocked=false
SideDocks=false
[Audio]
DisableAudioDucking=true
[ScriptLogWindow]
geometry=AdnQywADAAAAAAABAAAAIAAAAlgAAAGvAAAAAQAAACAAAAJYAAABrwAAAAAAAAAAB4AAAAABAAAAIAAAAlgAAAGv
[Accessibility]
SelectRed=255
SelectGreen=65280
SelectBlue=16744192
MixerGreen=2522918
MixerYellow=2523007
MixerRed=2500223
MixerGreenActive=5046092
MixerYellowActive=5046271
MixerRedActive=5000447

View file

@ -372,7 +372,7 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/ReplayBuffer.json
SCHTASKS /Create /TN "OBS Shadowplay" ^ SCHTASKS /Create /TN "OBS Shadowplay" ^
/TR "'%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" ^ /TR "'%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" ^
/SC ONSTART ^ /SC ONLOGON ^
/RU "%USERNAME%" ^ /RU "%USERNAME%" ^
/RL HIGHEST ^ /RL HIGHEST ^
/F /F