diff --git a/.config/obs/ReplayBuffer.json b/.config/obs/ReplayBuffer.json deleted file mode 100644 index 0b80a27..0000000 --- a/.config/obs/ReplayBuffer.json +++ /dev/null @@ -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": {} - } - ] -} \ No newline at end of file diff --git a/.config/obs/ReplayBuffer/basic.ini b/.config/obs/basic/profiles/ReplayBuffer/basic.ini similarity index 91% rename from .config/obs/ReplayBuffer/basic.ini rename to .config/obs/basic/profiles/ReplayBuffer/basic.ini index 6e5e2dd..a7b8485 100644 --- a/.config/obs/ReplayBuffer/basic.ini +++ b/.config/obs/basic/profiles/ReplayBuffer/basic.ini @@ -2,7 +2,7 @@ Name=ReplayBuffer [Output] -Mode=Advanced +Mode=Simple FilenameFormatting=%CCYY-%MM-%DD %hh-%mm-%ss DelayEnable=false DelaySec=20 @@ -23,22 +23,22 @@ MultitrackVideoMaximumVideoTracksAuto=true [SimpleOutput] FilePath=C:\\Users\\anri\\Videos -RecFormat2=mkv +RecFormat2=hybrid_mp4 VBitrate=2500 ABitrate=160 UseAdvanced=false Preset=veryfast NVENCPreset2=p5 -RecQuality=Stream -RecRB=false -RecRBTime=20 -RecRBSize=512 +RecQuality=Small +RecRB=true +RecRBTime=240 +RecRBSize=510 RecRBPrefix=Replay StreamAudioEncoder=aac RecAudioEncoder=aac -RecTracks=1 +RecTracks=7 StreamEncoder=nvenc -RecEncoder=nvenc +RecEncoder=x264_lowcpu [AdvOut] ApplyServiceSettings=true @@ -85,15 +85,14 @@ FFAEncoder= Track1Name=System sounds and microphone Track2Name=System sounds Track3Name=Microphone -FFExtension=mp4 [Video] BaseCX=1920 BaseCY=1080 -OutputCX=1280 -OutputCY=720 +OutputCX=1920 +OutputCY=1080 FPSType=0 -FPSCommon=30 +FPSCommon=60 FPSInt=30 FPSNum=30 FPSDen=1 diff --git a/.config/obs/ReplayBuffer/streamEncoder.json b/.config/obs/basic/profiles/ReplayBuffer/streamEncoder.json similarity index 100% rename from .config/obs/ReplayBuffer/streamEncoder.json rename to .config/obs/basic/profiles/ReplayBuffer/streamEncoder.json diff --git a/.config/obs/basic/scenes/ReplayBuffer.json b/.config/obs/basic/scenes/ReplayBuffer.json new file mode 100644 index 0000000..48c5015 --- /dev/null +++ b/.config/obs/basic/scenes/ReplayBuffer.json @@ -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}} \ No newline at end of file diff --git a/.config/obs/global.ini b/.config/obs/global.ini new file mode 100644 index 0000000..8929d3b --- /dev/null +++ b/.config/obs/global.ini @@ -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 diff --git a/windows11.bat b/windows11.bat index 7d685f1..1a63be0 100644 --- a/windows11.bat +++ b/windows11.bat @@ -372,7 +372,7 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/ReplayBuffer.json SCHTASKS /Create /TN "OBS Shadowplay" ^ /TR "'%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" ^ - /SC ONSTART ^ + /SC ONLOGON ^ /RU "%USERNAME%" ^ /RL HIGHEST ^ /F