summaryrefslogtreecommitdiffstats
path: root/2020
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-03-18 22:41:24 -0400
committerSacha Chua <sacha@sachachua.com>2021-03-18 22:41:24 -0400
commit03f05033104b963b3d5b1c97ffc2a5a341a6422a (patch)
tree02d2c3b1a7b8051ffb911ff2ddd8fec7e940de5a /2020
parent5f1ec6e108fbbbb004c697e054169021ad7ec2a3 (diff)
downloademacsconf-wiki-03f05033104b963b3d5b1c97ffc2a5a341a6422a.tar.xz
emacsconf-wiki-03f05033104b963b3d5b1c97ffc2a5a341a6422a.zip
Call dibs
Diffstat (limited to '2020')
-rw-r--r--2020/organizers-notebook.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/2020/organizers-notebook.org b/2020/organizers-notebook.org
index fc616385..1c54e0de 100644
--- a/2020/organizers-notebook.org
+++ b/2020/organizers-notebook.org
@@ -51,8 +51,8 @@ I modified the =subed= package to work with VTT files. The modified version is a
- [X] sachac [[./info/21.md]] [[./subtitles/emacsconf-2020--21-on-why-most-of-the-best-features-in-eev-look-like-5-minute-hacks--eduardo-ochs.vtt]]
- [X] sachac [[./subtitles/emacsconf-2020--22-powering-up-special-blocks--musa-al-hassy-autogen.vtt]]
- [ ] [[./subtitles/emacsconf-2020--23-incremental-parsing-with-emacs-tree-sitter--questions--tuan-anh-nguyen-autogen.vtt]]
-- [ ] sachac [[./subtitles/emacsconf-2020--23-incremental-parsing-with-emacs-tree-sitter--tuan-anh-nguyen-autogen.vtt]]
-- [ ] [[./subtitles/emacsconf-2020--25-traverse-complex-json-structures-with-live-feedback-counsel-jq--zen-monk-alain-m-lafon-autogen.vtt]]
+- [X] sachac [[./subtitles/emacsconf-2020--23-incremental-parsing-with-emacs-tree-sitter--tuan-anh-nguyen-autogen.vtt]]
+- [ ] sachac [[./subtitles/emacsconf-2020--25-traverse-complex-json-structures-with-live-feedback-counsel-jq--zen-monk-alain-m-lafon-autogen.vtt]]
- [ ] [[./subtitles/emacsconf-2020--26-emacs-as-a-highschooler-how-it-changed-my-life--pierce-wang-autogen.vtt]]
- [ ] [[./subtitles/emacsconf-2020--26-emacs-as-a-highschooler-how-it-changed-my-life--questions--pierce-wang-autogen.vtt]]
- [ ] [[./subtitles/emacsconf-2020--27-state-of-retro-gaming-in-emacs-chip8--vasilij-wasamasa-schneidermann-autogen.vtt]]
@@ -750,10 +750,10 @@ Another collaborative pad
Usage: compress-video.sh input-filename.webm output-filename.webm
- #+begin_src sh :eval no :tangle compress-video.sh
+ #+begin_src sh :eval no :tangle compress-video.sh :shebang "#!/bin/bash"
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 240 -pass 1 -f webm -threads 8 /dev/null &&
- nice 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
+ 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 240 -pass 1 -f webm -threads 8 /dev/null &&
+ nice 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
Here's the original version which compresses audio too. Usage: compress-video-compressed-audio.sh input-filename.webm output-filename.webm