Skip to content

Instantly share code, notes, and snippets.

View mknisk's full-sized avatar
🇪🇪
less goooo

mknisk mknisk

🇪🇪
less goooo
View GitHub Profile
@sergiobd
sergiobd / BatchConvertVideos.ps1
Last active June 12, 2024 13:40
Batch convert videos using ffmpeg and powershell
# Script to convert a list of files using ffmpeg and powershell. This example converts to .ogv files (theora/vorbis as video/audio codecs)
# Please note that, if you havent done so, you should set the execution policy of powershell in order to be able to run this script.
# The easiest way to run this script without messing to much with execution policies is to set it for a single powershell session:
# powershell.exe -ExecutionPolicy Unrestricted
# Check: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies
$filenames = "1","2", "3", "4", "5","6","7"
$filepath = "C:\Users\Oculus\Documents\Videos\Menu\"
$extension = ".mp4"