summaryrefslogtreecommitdiffstats
path: root/roles/obs
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-02 13:08:03 -0400
committerSacha Chua <sacha@sachachua.com>2022-11-02 13:08:03 -0400
commitc569e02d8ab5ebcbb5a44e10c14799fa097c9bc7 (patch)
tree05528005f12160fd505696cb5d89f22d30249f32 /roles/obs
parent4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (diff)
downloademacsconf-ansible-c569e02d8ab5ebcbb5a44e10c14799fa097c9bc7.tar.xz
emacsconf-ansible-c569e02d8ab5ebcbb5a44e10c14799fa097c9bc7.zip
OBS overlays, starting to get publish and edit on res
Diffstat (limited to 'roles/obs')
-rw-r--r--roles/obs/overlay.svg301
-rw-r--r--roles/obs/tasks/main.yml14
-rw-r--r--roles/obs/tasks/obs-setup.yml32
-rw-r--r--roles/obs/tasks/track.yml15
-rw-r--r--roles/obs/tasks/user.yml3
-rw-r--r--roles/obs/templates/mpv.conf2
-rw-r--r--roles/obs/templates/scenes.json77
7 files changed, 391 insertions, 53 deletions
diff --git a/roles/obs/overlay.svg b/roles/obs/overlay.svg
new file mode 100644
index 0000000..73a7e6f
--- /dev/null
+++ b/roles/obs/overlay.svg
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="1280"
+ height="720"
+ viewBox="0 0 338.66667 190.5"
+ version="1.1"
+ id="svg2360"
+ inkscape:version="1.2 (1:1.2.1+202207142221+cd75a1ee6d)"
+ sodipodi:docname="overlay.svg"
+ xml:space="preserve"
+ inkscape:export-filename="video.svg"
+ inkscape:export-xdpi="96"
+ inkscape:export-ydpi="96"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
+ id="defs2354" /><sodipodi:namedview
+ id="base"
+ pagecolor="#000000"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.62998576"
+ inkscape:cx="543.66308"
+ inkscape:cy="369.05596"
+ inkscape:document-units="in"
+ inkscape:current-layer="layer1"
+ inkscape:document-rotation="0"
+ showgrid="false"
+ units="in"
+ inkscape:window-width="1366"
+ inkscape:window-height="709"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:showpageshadow="0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1" /><metadata
+ id="metadata2357"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"><image
+ width="28.984987"
+ height="28.984987"
+ preserveAspectRatio="none"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAABGdBTUEAALGPC/xhBQAAAAFzUkdC
+AK7OHOkAAAMAUExURUxpcVhRpFhSpohOtnVRsZdMun1Qs1lVqZxMvHpQsoFPtJJNuWlTrVlUp3dQ
+sYRPtWZUrHNRsHFSr1tVqV5VqmJUq3tXtW5Rrm1SrlxSp1lSpW1SrGJTq2BRp29Tr2pQq4ViuVtS
+pVlRol1Spl5TqnJPrVlUqFxSp3ZPrmdSrFpTpnNRr2dPppaRxFxTqXtOr3BRrnJRr1pSpoFOsKFK
+vJNLtXFrtYllu15Qo3pPr4dMsqxKwMvI469Jwbat2HJRrqpKv3p1uurp85VLto6HxKtKv9vZ68rI
+44ZMsqxKv8vI5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YFphftluAGiC5xyPKZjabBAv0UrWhSDS6rTQJzr9ArvhMzb+8X4bqIZTnJVALviecfokD
+yvdbfuvR9x3t8beeBcNee4GKsNp3fmH7L4sWmIaMEFtJ+hj9XULqjrn1hq56bNHvAurCGlzkHRAs
+cA5Qn68U0bfawN0fUvGM/KAFqA9L1wITZ4FCCBxVL9BLXuLsCu7/+SSKh/KtQJ1Y5Rb8ZNaTqZYK
+yKNdihEv7AHTY5jq5bNvkb0BMQ96ciBTQ0/6g/J5Nrklb2qMYQRBBPwWoHLIJd4Cs8SA+PfTwj6y
+9qtapr+tNWSJBNOAI8iFAW9AvHaKeOcThYtsMq7Q15pYDDrAtOBiwyDKjnVnKNOcxEnnR/UwNGB1
+3U26wFRh9S4ls8PneAfpy86P22WY4TbldSWPzwqmj/WNxMAdrozy1jJGiPx8svzXdKrnMmH9Q67/
+lh8X6WYt79T30b9iHFp55neB6Wbt40aKe/3VKH2r1PJCntv4GbMEW6/4Kap6Q0xYe+e1e1ZkJ0tw
+cyUZNlG72+61gpnDQvoYGyguBsQJYxfz5meKke4jLWCmsbz0Bl/Z3ywxrK4GAqur8L83Qb+XnHXl
+GhoaGhoaGhoaauJ/z6sVgaPaB24AAAAASUVORK5CYII=
+"
+ id="image234"
+ x="2.9323115"
+ y="161.16402"
+ style="stroke-width:2.33685" /><text
+ xml:space="preserve"
+ style="font-size:5.64444px;line-height:70%;font-family:AbcCursiveDottedLined;-inkscape-font-specification:AbcCursiveDottedLined;text-decoration:none;text-decoration-line:none;text-decoration-color:#000000;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-rule:evenodd;stroke-width:2.8448;stop-color:#000000"
+ x="38.344975"
+ y="188.41483"
+ id="url"><tspan
+ sodipodi:role="line"
+ id="tspan398"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.64444px;font-family:sans-serif;-inkscape-font-specification:sans-serif;fill:#ffffff;stroke-width:2.8448"
+ x="38.344975"
+ y="188.41483">Initializing...</tspan></text><text
+ xml:space="preserve"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87778px;line-height:70%;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-decoration:none;text-decoration-line:none;text-decoration-color:#000000;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583;stroke-dasharray:none;stop-color:#000000"
+ x="2.535063"
+ y="10.061478"
+ id="news"><tspan
+ sodipodi:role="line"
+ id="tspan452"
+ style="font-size:9.87778px;fill:#ffffff;stroke:#000000;stroke-width:0.264583;stroke-dasharray:none"
+ x="2.535063"
+ y="10.061478">Initializing...</tspan></text><text
+ xml:space="preserve"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.05556px;line-height:70%;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-decoration:none;text-decoration-line:none;text-decoration-color:#000000;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:0.264583;stroke-dasharray:none;stop-color:#000000"
+ x="38.2995"
+ y="180.71815"
+ id="bottom"><tspan
+ sodipodi:role="line"
+ id="tspan452-6"
+ style="font-size:7.05556px;fill:#ffffff;stroke:none;stroke-width:0.264583;stroke-dasharray:none"
+ x="38.2995"
+ y="180.71815">Initializing...</tspan></text><rect
+ style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.264583;stroke-dasharray:none;stop-color:#000000"
+ id="rect1531"
+ width="309.6998"
+ height="174.09039"
+ x="33.69672"
+ y="-2.1396465" /></g></svg>
diff --git a/roles/obs/tasks/main.yml b/roles/obs/tasks/main.yml
index 36e14c3..bf856ec 100644
--- a/roles/obs/tasks/main.yml
+++ b/roles/obs/tasks/main.yml
@@ -1,5 +1,5 @@
- name: Load icecast vars
- tags: wip
+ tags: obs-profile, wip
include_vars:
file: ../../stream/defaults/main.yml
- name: Add repo
@@ -53,5 +53,13 @@
regexp: '(AllowUsers(?!.*\b{{ emacsconf_id }}-{{ item.id }}\b).*)$'
replace: \1 {{ emacsconf_id }}-{{ item.id }}
loop: "{{ emacsconf_tracks }}"
-
-
+- name: Allow sudo from {{ emacsconf_user }} to the stream users
+ tags: wip
+ become: true
+ become_user: root
+ copy:
+ content: |
+ {% for item in emacsconf_tracks %}
+ {{ emacsconf_user }} ALL=({{ emacsconf_id }}-{{ item.id }}) NOPASSWD: ALL
+ {% endfor %}
+ dest: /etc/sudoers.d/50_emacsconf
diff --git a/roles/obs/tasks/obs-setup.yml b/roles/obs/tasks/obs-setup.yml
index 1da678a..59170f1 100644
--- a/roles/obs/tasks/obs-setup.yml
+++ b/roles/obs/tasks/obs-setup.yml
@@ -6,13 +6,12 @@
state: directory
- name: Create profile directories
file:
- path: "~{{ emacsconf_user }}/.config/obs-studio/basic/{{ item.name }}"
+ path: "~{{ emacsconf_user }}/.config/obs-studio/basic/profiles/{{ item.name }}"
state: directory
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
mode: 0775
- name: Install OBS global profile
- tags: wip
template:
src: global.ini
owner: "{{ emacsconf_user }}"
@@ -23,7 +22,7 @@
src: profile.ini
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- dest: "~{{ emacsconf_user }}/.config/obs-studio/basic/{{ item.name }}/basic.ini"
+ dest: "~{{ emacsconf_user }}/.config/obs-studio/basic/profiles/{{ item.name }}/basic.ini"
mode: 0664
- name: Install OBS scenes
tags: obs-scene
@@ -32,17 +31,33 @@
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
dest: "~{{ emacsconf_user }}/.config/obs-studio/basic/scenes/{{ item.id }}.json"
+- name: Copy overlay template for video
+ tags: obs-scene
+ copy:
+ src: overlay.svg
+ dest: "~{{ emacsconf_user }}/video.svg"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+- name: Copy overlay template for video
+ tags: obs-scene
+ copy:
+ src: overlay.svg
+ dest: "~{{ emacsconf_user }}/other.svg"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
- name: Create text files for OBS sources
copy:
content: "Initializing..."
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- dest: "~{{ emacsconf_user }}/{{ item }}.txt"
+ dest: "~{{ emacsconf_user }}/{{ filename }}.txt"
mode: 0664
loop:
- news
- url
- bottom
+ loop_control:
+ loop_var: filename
- name: Create OBS scripts for tracks
template:
src: obs-track
@@ -50,4 +65,11 @@
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
mode: 0775
-
+- name: Fix permissions
+ become: true
+ become_user: root
+ file:
+ path: "~{{ emacsconf_user }}"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+ recurse: true
diff --git a/roles/obs/tasks/track.yml b/roles/obs/tasks/track.yml
index 93b789d..a0acf16 100644
--- a/roles/obs/tasks/track.yml
+++ b/roles/obs/tasks/track.yml
@@ -1,5 +1,5 @@
- name: Set vars
- tags: wip, obs-scene, mpv
+ tags: obs-scene, obs-profile, mpv, wip
set_fact:
old_emacsconf_user: "{{ emacsconf_user }}"
old_emacsconf_home: "{{ emacsconf_home }}"
@@ -10,7 +10,7 @@
- name: Set up user
include: user.yml
- name: Set up user-related things
- become: "{{ emacsconf_user }}"
+ become_user: "{{ emacsconf_user }}"
block:
- name: Set up track bins for addition to paths
file:
@@ -27,6 +27,7 @@
group: "{{ emacsconf_group }}"
state: directory
- name: Add MPV profile
+ tags: mpv-conf
template:
src: mpv.conf
dest: "~{{ emacsconf_user }}/.config/mpv/mpv.conf"
@@ -40,8 +41,12 @@
group: "{{ emacsconf_group }}"
mode: 0775
- name: Set up OBS profiles and scenes
- tags: obs-profile
- include: obs-setup.yml
+ tags: obs-profile, obs-scene
+ include_tasks:
+ file: obs-setup.yml
+ apply:
+ tags:
+ - obs-profile
- name: Add FFMPEG script for streaming
template:
src: stream-desktop-with-ffmpeg.sh
@@ -75,7 +80,7 @@
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- name: Reset vars
- tags: wip, obs-scene, mpv
+ tags: obs-scene, obs-profile, mpv, wip
set_fact:
old_emacsconf_user: "{{ emacsconf_user }}"
old_emacsconf_home: "{{ emacsconf_home }}"
diff --git a/roles/obs/tasks/user.yml b/roles/obs/tasks/user.yml
index a941d7f..caaf2d9 100644
--- a/roles/obs/tasks/user.yml
+++ b/roles/obs/tasks/user.yml
@@ -2,7 +2,6 @@
group:
name: "{{ emacsconf_group }}"
- name: Add user
- tags: wip
user:
name: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
@@ -15,10 +14,10 @@
state: directory
mode: 700
- name: Set up SSH key access
+ tags: wip
template:
src: authorized_keys
dest: "/home/{{ emacsconf_user }}/.ssh/authorized_keys"
- force: no
- name: Change ownership of SSH directory
file:
path: "/home/{{ emacsconf_user }}/.ssh"
diff --git a/roles/obs/templates/mpv.conf b/roles/obs/templates/mpv.conf
index 9aff3ee..b1bd1ca 100644
--- a/roles/obs/templates/mpv.conf
+++ b/roles/obs/templates/mpv.conf
@@ -15,7 +15,7 @@ sub-use-margins=yes
sub-scale-by-window=yes
sub-pos=103
sub-margin-x=120
-sub-margin-y=40
+sub-margin-y=20
sub-align-x=left
# Style
sub-font="{{ emacsconf_font }}"
diff --git a/roles/obs/templates/scenes.json b/roles/obs/templates/scenes.json
index 4e6e4bd..a92f29e 100644
--- a/roles/obs/templates/scenes.json
+++ b/roles/obs/templates/scenes.json
@@ -1,6 +1,6 @@
{
- "current_program_scene": "All track audio and screen",
- "current_scene": "All track audio and screen",
+ "current_program_scene": "Video audio and screen",
+ "current_scene": "Video audio and screen",
"current_transition": "Fade",
"groups": [
{
@@ -30,8 +30,8 @@
"push-to-talk-delay": 0,
"settings": {
"custom_size": true,
- "cx": 103,
- "cy": 507,
+ "cx": 494,
+ "cy": 715,
"id_counter": 0,
"items": [
{
@@ -56,11 +56,11 @@
"locked": false,
"name": "News",
"pos": {
- "x": 22,
- "y": 390
+ "x": 12,
+ "y": 0
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -93,11 +93,11 @@
"locked": false,
"name": "URL",
"pos": {
- "x": 55,
- "y": 389
+ "x": 114,
+ "y": 691
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -131,7 +131,7 @@
"name": "Logo",
"pos": {
"x": 0,
- "y": 404
+ "y": 603
},
"private_settings": {},
"rot": 0,
@@ -236,6 +236,8 @@
"push-to-talk": false,
"push-to-talk-delay": 0,
"settings": {
+ "color2": 4294967295,
+ "drop_shadow": false,
"font": {
"face": "Sans Serif",
"flags": 0,
@@ -243,6 +245,7 @@
"style": ""
},
"from_file": true,
+ "outline": true,
"text_file": "/home/{{ emacsconf_id }}-{{ item.id }}/news.txt"
},
"sync": 0,
@@ -271,7 +274,7 @@
"font": {
"face": "Sans Serif",
"flags": 0,
- "size": 24,
+ "size": 20,
"style": ""
},
"from_file": true,
@@ -346,14 +349,14 @@
"OBSBasic.SelectScene": [],
"libobs.hide_scene_item.Bottom": [],
"libobs.hide_scene_item.Screen Capture (XSHM)": [],
- "libobs.hide_scene_item.dev-qa": [],
- "libobs.hide_scene_item.dev-vid": [],
"libobs.hide_scene_item.emacsconf base": [],
+ "libobs.hide_scene_item.gen-qa": [],
+ "libobs.hide_scene_item.gen-vid": [],
"libobs.show_scene_item.Bottom": [],
"libobs.show_scene_item.Screen Capture (XSHM)": [],
- "libobs.show_scene_item.dev-qa": [],
- "libobs.show_scene_item.dev-vid": [],
- "libobs.show_scene_item.emacsconf base": []
+ "libobs.show_scene_item.emacsconf base": [],
+ "libobs.show_scene_item.gen-qa": [],
+ "libobs.show_scene_item.gen-vid": []
},
"id": "scene",
"mixers": 0,
@@ -503,11 +506,11 @@
"locked": false,
"name": "News",
"pos": {
- "x": 31,
- "y": 595
+ "x": 21,
+ "y": 6
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -540,11 +543,11 @@
"locked": false,
"name": "URL",
"pos": {
- "x": 64,
- "y": 594
+ "x": 123,
+ "y": 697
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -615,7 +618,7 @@
"name": "{{ emacsconf_id }} base",
"pos": {
"x": 9,
- "y": 205
+ "y": 6
},
"private_settings": {},
"rot": 0,
@@ -734,11 +737,11 @@
"hotkeys": {
"OBSBasic.SelectScene": [],
"libobs.hide_scene_item.Screen Capture (XSHM)": [],
- "libobs.hide_scene_item.dev-vid": [],
"libobs.hide_scene_item.emacsconf base": [],
+ "libobs.hide_scene_item.gen-vid": [],
"libobs.show_scene_item.Screen Capture (XSHM)": [],
- "libobs.show_scene_item.dev-vid": [],
- "libobs.show_scene_item.emacsconf base": []
+ "libobs.show_scene_item.emacsconf base": [],
+ "libobs.show_scene_item.gen-vid": []
},
"id": "scene",
"mixers": 0,
@@ -851,11 +854,11 @@
"locked": false,
"name": "News",
"pos": {
- "x": 31,
- "y": 580
+ "x": 12,
+ "y": 0
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -888,11 +891,11 @@
"locked": false,
"name": "URL",
"pos": {
- "x": 64,
- "y": 579
+ "x": 114,
+ "y": 691
},
"private_settings": {},
- "rot": -90,
+ "rot": 0,
"scale": {
"x": 1,
"y": 1
@@ -925,8 +928,8 @@
"locked": false,
"name": "Logo",
"pos": {
- "x": 9,
- "y": 594
+ "x": 0,
+ "y": 603
},
"private_settings": {},
"rot": 0,
@@ -962,8 +965,8 @@
"locked": false,
"name": "{{ emacsconf_id }} base",
"pos": {
- "x": 9,
- "y": 190
+ "x": 0,
+ "y": 0
},
"private_settings": {},
"rot": 0,