From b1953ff6a008c14bb9f72a6a1775d611c36752ce Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 3 Dec 2021 17:28:41 -0500 Subject: add native talk --- playbook.org | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'playbook.org') diff --git a/playbook.org b/playbook.org index ceb50604..db03fac4 100644 --- a/playbook.org +++ b/playbook.org @@ -30,6 +30,31 @@ | ${live-alt} | [[/ssh:front:/var/www/live.emacsconf.org/alt.html]] | | ${profile} | [[/ssh:live:~/.profile]] | +* After the conference +** Update captions + +- Merge them into the video with =add-captions.sh= + #+begin_src sh :eval no + #!/usr/bin/zsh + BASE="${1%.*}" + BASE="${BASE%--main}" + ffmpeg -y -i "$1" ${BASE}--main.vtt + if [ -f "${BASE}--normalized.webm" ]; then + ffmpeg -y -i "$1" -i "${BASE}--normalized.webm" -c:a copy -c:v copy "${BASE}--captioned.webm" + else + ffmpeg -y -i "$1" -i "${BASE}--compressed.webm" -c:a copy -c:v copy "${BASE}--captioned.webm" + fi + cp ${BASE}--main.vtt ${BASE}--chapters.vtt ~/vendor/emacsconf-wiki/2021/captions + scp "${BASE}--captioned.webm" "${BASE}--main.webm" + scp "${BASE}--main.webm" front:~/protected + scp "${BASE}--main.vtt" front:~/protected + scp "${BASE}--chapters.vtt" front:~/protected + ssh front 'cd protected; chmod ugo+r *' + #+end_src +- 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. + * Thursday or Friday before the conference :PROPERTIES: :CUSTOM_ID: days-before @@ -39,7 +64,6 @@ #+begin_src sh :eval no rsync -avzue ssh front:/var/www/media.emacsconf.org/2021/protected/*--main.webm . #+end_src - * On the day of the conference :PROPERTIES: :CUSTOM_ID: day-of -- cgit v1.2.3