Skip to content

Commit 31717c7

Browse files
authored
Remove div program and use fps fraction directly. (#9)
1 parent afd3d87 commit 31717c7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

global.bat

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ echo Encoding video...
283283

284284
:: Muxing ::
285285
for /f "tokens=2 delims==" %%i in ('FINDSTR "r_frame_rate" "%~dp0temp\info.txt"') do (set fps=%%i)
286-
for /f %%k in ('^""%~dp0programs\div" %fps%^"') do (set double=%%k)
287-
".\programs\mp4box_x64" -hint -add ".\temp\video_512kb.h264":fps=%double% -add ".\temp\audio.mp4" -new ".\output\encode_512kb.mp4"
286+
".\programs\mp4box_x64" -hint -add ".\temp\video_512kb.h264":fps=%fps% -add ".\temp\audio.mp4" -new ".\output\encode_512kb.mp4"
288287
goto Defaults
289288

290289
: ExtraHQ_10bit444
@@ -332,8 +331,7 @@ echo Encoding video...
332331

333332
:: Muxing ::
334333
for /f "tokens=2 delims==" %%i in ('FINDSTR "r_frame_rate" "%~dp0temp\info.txt"') do (set fps=%%i)
335-
for /f %%k in ('^""%~dp0programs\div" %fps%^"') do (set double=%%k)
336-
".\programs\mp4box_x64" -hint -add ".\temp\video_%ExtraScale%x_512kb.h264":fps=%double% -add ".\temp\audio_extra.mp4" -new ".\output\encode_%ExtraScale%x_512kb.mp4"
334+
".\programs\mp4box_x64" -hint -add ".\temp\video_%ExtraScale%x_512kb.h264":fps=%fps% -add ".\temp\audio_extra.mp4" -new ".\output\encode_%ExtraScale%x_512kb.mp4"
337335
goto check_more_hqfactors
338336

339337
:check_more_hqfactors

programs/div.exe

-359 KB
Binary file not shown.

0 commit comments

Comments
 (0)