Add mp4 converter

This commit is contained in:
GuilhermeWerner
2020-09-02 12:53:39 -03:00
parent 937d9ef69e
commit 00668318ad
2 changed files with 6 additions and 0 deletions

5
converter.bat Normal file
View File

@ -0,0 +1,5 @@
@echo off
PowerShell.exe -Command "& './scripts/mp4.ps1'"
pause

1
scripts/mp4.ps1 Normal file
View File

@ -0,0 +1 @@
Get-ChildItem -Filter '*.mkv' | % { &./ffmpeg/bin/ffmpeg.exe -i .\$($_.BaseName).mkv -c copy .\$($_.BaseName).mp4 }