Reencode wallpaper engine files
This commit is contained in:
parent
69b2b46311
commit
3d4207467a
4
WallpaperEngineTools/ffmpeg-encode.ps1
Normal file
4
WallpaperEngineTools/ffmpeg-encode.ps1
Normal 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"
|
Loading…
Reference in New Issue
Block a user