Skip to content

Commit 062a35b

Browse files
committed
Added quiet ffmpeg implementation. Fixes #35.
1 parent 3ac39ae commit 062a35b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

batch encoder.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,11 @@ if defined par_updated-from (
215215
if /i "!outputfiledupe!"=="true" (echo Proposed output file already exists^^^! Appending timestamp...)
216216

217217
call:GrayTimeout 5
218+
219+
rem Move cursor 3 lines up
220+
echo 
218221

219-
%LOCATION% -i "%CD%\!INPUTFILE!" -map 0 "%CD%\!OUTPUTFILE!"
222+
%LOCATION% -v quiet -stats -i "%CD%\!INPUTFILE!" -map 0 "%CD%\!OUTPUTFILE!"
220223

221224
echo.
222225
echo.
@@ -237,7 +240,7 @@ if defined par_updated-from (
237240
'powershell -Command "$Shell = New-Object -ComObject Shell.Application; $Folder = $Shell.Namespace('%cd%'); $Folder.GetDetailsOf($Folder.ParseName('!OUTPUTFILE!'), 27)"'
238241
) do (set LEN_OUT=%%g)
239242
echo Input file: !LEN_INP! - Output file: !LEN_OUT!
240-
if /i not "!LEN_INP!"=="!LEN_OUT!" goto CritError
243+
if /i not "!LEN_INP!"=="!LEN_OUT!" (goto CritError)
241244
echo - File lengths match^^!
242245
echo.
243246
echo %icongreen% ^| %formatend% Safely proceeding with input file recycling...

0 commit comments

Comments
 (0)