From edd23e7ae3e75f4ad3f783160d10ce2c21fceccd Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 5 Nov 2022 10:15:59 -0400 Subject: dry run notes --- 2022/organizers-notebook/index.org | 170 +++++++++++++++++++++++++++++++------ 1 file changed, 143 insertions(+), 27 deletions(-) (limited to '2022/organizers-notebook/index.org') diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org index 40964ba9..6ae4cd24 100644 --- a/2022/organizers-notebook/index.org +++ b/2022/organizers-notebook/index.org @@ -438,40 +438,156 @@ waiting for prerecs maybe after we get the prerecs ex: liberapay, patreon, anyone looking for a job, etc. ** BLOCKED Do a dry run -SCHEDULED: <2022-11-06 Sun> +SCHEDULED: <2022-11-06 Sun 13:00> :PROPERTIES: :CUSTOM_ID: dry-run :END: zaeph is available on 2022-11-06 -- Streams - - [ ] General stream - - [ ] Development stream - - [ ] 480p streams - - [ ] Toobnix stream - - [ ] YouTube stream -- Scenes - - [ ] Intro - - [ ] Prerec - - [ ] Q&A: live - - [ ] Q&A: IRC - - [ ] Q&A: pad -- [ ] IRC channels - - [ ] Announce - - [ ] Question handling - - [ ] Timers -- [ ] Watching pages - - [ ] Before launch - - [ ] Streaming - - [ ] Emergency announcement -- [ ] Pads -- [ ] Wiki - - [ ] Schedule update - - [ ] Message on the schedule - - [ ] Prerec live -- [ ] Wind everything down +Goals: +- Good: Streamers are set up to broadcast from their own OBS if needed (could be a backup plan, could be the main plan) +- Better: Streamers can connect to the VNC session for their track, manage OBS, start videos (with overlays), and browse the Q&A links +- Best: Streamers can connect via emacsclient in orga@res.emacsconf.org, manage the task status, and have everything working +Agenda: +- Get familiar with the setup +- Consider whether we want to prioritize local OBS (more screen real estate) or stream OBS (easier swapping, can be controlled remotely) +- Consider whether we want mumble to be able to quickly add audio; how do we want to set it up scene-wise? + +*** Broadcasting from local OBS + - You can copy the profile from your track or look inside it for the icecast mount point details: + + - Gen: rsync -avze ssh emacsconf-gen@res.emacsconf.org:~/.config/obs-studio/basic/profiles/ ~/.config/obs-studio/basic/profiles/ + - Dev: rsync -avze ssh emacsconf-dev@res.emacsconf.org:~/.config/obs-studio/basic/profiles/ ~/.config/obs-studio/basic/profiles/ + + - Sacha will turn off the OBS recordings on res so that you can test streaming from your computer + - If you're doing this independently, you can jump ahead to "Test connecting to the VNC" in order to stop the recording yourself + + - Verify with MPV: + #+begin_example + mpv https://live0.emacsconf.org/emacsconf/gen.webm + mpv https://live0.emacsconf.org/emacsconf/dev.webm + #+end_example + + - With luck, the 480p streams will be up automatically as well + #+begin_example + mpv https://live0.emacsconf.org/emacsconf/gen-480p.webm + mpv https://live0.emacsconf.org/emacsconf/dev-480p.webm + #+end_example + +*** Connecting to the track VNC + + 1. Stop broadcasting locally if you were testing local OBS. + + 2. Install a VNC viewer on your system (ex: tigervnc-viewer). + + 3. Set up your local environment: + + - gen: export TRACK=gen; export TRACK_PORT=5905 + - dev: export TRACK=dev; export TRACK_PORT=5906 + 4. Copy the password: + + scp emacsconf-$TRACK@res:~/.vnc/passwd vnc-passwd-$TRACK + + 5. Forward your local ports: + + ssh emacsconf-$TRACK@res.emacsconf.org -N -L $TRACK_PORT:127.0.0.1:$TRACK_PORT & + + 6. 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 + + (If this doesn't find a VNC server to connect to, you can start it with ~ssh emacsconf-$TRACK@res.emacsconf.org ~/bin/track-vnc~) + + 7. Start recording. It's probably on workspace 2, so you can switch with Alt-2. Confirm that it is now broadcasting to the stream. + + 8. Verify with MPV on your local system: + #+begin_example + mpv https://live0.emacsconf.org/emacsconf/$TRACK.webm + #+end_example + + 9. With luck, the 480p streams will be up automatically as well. On your local system: + #+begin_example + mpv https://live0.emacsconf.org/emacsconf/$TRACK-480p.webm + #+end_example + + 10. Play a video. It should display the video and update the overlays. If you need to update the overlays manually, you can copy files from ~/data/emacsconf/overlays~ onto ~$HOME/other.png~ and ~$HOME/video.png~. + + #+begin_example + cd /data/emacsconf/stream/2022 + track-mpv filename.webm + #+end_example + + 11. Test Q&A. You can either wait for the video to finish or quit it with "q". + You can paste in the URLs or use + ~firefox /data/emacsconf/2022/index-$TRACK.html~ + + i3 cheat sheet: + - Alt-Enter creates a terminal + - Alt-d runs a command + - 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 + + 12. Use OBS or ~pavucontrol~ to adjust the volume of BBB as needed. + + 13. Start an Emacs for emergency announcements. + +*** Managing the stream from the agenda + +ssh orga@res.emacsconf.org +emacsclient -c -nw -a emacs + +You can then use + +- emacsconf-stream-play-video +- emacsconf-stream-open-qa-windows-on-change +- emacsconf-agenda-by-track +- emacsconf-agenda + +If things are going well, you can use C-c C-t on the agenda view to change a talk to PLAYING, CLOSED_Q, or OPEN_Q, and various things should appen in the background. + +Task shortcut: +- m (mpv) :: PLAYING - -stream-play-video, emacsconf-stream-set-talk-info, publish the files to the media directory +- q (Q&A) :: CLOSED_Q +- o (open) :: update the BBB redirect URLs to let people into the room + +*** Checklist for later dry run + + 1. Streams + - [ ] General stream + - [ ] Development stream + - [ ] 480p streams + 2. Scenes + - [ ] Intro + - [ ] Prerec + - [ ] Q&A: live + - [ ] Q&A: IRC + - [ ] Q&A: pad + 3. [ ] IRC channels + - [ ] Announce + - [ ] Question handling + - [ ] Timers + 4. [ ] Watching pages + - [ ] Before launch + - [ ] Streaming + - [ ] Emergency announcement + 5. [ ] Pads + 6. [ ] Wiki + - [ ] Schedule update + - [ ] Message on the schedule + - [ ] Prerec live + 7. [ ] Wind everything down + + +Later on +- [ ] Toobnix stream +- [ ] YouTube stream *** 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 -- cgit v1.2.3