summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook.md140
-rw-r--r--2022/organizers-notebook/index.org170
2 files changed, 272 insertions, 38 deletions
diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md
index 0eb543a0..beb6516a 100644
--- a/2022/organizers-notebook.md
+++ b/2022/organizers-notebook.md
@@ -764,32 +764,150 @@ ex: liberapay, patreon, anyone looking for a job, etc.
zaeph is available on 2022-11-06
-- Streams
+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:
+
+ mpv https://live0.emacsconf.org/emacsconf/gen.webm
+ mpv https://live0.emacsconf.org/emacsconf/dev.webm
+
+- With luck, the 480p streams will be up automatically as well
+
+ mpv https://live0.emacsconf.org/emacsconf/gen-480p.webm
+ mpv https://live0.emacsconf.org/emacsconf/dev-480p.webm
+
+
+### 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:
+
+ mpv https://live0.emacsconf.org/emacsconf/$TRACK.webm
+
+9. With luck, the 480p streams will be up automatically as well. On your local system:
+
+ mpv https://live0.emacsconf.org/emacsconf/$TRACK-480p.webm
+
+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`.
+
+ cd /data/emacsconf/stream/2022
+ track-mpv filename.webm
+
+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
+
+ 10. Use OBS or `pavucontrol` to adjust the volume of BBB as needed.
+
+ 11. 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
- - [ ] Toobnix stream
- - [ ] YouTube stream
-- Scenes
+2. Scenes
- [ ] Intro
- [ ] Prerec
- [ ] Q&A: live
- [ ] Q&A: IRC
- [ ] Q&A: pad
-- [ ] IRC channels
+3. [ ] IRC channels
- [ ] Announce
- [ ] Question handling
- [ ] Timers
-- [ ] Watching pages
+4. [ ] Watching pages
- [ ] Before launch
- [ ] Streaming
- [ ] Emergency announcement
-- [ ] Pads
-- [ ] Wiki
+5. [ ] Pads
+6. [ ] Wiki
- [ ] Schedule update
- [ ] Message on the schedule
- [ ] Prerec live
-- [ ] Wind everything down
+7. [ ] Wind everything down
+
+Later on
+
+- [ ] Toobnix stream
+- [ ] YouTube stream
### Create test
@@ -2970,7 +3088,7 @@ Probably focus on grabbing the audio first and seeing what’s worth keeping
Make a table of the form
-<table id="orgb6dc6ed" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="org54251e6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@@ -3938,7 +4056,7 @@ Where:
Nice if there&rsquo;s an Ansible playbook
sachac&rsquo;s notes:
- <file:///home/zaeph/code/docker/emacsconf-publish/>
+ <file:///home/sacha/code/docker/emacsconf-publish/>
- probably good to set it up on front
It&rsquo;s now on front.
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index 7f87b06a..caccb0f5 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