From 1a2a1e5931dc571c7029621f2454eeff16ac1a1c Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 30 Oct 2022 09:23:52 -0400 Subject: Add notes about OBS --- 2022/organizers-notebook/index.org | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org index e8531e1a..f35b222b 100644 --- a/2022/organizers-notebook/index.org +++ b/2022/organizers-notebook/index.org @@ -788,20 +788,33 @@ 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 -- [ ] Split the audio so that we can join the Q&A room before the MPV ends +- [ ] Split the audio so that we can join the Q&A room before the MPV ends? Would need to figure out how to share the MPV window, but OBS doesn't like to share full-screen MPV + Process on res: 1. sudo su - orga -2. ./vnc-dev (or ./vnc-gen) - if the VNC server is already up, it'll tell you that it's reusing it. Gen will be on port 5905, dev will be on port 5906. (See vnc_id in the ansible vars.) +2. ~/bin/gen/-vnc (or ~/bin/dev/-vnc) - if the VNC server is already up, it'll tell you that it's reusing it. Gen will be on port 5905, dev will be on port 5906. (See vnc_id in the ansible vars if you want to change this.) 3. Forward your local ports via SSH: ssh -L 15905:127.0.0.1:5905 -L 15906:127.0.0.1:5906 res.emacsconf.org -4. Connect using xvncviewer to the appropriate forwarded port from your laptop +4. Connect using xvncviewer to the appropriate forwarded port from your laptop. Password is in conf.org under vnc_password. Gen: xvncviewer 127.0.0.1:15905 -shared Dev: xvncviewer 127.0.0.1:15906 -shared -5. 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. - +6. Load something with audio in firefox -ProfileManager , and start playing it. +7. Use pavucontrol to make sure the Firefox process is going into the $track-qa sink. + +If you copy res:~orga/.vnc/passwd to your computer (ex: vnc-passwd), you can use the -passwd arg: +xvncviewer 127.0.0.1:15906 -shared -passwd vnc-passwd + +| -obs | start OBS with the track's profile and scene collection | +| -mpv file.webm | play the file using the track's sink | + +There are sockets in the home directory for MPV control - haven't tested it yet. + +Watch at https://live.emacsconf.org/2022/watch/dev/ or https://live.emacsconf.org/2022/watch/gen/ + +*** TODO Set up scenes and try them + *** TODO Create Ansible tasks for setting up sinks for MPV and Firefox for the streams, and adding the scenes appropriately *** TODO See if I can even Ansible-up the rest of the tasks like starting up Firefox and mpv and everything @@ -837,6 +850,7 @@ like starting up Firefox and mpv and everything - https://obsproject.com/forum/threads/run-obs-on-vm-in-the-cloud.122543/ *** TODO recruit at least one more person to help operate the "video bouncer" + * Projects to bear in mind but which are not actual :PROPERTIES: :CUSTOM_ID: maybe-projects -- cgit v1.2.3