Skip to content

Instantly share code, notes, and snippets.

View newbie-lad's full-sized avatar
😧
Out sick

newbie-lad

😧
Out sick
  • Europe
View GitHub Profile
@newbie-lad
newbie-lad / encode.sh
Created August 20, 2023 06:10
Low bitrate homebakery video encoding
/usr/bin/time /usr/local/Cellar/svt-av1/1.6.0/bin/SvtAv1EncApp -i stdin --fps 25 --input-depth 8 --color-primaries bt709 --transfer-characteristics bt709 --matrix-coefficients bt709 -w 864 -h 486 --preset 6 --rc 0 -q 37 --aq-mode 1 --max-qp 51 --min-qp 25 --tile-rows 0 --tile-columns 0 --pred-struct 2 --enable-qm 0 --scd 0 --lookahead 6 --hierarchical-levels 5 --enable-dlf 1 --enable-cdef 1 --enable-restoration 1 --enable-tpl-la 1 --enable-mfmv 0 --enable-dg 1 --fast-decode 0 --enable-tf 1 --enable-overlays 0 --tune 1 --scm 1 --rmv 0 --mbr 364 --passes 1 --output fifo.ivf
# I never understood why no one shares good encoding settings∕ command.
# This is intended for archival material; if you are a maniac,
# seeking absolute perfection — what are you doing here?
@newbie-lad
newbie-lad / chroam.sb
Last active August 20, 2023 06:18 — forked from mauron85/haiku
Mac OS X sandbox profile for chromiums
;; chrome.app sandbox profile
(version 1)
(debug deny)
;; allow processes to traverse symlinks
(allow file-read-metadata)
(allow file-read-data file-read-metadata
(regex
; Allow reading system dylibs and frameworks