From 4d1100b931a0d921883a66f857fd89999fb63a3e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 19 Nov 2022 10:59:37 -0500 Subject: prepare for dry run --- README.org | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 48403c5..2394f54 100644 --- a/README.org +++ b/README.org @@ -189,21 +189,10 @@ ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_ Use a test pattern (don't know if this works) ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_track=dev -e icecast_test=pattern -* Captioning - -Set up whisper: - -ansible-playbook -i inventory.yml prod-playbook.yml --tags caption - -Update caption script: - -ansible-playbook -i inventory.yml prod-playbook.yml --tags process-captions +* OBS -ffmpeg -y -i handwritten/reencode.webm -t 60 -vcodec copy -acodec copy test.webm -* Other useful things +ansible-playbook -i inventory.yml prod-playbook.yml --tags obs -nodemon -w . -e yml -x 'ansible-playbook -i inventory.yml prod-playbook.yml --tags vnc; true' -* OBS Resizing VNC after connection xrandr -s 1280x720 @@ -215,6 +204,19 @@ Update scenes from the gen copy: ssh emacsconf-gen@res.emacsconf.org -p 46668 "cat ~/.config/obs-studio/basic/scenes/gen.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_id }}") | gsub("gen"; "{{ item.id }}") else . end)' > roles/obs/templates/scenes.json ansible-playbook -i inventory.yml prod-playbook.yml --tags obs-scene - Update scenes from the dev copy: ssh emacsconf-dev@res.emacsconf.org "cat ~/.config/obs-studio/basic/scenes/dev.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_id }}") | gsub("dev"; "{{ item.id }}") else . end)' > scenes.json +* Captioning + +Set up whisper: + +ansible-playbook -i inventory.yml prod-playbook.yml --tags caption + +Update caption script: + +ansible-playbook -i inventory.yml prod-playbook.yml --tags process-captions + +ffmpeg -y -i handwritten/reencode.webm -t 60 -vcodec copy -acodec copy test.webm +* Other useful things + +nodemon -w . -e yml -x 'ansible-playbook -i inventory.yml prod-playbook.yml --tags vnc; true' -- cgit v1.2.3