Reencode wallpaper engine files

This commit is contained in:
Isaac Shoebottom 2023-11-21 00:12:55 -04:00
parent 69b2b46311
commit 3d4207467a

View File

@ -0,0 +1,4 @@
# Rencode arg file 1 with ffmpeg crf 20 and veryslow preset in x264 format, and audio with aac 192kbps and append "-Small" to the output filename
# Usage: ffmpeg-encode.ps1 arg1 arg2
$file = Get-ChildItem $args[0]
ffmpeg -i $file.FullName -c:v libx264 -preset veryslow -crf 20 -c:a aac -b:a 192k "$($file.BaseName)-Small.mp4"