diff --git a/converter.bat b/converter.bat new file mode 100644 index 0000000..012f425 --- /dev/null +++ b/converter.bat @@ -0,0 +1,5 @@ +@echo off + +PowerShell.exe -Command "& './scripts/mp4.ps1'" + +pause \ No newline at end of file diff --git a/scripts/mp4.ps1 b/scripts/mp4.ps1 new file mode 100644 index 0000000..ebdbe1f --- /dev/null +++ b/scripts/mp4.ps1 @@ -0,0 +1 @@ +Get-ChildItem -Filter '*.mkv' | % { &./ffmpeg/bin/ffmpeg.exe -i .\$($_.BaseName).mkv -c copy .\$($_.BaseName).mp4 }