Skip to content

Instantly share code, notes, and snippets.

import React, {useContext, useEffect} from "react";
import "./Footer.scss";
import {Fade} from "react-reveal";
import emoji from "react-easy-emoji";
import StyleContext from "../../contexts/StyleContext";
export default function Footer() {
useEffect(() => {
// Start eye tracking
@Po-Hsuan-Huang
Po-Hsuan-Huang / ffmpeg-cheatsheet.md
Created November 8, 2018 01:09 — forked from nickkraakman/ffmpeg-cheatsheet.md
FFmpeg cheat sheet for 360 video

FFmpeg Cheat Sheet for 360º video

Brought to you by Headjack

 
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.

 
Let's start with some basics:

  • ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file
dtrace: system integrity protection is on, some features will not be available
csops(0x1049, 0x7, 0x7FFF5FBFD850) = -1 Err#22
csops(0x1049, 0x7, 0x7FFF5FBFD130) = -1 Err#22
readlink("/Users/pohsuanhuang/miniconda/envs/tensorflow/bin/python\0", 0x7FFF5FBFE780, 0x400) = 9 0
readlink("/Users/pohsuanhuang/miniconda/envs/tensorflow/bin/python2.7\0", 0x7FFF5FBFE780, 0x400) = -1 Err#22
stat64("/Users/pohsuanhuang/miniconda/envs/tensorflow/bin/Modules/Setup\0", 0x7FFF5FBFE1E0, 0x400) = -1 Err#2
stat64("/Users/pohsuanhuang/miniconda/envs/tensorflow/bin/lib/python2.7/os.py\0", 0x7FFF5FBFE390, 0x400) = -1 Err#2
stat64("/Users/pohsuanhuang/miniconda/envs/tensorflow/bin/lib/python2.7/os.pyc\0", 0x7FFF5FBFE420, 0x400) = -1 Err#2
stat64("/Users/pohsuanhuang/miniconda/envs/tensorflow/lib/python2.7/os.py\0", 0x7FFF5FBFE390, 0x400) = 0 0
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Mon Aug 21 08:01:41 2017
@author: pohsuanhuang
"""
from __future__ import absolute_import
from __future__ import division
@Po-Hsuan-Huang
Po-Hsuan-Huang / Stackoverflow_question
Created March 22, 2017 07:26
The code reference on my stackoverflow question 'Tracking positions of points after piecewiseAffineTransformaiton.'
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 20 09:49:48 2017
@author: po-hsuan
"""
import numpy as np
import matplotlib.pyplot as plt