summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook/index.org87
1 files changed, 76 insertions, 11 deletions
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index 14e75392..914d017b 100644
--- a/2022/organizers-notebook/index.org
+++ b/2022/organizers-notebook/index.org
@@ -366,27 +366,60 @@ CLOSED: [2022-10-23 Sun 09:59]
:LOGBOOK:
CLOCK: [2022-10-23 Sun 08:32]--[2022-10-23 Sun 09:59] => 1:27
:END:
-*** TODO Investigate more granular timestamps for the output from OpenAPI Whisper
-https://stackoverflow.com/questions/73822353/how-can-i-get-word-level-timestamps-in-openais-whisper-asr
+*** DONE Investigate more granular timestamps for the output from OpenAPI Whisper
+CLOSED: [2022-10-25 Tue 11:14]
+
+https://git.emacsconf.org/emacsconf-ansible/tree/roles/caption/templates
+
*** DONE Upload srv2 from YouTube for word-level
CLOSED: [2022-10-22 Sat 23:16]
:PROPERTIES:
:CREATED: [2022-10-22 Sat 14:38]
:END:
-*** TODO Compare with Google Cloud Speech API
+*** TODO Move publishing the backstage index to res so that we can trigger it after the files are uploaded
+:PROPERTIES:
+:CREATED: [2022-10-21 Fri 16:45]
+:END:
+
+*** TODO [#C] Compare with Google Cloud Speech API
~/code/speech
-*** TODO jiwer · PyPI - measure error rate
+*** TODO E-mail for bringing new captioning volunteers onboard
+**** Template
:PROPERTIES:
-:CREATED: [2022-10-22 Sat 20:59]
+:TO: ${email}
:END:
-https://pypi.org/project/jiwer/
+Hi ${name}!
+
+Thank you for volunteering to help with the captions for ${conf-name}
+${year}! Last year, we were able to get almost all the talks captioned
+in time for streaming. Participants found them very useful for
+understanding different technical terms, names, accents, and so on.
+We'd love to be able to pull that off again this year!
+
+We've set up ${backstage} as the backstage area where you can view the
+videos and resources uploaded so far. You can access it with the
+username "${backstage-user}" and the password "${backstage-password}".
+Please keep the backstage password and other speakers' talk resources
+secret. ${backstage-use}${wrap}
+
+You can find captioning tips at https://emacsconf.org/captioning/ .
+You can use your favourite subtitle editor, and you can convert it to
+whatever format you like. If you prefer to work with plain text, we
+can probably even figure out the timestamps afterwards.
+
+Thank you!
-*** SOMEDAY Move publishing the backstage index to front
+Sacha Chua
+
+
+*** TODO [#C] jiwer · PyPI - measure error rate
:PROPERTIES:
-:CREATED: [2022-10-21 Fri 16:45]
+:CREATED: [2022-10-22 Sat 20:59]
:END:
+https://pypi.org/project/jiwer/
+
** DONE Update viewing instructions and watch pages :sachac:
CLOSED: [2022-10-14 Fri 15:02]
:PROPERTIES:
@@ -3189,10 +3222,36 @@ Thank you so much!
Sacha Chua
** Future
-
*** Captions for approval
+#+begin_src emacs-lisp
+(defun emacsconf-mail-captions-for-approval (talk)
+ (interactive (list (emacsconf-complete-talk-info)))
+ (let ((captions (expand-file-name (concat (plist-get talk :video-slug) "--main.vtt") emacsconf-cache-dir))
+ (captioner-info
+ (with-current-buffer (find-file-noselect emacsconf-org-file)
+ (org-entry-properties (org-find-property "CUSTOM_ID" (plist-get talk :captioner))))))
+ (emacsconf-mail-prepare
+ (emacsconf-mail-merge-get-template "captions")
+ (plist-get talk :email)
+ (list
+ :speakers-short (plist-get talk :speakers-short)
+ :year emacsconf-year
+ :email (plist-get talk :email)
+ :title (plist-get talk :title)
+ :captioner (assoc-default "NAME_SHORT" captioner-info)
+ :url (format "https://media.emacsconf.org/%s/backstage" emacsconf-year)
+ :password emacsconf-backstage-password
+ :captioner-email (assoc-default "EMAIL" captioner-info)
+ :captions (with-temp-buffer (insert-file-contents captions) (buffer-string))))
+ (mml-attach-file captions "text/vtt" "Subtitles" "attachment")))
+#+end_src
+
+**** Template
:PROPERTIES:
-:SUBJECT: EmacsConf ${year}: Please review these captions for ${title}
+:SUBJECT: EmacsConf ${year}: Captions for ${title}
+:TO: ${email}
+:CC: ${captioner-email}, emacsconf-submit@gnu.org
+:REPLY_TO: ${email}, ${captioner-email}, emacsconf-submit@gnu.org
:EMAIL_ID: captions
:CUSTOM_ID: approve-captions
:END:
@@ -3205,10 +3264,16 @@ volunteered to caption your talk video, and here it is. I've attached
the caption text file in case you want to review it, suggest any
corrections, or use the text in a blog post or elsewhere. You can look
at the attached file or watch your video with closed captions at
-${url} . Thanks again for your contribution!
+${url} (username: emacsconf, password: ${password}). I've also
+included the captions at the end of this e-mail for your convenience.
+Thanks again for your contribution!${wrap}
+
+${captioner}: Thanks!
Sacha
+${captions}
+
*** Speakers we haven't confirmed e-mail communications with
Hi, ${name}!