summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-30 10:28:22 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-30 10:28:22 -0400
commitd05fe6e5c2ad0e7713c05e1712c70d1fd7ec291a (patch)
tree9145f40f1c2d7c3fc2a2e7d6ebcef97dd996e3ec
parent1a2a1e5931dc571c7029621f2454eeff16ac1a1c (diff)
downloademacsconf-wiki-d05fe6e5c2ad0e7713c05e1712c70d1fd7ec291a.tar.xz
emacsconf-wiki-d05fe6e5c2ad0e7713c05e1712c70d1fd7ec291a.zip
Add note about controlling MPV from the command line
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook/index.org28
1 files changed, 16 insertions, 12 deletions
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index f35b222b..2408553c 100644
--- a/2022/organizers-notebook/index.org
+++ b/2022/organizers-notebook/index.org
@@ -789,21 +789,25 @@ Goals:
- [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? Would need to figure out how to share the MPV window, but OBS doesn't like to share full-screen MPV
-
+- [ ] Control MPV from the commandline
+ echo '{ "command": ["loadfile", "test2.webm"] }' | socat - ~/mpv-socket-emacsconf-dev
Process on res:
-1. sudo su - orga
-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. Password is in conf.org under vnc_password.
- Gen: xvncviewer 127.0.0.1:15905 -shared
- Dev: xvncviewer 127.0.0.1:15906 -shared
-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:
+1. Start up the VNC server if it's not already running
+ 1. sudo su - orga
+ 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.)
+2. Connect via VNC viewer:
+ - Forward your local ports via SSH:
+ ~ssh -L 15905:127.0.0.1:5905 -L 15906:127.0.0.1:5906 res.emacsconf.org~
+ - 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 -geometry 1280x720~
+ - Dev: ~xvncviewer 127.0.0.1:15906 -shared -geometry 1280x720~
+
+3. Load something with audio in firefox -ProfileManager , and start playing it.
+4. Use pavucontrol to make sure the Firefox process is going into the $track-qa sink.
+
+If you ~scp orga@res.emacsconf.org/.vnc/passwd 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 |