Skip to content

Instantly share code, notes, and snippets.

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 Nov 8, 2019 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
@lpmi-13
lpmi-13 / python-ffmpeg.py
Created Dec 16, 2017 — forked from hiwonjoon/python-ffmpeg.py
ffmpeg and ffprobe subprocess call in python; extract specific frame at some timepoint, extract duration of a video
View python-ffmpeg.py
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',