Skip to content

Instantly share code, notes, and snippets.

@neomodulo
neomodulo / compressor.ps1
Created July 15, 2025 17:32
ffmpeg compressor script
# make a shortcut to be able to drag'n'drop this-
# powershell -file "[absolute path]\compresso.ps1"
function EntryPoint {
echo "Input file: "$in
$out = $in.Insert($in.LastIndexOf("."),"_compressed")
echo "Output file: "$out
ffmpeg -i $in -c:v libx264 -tag:v avc1 -movflags faststart -crf 30 -preset superfast $out
exit
}