Skip to content

Instantly share code, notes, and snippets.

View grammaticof's full-sized avatar

Francesco Grammatico grammaticof

View GitHub Profile
@davidtron
davidtron / transcode-toh264.md
Last active January 19, 2024 12:22
Transcode h265 down to h264 on OSX using ffmpeg
  • Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install ffmpeg with h265 and h264 libraries
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 --with-x264
  • I want to transcode the video from h265 to h264 and copy the audio stream without re-encoding, there's multiple streams in the source mkv
@bitwalker
bitwalker / config.ex
Created July 19, 2016 23:00
Useful config wrapper for Elixir
defmodule Config do
@moduledoc """
This module handles fetching values from the config with some additional niceties
"""
@doc """
Fetches a value from the config, or from the environment if {:system, "VAR"}
is provided.
An optional default value can be provided if desired.
@eproxus
eproxus / README.md
Last active May 30, 2023 08:19 — forked from raysegantii/README.md
Use Bootstrap 4 SASS with Phoenix

Versions

  • Bootstrap 4 Alpha 6
  • Phoenix 1.2.1

Instructions

  1. Install npm packages

npm install --save-dev sass-brunch