Skip to content

Instantly share code, notes, and snippets.

View shssoichiro's full-sized avatar

Josh Holmer shssoichiro

  • United States
View GitHub Profile
@shssoichiro
shssoichiro / settings.md
Last active October 12, 2024 01:34
aomenc settings (Updated 2022-09-18)

Current aomenc recommended settings for sharpness and detail retention:

--cpu-used=4 --cq-level=16 --end-usage=q --lag-in-frames=48 --enable-fwd-kf=1 --aq-mode=1 --deltaq-mode=0 --enable-chroma-deltaq=1 --quant-b-adapt=1 --enable-qm=1 --min-q=1 --enable-keyframe-filtering=0 --arnr-strength=1 --arnr-maxframes=4 --sharpness=3 --enable-dnl-denoising=0 --disable-trellis-quant=0 --threads=64

General CQ guidelines:

  • 40: Youtube quality
  • 30: Watchable, fine for streaming or lower bitrate encodes
  • 20: Good quality

Version Versioning v2016.03

Summary

The version format of your project changes arbitrarily.

Introduction

As you manage a software product, you will have many choices on how to manage the versions of it. Most versioning systems have the following problems:

#![feature(test)]
extern crate test;
#[cfg(test)]
mod tests {
use test::Bencher;
#[bench]
fn bench_split_short_str(b: &mut Bencher) {
@shssoichiro
shssoichiro / lib.rs
Last active February 15, 2016 15:23
#![feature(test)]
extern crate test;
#[cfg(test)]
mod tests {
use test::Bencher;
#[bench]
fn bench_split_short_str(b: &mut Bencher) {
@shssoichiro
shssoichiro / main.rs
Last active December 4, 2015 17:19
Daily Challenge 243 Hard (Part 1)
extern crate petgraph;
use std::env;
use std::fs::File;
use std::io::prelude::*;
use std::io::BufReader;
use std::collections::HashMap;
use petgraph::graph;
fn main() {
@shssoichiro
shssoichiro / main.rs
Last active November 28, 2015 06:02
242 Hard
extern crate rand;
use std::cmp;
use std::env;
use std::fmt;
use rand::{thread_rng, Rng};
#[derive(PartialEq,Clone)]
enum Colors {
Black,