summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-12 20:52:02 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-12 20:52:12 -0400
commit24a346bb505668426aa710b950c11980b17d62e2 (patch)
tree1fd726c6c193ac4799a587e87abd385f0b766bc3
parent9f6d582a76fe13cc35536110b954464b35949b6f (diff)
downloademacsconf-wiki-24a346bb505668426aa710b950c11980b17d62e2.tar.xz
emacsconf-wiki-24a346bb505668426aa710b950c11980b17d62e2.zip
Update organizer notebook md
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook.md58
1 files changed, 55 insertions, 3 deletions
diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md
index b397ce01..630104dc 100644
--- a/2022/organizers-notebook.md
+++ b/2022/organizers-notebook.md
@@ -561,14 +561,26 @@ Where should we host this?
[Ansible notes](#ansible)
+Consider if we need extra scaling beyond being on a beefy live0?
+<https://mclear.co.uk/2021/09/08/deploying-etherpad-at-scale-in-one-minute/>
+<https://github.com/ether/etherpad-load-test>
+
+etherpad-load-test: 1GB nanode, 42 clients connected (11 authors, 31 lurkers)
+Will need to try this again with a bigger node
+
### DONE Use the API to create pages based on all the slugs
-### TODO Figure out monitoring; maybe get everything daily and commit to git repo?
+### CANCELLED Figure out monitoring; maybe get everything daily and commit to git repo?
+
+History or regeneration will be fine. We'll probably link to it shortly before the event, and we can also turn off the service until we're ready.
-### TODO Generate talk-specific pad content
+### DONE Generate talk-specific pad content
+
+
+### TODO Set up nginx reverse proxy
### TODO Link to pad from talk page
@@ -1454,6 +1466,46 @@ Usage: `compress-video.sh original-file output-file`:
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.
+2020 version used with parallel
+
+ Q=$1
+ WIDTH=1280
+ HEIGHT=720
+ AUDIO_RATE=48000
+ VIDEO_FILTER="scale=w=${WIDTH}:h=${HEIGHT}:force_original_aspect_ratio=1,pad=${WIDTH}:${HEIGHT}:(ow-iw)/2:(oh-ih)/2,fps=25,colorspace=all=bt709:iall=bt601-6-625:fast=1"
+ FILE=$2
+ SUFFIX=$Q
+ shift
+ shift
+ if [ ! -f $FILE ]; then
+ wget https://mirror.csclub.uwaterloo.ca/emacsconf/2020/$FILE
+ fi
+ ffmpeg -y -i "$FILE" -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -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 -an -threads 8 /dev/null &&
+ if [[ $FILE =~ "webm" ]]; then
+ ffmpeg -y -i "$FILE" $* -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a copy "${FILE%.*}--compressed$SUFFIX.webm"
+ else
+ ffmpeg -y -i "$FILE" $* -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a libvorbis "${FILE%.*}--compressed$SUFFIX.webm"
+ fi
+ rm $FILE
+
+2022 version used with parallel to compress low version
+
+ Q=$1
+ WIDTH=1280
+ HEIGHT=720
+ AUDIO_RATE=48000
+ VIDEO_FILTER="scale=w=${WIDTH}:h=${HEIGHT}:force_original_aspect_ratio=1,pad=${WIDTH}:${HEIGHT}:(ow-iw)/2:(oh-ih)/2,fps=25,colorspace=all=bt709:iall=bt601-6-625:fast=1"
+ FILE=$2
+ SUFFIX=$Q
+ shift
+ shift
+ ffmpeg -y -i "$FILE" -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -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 -an -threads 8 /dev/null &&
+ if [[ $FILE =~ "webm" ]]; then
+ ffmpeg -y -i "$FILE" $* -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a copy "${FILE%.*}--compressed$SUFFIX.webm"
+ else
+ ffmpeg -y -i "$FILE" $* -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a libvorbis "${FILE%.*}--compressed$SUFFIX.webm"
+ fi
+
<a id="when-captioned"></a>
@@ -1945,7 +1997,7 @@ Probably focus on grabbing the audio first and seeing what's worth keeping
Make a table of the form
-<table id="org91c334d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="orga97a7f5" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>