Skip to content

Instantly share code, notes, and snippets.

View lpmi-13's full-sized avatar
🐍
all the forks are belong to pypobot

Adam Leskis lpmi-13

🐍
all the forks are belong to pypobot
View GitHub Profile
@lpmi-13
lpmi-13 / ladder.md
Created November 8, 2019 23:28 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
@lpmi-13
lpmi-13 / python-ffmpeg.py
Created December 16, 2017 10:03 — forked from hiwonjoon/python-ffmpeg.py
ffmpeg and ffprobe subprocess call in python; extract specific frame at some timepoint, extract duration of a video
import subprocess
import datetime
import numpy as np
THREAD_NUM=4
def get_video_info(fileloc) :
command = ['ffprobe',
'-v', 'fatal',
'-show_entries', 'stream=width,height,r_frame_rate,duration',