summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook.md
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-03 15:34:13 -0400
committerSacha Chua <sacha@sachachua.com>2022-11-03 15:34:13 -0400
commit29687c30adba8cf7955fa597d9f791921c09d89f (patch)
treee6f352de3d350e4da3d940fdb3998e76b4d7e8d2 /2022/organizers-notebook.md
parent7894bc33982bd414b7fdea5619574d44a84113c2 (diff)
downloademacsconf-wiki-29687c30adba8cf7955fa597d9f791921c09d89f.tar.xz
emacsconf-wiki-29687c30adba8cf7955fa597d9f791921c09d89f.zip
Update
Diffstat (limited to '2022/organizers-notebook.md')
-rw-r--r--2022/organizers-notebook.md178
1 files changed, 146 insertions, 32 deletions
diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md
index 3ff1dfe3..ef5303fe 100644
--- a/2022/organizers-notebook.md
+++ b/2022/organizers-notebook.md
@@ -792,6 +792,24 @@ zaeph is available on 2022-11-06
- [ ] Wind everything down
+### Create test
+
+gst-launch-1.0 compositor name=mix sink\_1::xpos=1180 sink\_1::ypos=470 ! videoconvert ! autovideosink filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=100 ! mix. videotestsrc ! video/x-raw,width=400,height=300 ! mix. audiotestsrc freq ! autoaudiosink
+
+gst-launch-1.0 compositor name=mix sink\_1::xpos=1200 sink\_1::ypos=600 ! videoconvert ! autovideosink \\
+filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=100 ! mix. \\
+filesrc location=background.opus ! oggdemux ! opusdec ! audioconvert ! audioresample ! mix.
+videotestsrc ! video/x-raw,width=400,height=300,framerate=25/1 num\_buffers=(25 \* (4 \* 60 + 5)) ! mix.
+
+gst-launch-1.0 webmmux name=mux ! filesink location=community.webm \\
+compositor name=mix sink\_1::xpos=1200 sink\_1::ypos=600 ! videoconvert ! vp8enc ! queue ! mux.video\_0 \\
+filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=2450 ! mix. \\
+filesrc location=background.opus ! oggdemux ! opusdec ! audioconvert ! audioresample ! vorbisenc ! queue ! mux.audio\_0 \\
+videotestsrc num\_buffers=2450 ! video/x-raw,width=400,height=300,framerate=10/1 ! mix.
+
+1251,/home/sacha/proj/emacsconf/private/assets/titles% find -name community-title.svg -exec inkscape &#x2013;export-type=png &#x2013;export-width=1280 &#x2013;export-height=720 &#x2013;export-background-opacity=0 {} \\;
+
+
<a id="caption-workflow"></a>
## TODO Smoothen captioning workflow :sachac:
@@ -1174,37 +1192,137 @@ Goals:
- [X] Be able to start a VNC server with OBS, MPV, and Firefox, connect to it, and stream
- [X] Have another session with the sound isolated
-- [ ] Share the window instead of the desktop?
- [X] Split the audio so that we can join the Q&A room before the MPV ends - handled by automatic scene switcher detecting mpv
- [X] Control MPV from the commandline: track-mpv appears in the correct display, and it can also be controlled via the socket like this:
echo &rsquo;{ &ldquo;command&rdquo;: [&ldquo;loadfile&rdquo;, &ldquo;test2.webm&rdquo;] }&rsquo; | socat - ~/mpv-socket-emacsconf-dev
+- [ ] Share the window instead of the desktop?
+
+
+### Set up connection to the track
+
+1. Set up your local environment
+
+ gen: export TRACK=gen; export TRACK\_PORT=5905
+ dev: export TRACK=dev; export TRACK\_PORT=5906
+
+2. Copy the vnc password file
+
+ scp emacsconf-$TRACK@res:~/.vnc/passwd vnc-passwd-$TRACK
+
+3. Start up the VNC server if it&rsquo;s not already running
+
+ ssh emacsconf-$TRACK@res.emacsconf.org -L $TRACK\_PORT:127.0.0.1:$TRACK\_PORT &ldquo;~/bin/track-vnc; sleep infinity&rdquo;
+
+4. Connect via VNC viewer to the appropriate forwarded port from your laptop
+
+ xvncviewer 127.0.0.1:$TRACK\_PORT -shared -geometry 1280x720 -passwd vnc-passwd-$TRACK
+
+5. Set up a viewer so that you can monitor the stream
+
+ mpv <https://live0.emacsconf.org/emacsconf/$TRACK.webm>
+
+
+### Connect to the conf file on res.emacsconf.org
+
+ssh orga@res.emacsconf.org
+emacsclient -a -c -nw
-Process on res:
-1. Copy the vnc password file
- - scp emacsconf-gen@res:~/.vnc/passwd vnc-passwd-gen
- - scp emacsconf-dev@res:~/.vnc/passwd vnc-passwd-dev
-2. Start up the VNC server if it&rsquo;s not already running
- - Gen: ssh emacsconf-gen@res.emacsconf.org -L 5905:127.0.0.1:5905 -L 6005:127.0.0.1:6005 &ldquo;~/bin/track-vnc; sleep infinity&rdquo;
- - Dev: ssh emacsconf-dev@res.emacsconf.org -L 5906:127.0.0.1:5906 -L 6006:127.0.0.1:6006 &ldquo;~/bin/track-vnc; sleep infinity&rdquo;
-3. Connect via VNC viewer to the appropriate forwarded port from your laptop
- - Gen: xvncviewer 127.0.0.1:5905 -shared -geometry 1280x720 -passwd vnc-passwd-gen
- - Dev: xvncviewer 127.0.0.1:5906 -shared -geometry 1280x720 -passwd vnc-passwd-dev
-4. Load something with audio in Firefox, and start playing it.
-5. Use pavucontrol to make sure the Firefox process is going into the $track-qa sink.
+### Play a talk
-To play an MPV file, ssh to the appropriate account and:
+Shortcuts for navigating to a talk
+
+- **C-c e a a:** agenda
+- **C-c e a g:** gen agenda
+- **C-c e a d:** dev agenda
+- **C-c e t:** emacsconf-go-to-talk
+
+From the agenda, you can use `C-c C-t` to set the talk status:
+
+<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
-~/bin/track-mpv files
-To change the displayed text, echo text to ~/url.txt, ~/news.txt, or ~/bottom.txt like this:
+<colgroup>
+<col class="org-left" />
-ssh emacsconf-dev@res.emacsconf.org &ldquo;echo emacsconf.org/2021/talks/project > ~/url.txt&rdquo;
+<col class="org-left" />
-or use `emacsconf-stream-set-talk-info` or `emacsconf-stream-write-news`,
-or use the TODO state change hook set up with `emacsconf-add-org-after-todo-state-change-hook`.
+<col class="org-left" />
+</colgroup>
+<tbody>
+<tr>
+<td class="org-left">m (mpv)</td>
+<td class="org-left">PLAYING</td>
+<td class="org-left">emacsconf-stream-play-video, emacsconf-stream-set-talk-info</td>
+</tr>
-To kill the VNC server:
+
+<tr>
+<td class="org-left">q</td>
+<td class="org-left">CLOSED_Q</td>
+<td class="org-left">&#xa0;</td>
+</tr>
+
+
+<tr>
+<td class="org-left">o</td>
+<td class="org-left">OPEN_Q</td>
+<td class="org-left">update the BBB redirect URLs to let people into the room</td>
+</tr>
+</tbody>
+</table>
+
+If the video doesn&rsquo;t play automatically when the talk changes to PLAYING, you can play it manually with:
+
+ ssh emacsconf-$TRACK@res.emacsconf.org
+ cd /data/emacsconf/2022/stream
+ ~/bin/track-mpv file
+
+
+### Do Q&A
+
+From the emacsclient on orga@res.emacsconf.org, you can open various talk-related things:
+
+- emacsconf-stream-open-pad
+- emacsconf-stream-join-qa
+- emacsconf-stream-join-chat
+
+Alternatively, you can switch to the VNC viewer and use the links in
+<file:///data/emacsconf/2022/index-gen.html> or
+<file:///data/emacsconf/2022/index-dev.html> .
+
+i3 cheat sheet:
+
+- Alt-e toggles horizontal/vertical split
+- Alt-f toggles full-screen
+- Alt-w switches to tabbed view
+- Alt-1 switches to workspace 1, Alt-2 switches to workspace 2
+- Alt-Shift-2 moves things to workspace 2
+- Alt-Shift-Left moves the current window to the left
+- Alt-Shift-Right moves the current window to the right
+- Alt-Enter creates a terminal
+
+For Q&A, you may want to have the Etherpad on the left, the BBB Q&A or
+IRC chat on the right, and the terminal and OBS windows on
+workspace 2.
+
+
+### Other tasks as needed
+
+
+#### Display emergency news / announcements
+
+M-x emacsconf-stream-broadcast to send a message to both streams
+or M-x emacsconf-stream-set-news to send a message to one stream.
+
+If that doesn&rsquo;t work, edit the news file directly with:
+`ssh emacsconf-$TRACK@res.emacsconf.org > ~/news.txt`
+
+If that doesn&rsquo;t work, use the VNC session to switch to an Emacs window
+and type your message in.
+
+
+#### Kill the VNC server:
ssh emacsconf-gen@res.emacsconf.org &ldquo;vncserver -kill&rdquo;
ssh emacsconf-dev@res.emacsconf.org &ldquo;vncserver -kill&rdquo;
@@ -1231,26 +1349,22 @@ ssh emacsconf-dev@res.emacsconf.org &ldquo;vncserver -kill&rdquo;
</tbody>
</table>
+
+### Other notes
+
There are sockets in the home directory for MPV control if you want to keep that process.
echo &rsquo;{ &ldquo;command&rdquo;: [&ldquo;loadfile&rdquo;, &ldquo;test2.webm&rdquo;] }&rsquo; | socat - ~/mpv-socket-emacsconf-dev
-After you start recording in OBS,
-watch at <https://live.emacsconf.org/2022/watch/dev/> or <https://live.emacsconf.org/2022/watch/gen/>
-i3 cheat sheet:
+### DONE Move my conf.org setup to res so that we can control everything from there
-- M-RET: terminal
-- M-f: toggle full-screen
-- M-w: switch to tabbed view
-- M-j: go to next window
-- M-shift-SPC: toggle floating
-- to resize a window, right-click-drag on its title bar
+### TODO Set timers for echoing text into the appropriate places and starting videos
-### TODO Move my conf.org setup to res so that we can control everything from there
+### TODO Figure out how to work with the layout
-### TODO Set timers for echoing text into the appropriate places and starting videos
+<https://i3wm.org/docs/layout-saving.html>
### TODO Use xdotool to automate joining BBB in Firefox (signing in, clicking on listen only)
@@ -2717,7 +2831,7 @@ Probably focus on grabbing the audio first and seeing what&rsquo;s worth keeping
Make a table of the form
-<table id="org4850a3d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="org2207b7a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>