Skip to content

Instantly share code, notes, and snippets.

View Mukosame's full-sized avatar
💻
Working

Xiaoyu Xiang Mukosame

💻
Working
View GitHub Profile
@savvot
savvot / ffmpeg-extract-keyframes.sh
Last active February 3, 2022 06:40
Extract only keyframes (I-frames) from video to images with console ffmpeg
ffmpeg -ss <start_time> -i video.mp4 -t <duration> -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 frame%03d.jpg
@jayleicn
jayleicn / forloop.sh
Last active January 5, 2018 06:10
start routine for pachong.rb
#!/bin/bash
mkdir -p download
mkdir -p fail
mkdir -p error
START=1
END=9500
STEP=500
rm -rf num_seq.txt