summaryrefslogtreecommitdiffstats
path: root/2020/organizers-notebook.org
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2020-12-09 12:17:50 -0500
committerSacha Chua <sacha@sachachua.com>2020-12-09 12:17:50 -0500
commit839b298776e262a99eec18d23f4e52363fe937bc (patch)
tree05db68082ebe5fdb7f389a07a52596764d7fd8d1 /2020/organizers-notebook.org
parente7d7db03ac4e24d2ee7d7a8741f9e3da7edffab1 (diff)
downloademacsconf-wiki-839b298776e262a99eec18d23f4e52363fe937bc.tar.xz
emacsconf-wiki-839b298776e262a99eec18d23f4e52363fe937bc.zip
Add more autogenerated subtitles
Diffstat (limited to '2020/organizers-notebook.org')
-rw-r--r--2020/organizers-notebook.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/2020/organizers-notebook.org b/2020/organizers-notebook.org
index 455af4f1..6e7deffb 100644
--- a/2020/organizers-notebook.org
+++ b/2020/organizers-notebook.org
@@ -1,3 +1,7 @@
+* Tasks
+** TODO Create tasks for each of the subtitles
+** TODO Figure out how to generate subtitles for the ones that didn't get auto-generated
+** TODO Link compressed videos on each talk page
* Things to check or decide
- Can we stream from multiple rooms without getting thoroughly confused?
- Assign rooms shortly before presentation
@@ -207,3 +211,15 @@ Q=56
nice 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 999 -pass 1 -f webm -threads 8 /dev/null &&
nice ffmpeg -y -i $1 -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -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 999 -threads 8 $2
#+end_src
+* Code sachac used to move sbv files
+
+#+begin_src emacs-lisp
+(defun my/latest-file (path &optional filter)
+ (car (sort (seq-remove #'file-directory-p (directory-files path 'full filter t)) #'file-newer-than-file-p)))
+(defun my/rename-latest-download ()
+ (interactive)
+ (let* ((file (my/latest-file "~/Downloads"))
+ (new-file (expand-file-name (concat (file-name-base (dired-get-filename)) "-autogen." (file-name-extension file)) "~/vendor/emacsconf-wiki/2020/subtitles/")))
+ (rename-file file new-file t)
+ (message "%s" new-file)))
+#+end_src