Skip to content

Instantly share code, notes, and snippets.

@emisjerry
Created May 23, 2020 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emisjerry/088c5e519c0337db4c281c0d03504d0b to your computer and use it in GitHub Desktop.
Save emisjerry/088c5e519c0337db4c281c0d03504d0b to your computer and use it in GitHub Desktop.
AutoSub test
set CURR_TIME=%TIME::=%
set OUTPUT=%CURR_TIME%.srt
set VIDEO_DIR=D:\jerry\ActivePresenter\autosub-ahk2\Video
set VIDEO_FILE=autosub-ahk.mp4
set PARAM=-et 55 -mxrs 6 -mxcs 0.2 -mnrs 0.8
rem ----- Run it -----
autosub\autosub -S cmn-hant-tw -i "%VIDEO_DIR%\%VIDEO_FILE%" -o "%VIDEO_DIR%\%OUTPUT%" %PARAM%
start "subtitle" %VIDEO_DIR%\%CURR_TIME%.cmn-hant-tw.srt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment