We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19677de commit 560c810Copy full SHA for 560c810
1 file changed
MKV-Ripper.cmd
@@ -12,6 +12,9 @@ setlocal ENABLEDELAYEDEXPANSION
12
rem Generic call to FFmpeg
13
set FFMPEG=call "%~dp0bin\ffmpeg.exe" -hide_banner -i %1
14
15
+rem Base file name
16
+set BASE=%~dpn1
17
+
18
rem Enumerate video and audio streams, and generate associated output arguments
19
set OUTPUT=
20
set i=0
@@ -47,5 +50,5 @@ if "!EXT!" == "" (
47
50
echo The %2 %1 codec is currently unsupported. Please submit a PR or issue on GitHub to request support to be added.
48
51
exit /b
49
52
)
-set OUTPUT=!OUTPUT! "%~dpn1-!i!.!EXT!"
53
+set OUTPUT=!OUTPUT! "%BASE%-!i!.!EXT!"
54
0 commit comments