Created
December 4, 2024 21:18
-
-
Save AdrienGiboire/4ab0d2c7de2d92c9a48165efb2cf6498 to your computer and use it in GitHub Desktop.
auto-editor windows batch edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save to a new file with a ".ps1" extension | |
$files = "D:\videos\" | |
foreach ($f in Get-ChildItem $files) { | |
# I have to define the h264 video codec because it fails converting GoPro videos without this option. | |
auto-editor --no-open --margin 0.2sec --video-codec h264 $(Join-Path -Path $files -ChildPath $f) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment