Skip to content

Instantly share code, notes, and snippets.

View BrianPugh's full-sized avatar
💭
⭐️ PRO

Brian Pugh BrianPugh

💭
⭐️ PRO
  • Washington D.C.
  • 04:58 (UTC -04:00)
View GitHub Profile
@BrianPugh
BrianPugh / readme.md
Last active November 28, 2022 16:50 — forked from Eugeny/readme.md
Frame accurate video reader - OpenCV VideoCapture replacement

OpenCV's VideoCapture is broken and hasn't been fixed for the last 5 years: opencv/opencv#9053

This is a PyAV based replacement. Unlike other implementations it can seek at any time.

Install PyAV:

pip install av
@BrianPugh
BrianPugh / Adding tmux
Last active December 8, 2020 17:45 — forked from sshadmand/Adding tmux
The best and greatest tmux.conf ever
Create a tmux conf file
#> touch ~/.tmux.conf
Install TMP
#> git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
[Copy and paste tmux.conf below into local file.]
Load tmux configurations
#> tmux source-file ~/.tmux.conf