Skip to content

Instantly share code, notes, and snippets.

View AJ-Moore's full-sized avatar
👀
Oh

Alzon AJ-Moore

👀
Oh
View GitHub Profile
@sdumetz
sdumetz / Encoder.hpp
Created May 19, 2017 14:44
barebone C++ MPEG4/h264 video encoder using libavformat and libavcodec. Options choice is explained in https://sdumetz.github.io/2017/05/19/libav-encoding-for-ios.html
#include <stdio.h>
#include <iostream>
extern "C"{
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/imgutils.h> //for av_image_alloc only
#include <libavutil/opt.h>

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: