summaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-28 19:57:52 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-28 19:57:52 -0500
commitf748ff206801304b39b8e3222c5abf9551918713 (patch)
tree444c5229fdd1d0e7953e6c31c885b03a19b4ead8 /README.org
parent07d8698dde10d57e58c464f0472b244ec78b8254 (diff)
downloademacsconf-ansible-f748ff206801304b39b8e3222c5abf9551918713.tar.xz
emacsconf-ansible-f748ff206801304b39b8e3222c5abf9551918713.zip
fallback for stream
Diffstat (limited to 'README.org')
-rw-r--r--README.org9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.org b/README.org
index 80b322e..57d8094 100644
--- a/README.org
+++ b/README.org
@@ -189,6 +189,11 @@ 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
+** Creating the fallback files
+ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -c:v libvpx -c:a libvorbis -color_primaries 1 -color_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster_time_limit 5100 -shortest sorry.webm
+
+ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -vf scale=854:480 -c:v libvpx -c:a libvorbis -color_primaries 1 -color_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster_time_limit 5100 -shortest sorry-480p.webm
+
* OBS
ansible-playbook -i inventory.yml prod-playbook.yml --tags obs
@@ -201,11 +206,9 @@ Firefox profiles like to be created in an X environment
firefox -no-remote -CreateProfile "{{ emacsconf_id }}-{{ item.item.id }}
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
+ssh emacsconf-gen@res.emacsconf.org -p 46668 "cat ~/.config/obs-studio/basic/scenes/emacsconf.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_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
* Media
ansible-playbook -i inventory.yml prod-playbook.yml --tags media