Add OBS webcam scene
This commit is contained in:
parent
b0f12cf081
commit
2fb155e8ed
292
configs/obs-studio/basic/scenes/Webcam_Controls.json
Normal file
292
configs/obs-studio/basic/scenes/Webcam_Controls.json
Normal file
@ -0,0 +1,292 @@
|
||||
{
|
||||
"DesktopAudioDevice1": {
|
||||
"prev_ver": 503382018,
|
||||
"name": "Desktop Audio",
|
||||
"uuid": "4c9dc885-c5d0-41a6-a372-c3c0bfcd42c3",
|
||||
"id": "pulse_output_capture",
|
||||
"versioned_id": "pulse_output_capture",
|
||||
"settings": {
|
||||
"device_id": "default"
|
||||
},
|
||||
"mixers": 255,
|
||||
"sync": 0,
|
||||
"flags": 0,
|
||||
"volume": 1.0,
|
||||
"balance": 0.5,
|
||||
"enabled": true,
|
||||
"muted": true,
|
||||
"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": 503382018,
|
||||
"name": "Mic/Aux",
|
||||
"uuid": "44a4150d-3145-4356-8a12-48dbecd6e16f",
|
||||
"id": "pulse_input_capture",
|
||||
"versioned_id": "pulse_input_capture",
|
||||
"settings": {
|
||||
"device_id": "default"
|
||||
},
|
||||
"mixers": 255,
|
||||
"sync": 0,
|
||||
"flags": 0,
|
||||
"volume": 1.0,
|
||||
"balance": 0.5,
|
||||
"enabled": true,
|
||||
"muted": true,
|
||||
"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": "Webcam",
|
||||
"current_program_scene": "Webcam",
|
||||
"scene_order": [
|
||||
{
|
||||
"name": "Webcam"
|
||||
},
|
||||
{
|
||||
"name": "Blank"
|
||||
}
|
||||
],
|
||||
"name": "Webcam Controls",
|
||||
"sources": [
|
||||
{
|
||||
"prev_ver": 503382018,
|
||||
"name": "GoPro Hero 3 Silver",
|
||||
"uuid": "8a1155d1-82a8-4565-b8ac-7149e06f67ef",
|
||||
"id": "v4l2_input",
|
||||
"versioned_id": "v4l2_input",
|
||||
"settings": {
|
||||
"device_id": "/dev/video0",
|
||||
"input": 0,
|
||||
"pixelformat": 861030210,
|
||||
"resolution": 8246337209400,
|
||||
"framerate": 30,
|
||||
"buffering": false
|
||||
},
|
||||
"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": {},
|
||||
"filters": [
|
||||
{
|
||||
"prev_ver": 503382018,
|
||||
"name": "Colour Correction",
|
||||
"uuid": "90a209f0-2ff9-43f7-a9b2-cf3937091980",
|
||||
"id": "color_filter",
|
||||
"versioned_id": "color_filter_v2",
|
||||
"settings": {
|
||||
"hue_shift": -9.8000000000000007
|
||||
},
|
||||
"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": 503382018,
|
||||
"name": "Webcam",
|
||||
"uuid": "b032a635-3946-413b-9866-86ceb0200903",
|
||||
"id": "scene",
|
||||
"versioned_id": "scene",
|
||||
"settings": {
|
||||
"custom_size": false,
|
||||
"id_counter": 1,
|
||||
"items": [
|
||||
{
|
||||
"name": "Gopro",
|
||||
"source_uuid": "8a1155d1-82a8-4565-b8ac-7149e06f67ef",
|
||||
"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": {}
|
||||
},
|
||||
{
|
||||
"prev_ver": 503382018,
|
||||
"name": "Blank",
|
||||
"uuid": "2a90f097-b30e-4a3b-83a4-5790eb739b21",
|
||||
"id": "scene",
|
||||
"versioned_id": "scene",
|
||||
"settings": {
|
||||
"id_counter": 0,
|
||||
"custom_size": false,
|
||||
"items": []
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
"deinterlace_mode": 0,
|
||||
"deinterlace_field_order": 0,
|
||||
"monitoring_type": 0,
|
||||
"private_settings": {}
|
||||
}
|
||||
],
|
||||
"groups": [],
|
||||
"quick_transitions": [
|
||||
{
|
||||
"name": "Cut",
|
||||
"duration": 300,
|
||||
"hotkeys": [],
|
||||
"id": 1,
|
||||
"fade_to_black": false
|
||||
},
|
||||
{
|
||||
"name": "Fade",
|
||||
"duration": 300,
|
||||
"hotkeys": [],
|
||||
"id": 2,
|
||||
"fade_to_black": false
|
||||
},
|
||||
{
|
||||
"name": "Fade",
|
||||
"duration": 300,
|
||||
"hotkeys": [],
|
||||
"id": 3,
|
||||
"fade_to_black": true
|
||||
}
|
||||
],
|
||||
"transitions": [],
|
||||
"saved_projectors": [],
|
||||
"current_transition": "Fade",
|
||||
"transition_duration": 300,
|
||||
"preview_locked": false,
|
||||
"scaling_enabled": false,
|
||||
"scaling_level": 0,
|
||||
"scaling_off_x": 0.0,
|
||||
"scaling_off_y": 0.0,
|
||||
"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": []
|
||||
}
|
||||
}
|
||||
}
|
@ -124,6 +124,15 @@ ln -nsf $EWCONFIG_ROOT/configs/memegen ~/.config/memegen
|
||||
# Tmux
|
||||
ln -sf $EWCONFIG_ROOT/configs/tmux/.tmux.conf ~/.tmux.conf
|
||||
|
||||
# OBS Studio
|
||||
if [ -d ~/.var/app/com.obsproject.Studio ]; then
|
||||
# NOTE: OBS Flatpak needs a hardlink to the config file
|
||||
ln $EWCONFIG_ROOT/configs/obs-studio/basic/scenes/Webcam_Controls.json ~/.var/app/com.obsproject.Studio/config/obs-studio/basic/scenes/Webcam_Controls.json
|
||||
fi
|
||||
if [ -d ~/.config/obs-studio ]; then
|
||||
ln -sf $EWCONFIG_ROOT/configs/obs-studio/basic/scenes/Webcam_Controls.json ~/.config/obs-studio/basic/scenes/Webcam_Controls.json
|
||||
fi
|
||||
|
||||
# -- Optional Configs --
|
||||
set +x
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user