Skip to content

Instantly share code, notes, and snippets.

View Fshy's full-sized avatar

Fshy Fshy

View GitHub Profile
@Fshy
Fshy / thumbs.bat
Created August 14, 2018 05:55
Batch export WebM thumbnails from current directory
@echo off
setlocal enabledelayedexpansion
echo Attempting to create /thumbs directory..
mkdir thumbs 2>NUL
for /F "tokens=* USEBACKQ" %%F IN (`dir *.webm ^| find /c ".webm"`) do set /a total=%%F
set /a counter=0
set /a percent=0
for %%A IN (*.webm) do (
ffmpeg -i "%%A" -vf "select=gte(n\,0)" -q:v 1 "thumbs\%%~nA.png" -loglevel 0 -n
set /a counter=!counter!+1

Keybase proof

I hereby claim:

  • I am fshy on github.
  • I am fshy (https://keybase.io/fshy) on keybase.
  • I have a public key whose fingerprint is C86D F933 97D1 B8B4 EDF2 2C39 0133 6F10 4019 FF6D

To claim this, I am signing this object: