Skip to content

Instantly share code, notes, and snippets.

View Josde's full-sized avatar
🐢
taking my time...

Josde

🐢
taking my time...
View GitHub Profile
@Josde
Josde / compressVideos.bat
Created June 12, 2021 15:54
Tired of your professors being unable to compress their videos and uploading 1GB lectures of a slideshow? This is the fix for your problems!
@echo OFF
SET sharpening=0
CHOICE /C YN /t 5 /D N /M "Use sharpening? Y/[N]"
if "%ERRORLEVEL%" == "1" SET sharpening=1
if "%ERRORLEVEL%" == "2" SET sharpening=0
for /r %%g in (.) do (
pushd %%g
if NOT %%~nxg == Compressed (
if not exist %%CD%\Compressed mkdir Compressed
for %%f in (*.mp4 *.mkv *.mov) do (