ferrotriple.blogg.se

How to set up hotkeys in obs
How to set up hotkeys in obs





how to set up hotkeys in obs
  1. #How to set up hotkeys in obs how to#
  2. #How to set up hotkeys in obs mp4#
  3. #How to set up hotkeys in obs update#

You can now resize the source and move it around. Simply press the hotkey combination you just chose, and the last 10 seconds will play in the media source. While I won’t go through a lot of detail here, just know that you can set up things like Command ()-B to start (begin) recording, Command ()-F to end (finish) recording, Command ()-1 to bring up the Preshow Roll scene, Command ()-2 to bring up the LiveStream scene, and so on. Now your Instant Replay feature is ready. Hotkeys are set up in the OBS Settings window, Hotkeys pane (see image above). There will be a new hotkey, called "Instant Replay".įor this guide, we'll set the hotkey to Ctrl+Shift+R.ĩ. Open up the OBS Studio settings again and go to the Hotkeys section. If the media source is not appearing, click on the refresh icon to the left.Ĩ. From the Media Source drop down menu, select the media source you just added to the scene. At the top of OBS Studio, click on tools, then scripts and select “a”ħ. In general, the default options are sufficient for most applications and you should not change them unless you know why you need to, and understand what they mean. There are several other options, and we’ll give a short description of them. Add a new media source to the current scene, we'll call it "Instant Replay" for this guide, and select the Replay buffer file.īy default it will be located in the “Videos” folder and the file name will start with Replay.Ħ. The hotkey can be set under Settings -> Hotkeys once the Game Capture source is added to your scene. Now, close the settings page and start the replay buffer by clicking on "Start Replay Buffer" towards the bottom right of OBS Studio.ĥ. Using this hotkey you can still save replays normally, even with Instant Replays setup.Ĥ. In the Hotkey settings, set a hotkey for saving the replay buffer. In the general settings, check the box to Automatically start replay buffer when streaming.ģ. Note: Longer replay buffers require more memory. Open the OBS Studio settings, go to output, and check the box "Enable Replay Buffer"

#How to set up hotkeys in obs how to#

This guide will go over how to setup an instant replays It can be setup in the same scene as your gameplay or main video, or even configured to be used in a separate scene for cool instant replay scene transitions.ġ. This has enabled a very cool feature: Instant Replays.

#How to set up hotkeys in obs update#

That's it, hopefully now when pressing the hotkey you'll see your Window Capture source update immediately.Thanks to the hard work of volunteers on OBS Studio, it now includes the powerful functionality of scripting. Once that's added, go to File -> Settings -> Hotkeys and look for Set Window Capture to foreground and bind this to the hotkey of your choice. source_list_release ( sources ) table.sort ( source_names, function ( a, b ) return string.lower ( a ) Scripts, and select a Window Capture source, I named mine Window Capture (hotkey) to make it obvious. obs_source_get_name ( source )) end end end obs. OBS_SOURCE_DO_NOT_DUPLICATE ) then table.insert ( source_names, obs. OBS_SOURCE_DO_NOT_SELF_MONITOR ) = 0 and capability_flags ~= bit. obs_source_get_output_flags ( source ) if bit. obs_enum_sources () local source_names = if sources then for _, source in ipairs ( sources ) do - exclude Desktop Audio and Mic/Aux by their capabilities local capability_flags = obs. string ( ws ) end - get a list of source names, sorted alphabetically local function get_source_names () local sources = obs. GetClassNameA ( hwnd, ws, 64 ) return ffi. GetForegroundWindow (), 3 ) local ws = ffi. string ( ws ) end local function get_active_window_class () local hwnd = ffi. GetWindowTextA ( hwnd, ws, sz + 1 ) return ffi.

#How to set up hotkeys in obs mp4#

For now, this is all you need to change, unless you would like to set up hotkeys (Settings > Hotkeys, then click the appropriate field and press the key(s) you would like to assign) or have OBS automatically convert your videos to MP4 (Settings > Advanced > Automatically remux to mp4). GetWindowTextLengthA ( hwnd ) local ws = ffi. I will mention how to set up the replay buffer later. GetForegroundWindow (), 3 ) local sz = ffi. ]] local function get_active_window_title () local hwnd = ffi.

how to set up hotkeys in obs

Int GetClassNameA(void* hwnd, char* str, int count) Int GetWindowTextA(void* hwnd, char* str, int count) Void* GetAncestor(void *hwnd, unsigned int flags) ]] - local obs = obslua local bit = require ( 'bit' ) local ffi = require ( 'ffi' ) - name of source to modify local source_name = '' - scene item to be adjusted local scene_item = nil - the hotkey assigned to window_capture_foreground in OBS's hotkey config local hotkey_id = obs. Allows using a hotkey to change capture window for Window Capture







How to set up hotkeys in obs