summaryrefslogtreecommitdiffstats
path: root/playbook.org
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-12-17 16:54:21 -0500
committerSacha Chua <sacha@sachachua.com>2021-12-17 16:54:21 -0500
commitfc25c3b0764cbb1917f5989ee37a845a03099e59 (patch)
treec60d42c811592a4cdb176598eaca2b1aa47a2937 /playbook.org
parentb9c2d54f43c5b03a63c5496d11e6dcbfcdfa804e (diff)
downloademacsconf-wiki-fc25c3b0764cbb1917f5989ee37a845a03099e59.tar.xz
emacsconf-wiki-fc25c3b0764cbb1917f5989ee37a845a03099e59.zip
update playbook with q=32
Diffstat (limited to 'playbook.org')
-rw-r--r--playbook.org36
1 files changed, 27 insertions, 9 deletions
diff --git a/playbook.org b/playbook.org
index db03fac4..d47dc9e1 100644
--- a/playbook.org
+++ b/playbook.org
@@ -18,18 +18,19 @@
| HOST | hosting, streaming, intros, reading, moving questions/answers around | zaeph |
| ${protected} | [[/ssh:front:/var/www/media.emacsconf.org/2021/protected/]] |
-| ${stream-status} | [[/ssh:front:/var/www/live.emacsconf.org/index.html]] |
+| ${stream-status} | [[/ssh:front:/var/www/live.emacsconf.org/index.html]] |
| ${upcoming} | upcoming.org shared over CRDT |
| ${conf} | conf.org shared over CRDT |
| ${playbook} | playbook.org shared over CRDT |
| ${dump} | [[/ssh:live:/data/]] |
| ${media} | [[/ssh:front:/var/www/media.emacsconf.org/2021/]] |
-| ${live-main} | [[/ssh:front:/var/www/live.emacsconf.org/main.html]] |
-| ${live-480p} | [[/ssh:front:/var/www/live.emacsconf.org/main-480p.html]] |
-| ${live-index} | [[/ssh:front:/var/www/live.emacsconf.org/index.html]] |
-| ${live-alt} | [[/ssh:front:/var/www/live.emacsconf.org/alt.html]] |
-| ${profile} | [[/ssh:live:~/.profile]] |
-
+| ${live-main} | [[/ssh:front:/var/www/live.emacsconf.org/main.html]] |
+| ${live-480p} | [[/ssh:front:/var/www/live.emacsconf.org/main-480p.html]] |
+| ${live-index} | [[/ssh:front:/var/www/live.emacsconf.org/index.html]] |
+| ${live-alt} | [[/ssh:front:/var/www/live.emacsconf.org/alt.html]] |
+| ${profile} | [[/ssh:live:~/.profile]] |
+| ${emacsconf-el} | https://git.emacsconf.org/emacsconf-el/ |
+| | |
* After the conference
** Update captions
@@ -54,6 +55,9 @@
- Update Toobnix and Youtube captions with =conf-video-share=.
- Update Toobnix and Youtube descriptions with chapters.
- Update ${conf-year}/${captions}/${slug}.md in the wiki. To make this from scratch, use =M-x conf-prepare-transcript-directives= from the talk heading in the conference Org file.
+** Update
+
+
* Thursday or Friday before the conference
:PROPERTIES:
@@ -540,8 +544,22 @@ redirect the mpv output to the mpv sink.
pacmd list-sink-inputs # notice the ID for the process you want to redirect
pacmd move-sink-input 1 mpv
#+end_src
-** Check for video encoding issues
+** Compress video
+
+Usage: =compress-video.sh original-file output-file=:
-Sometimes the compression may get cut off.
+#+begin_src sh :eval no :tangle compress-video.sh
+Q=32
+ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -an -tile-columns 0 -tile-rows 0 -frame-parallel 0 -cpu-used 8 -auto-alt-ref 1 -lag-in-frames 25 -g 240 -pass 1 -f webm -threads 8 /dev/null &&
+ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -c:a copy -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -threads 8 "$2"
+#+end_src
+
+We tried using q56 before, but it was a little too aggressive. Q=32 is the default and is probably a reasonable space vs. quality compromise.
+
+** Check for video encoding issues
+Sometimes the compression may get cut off. You can use
+=compile-media-verify-video-frames= from
+https://github.com/sachac/compile-media to check that videos have
+enough frames for their expected duration