-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
36 lines (31 loc) · 1.15 KB
/
Copy pathstart.bat
File metadata and controls
36 lines (31 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
chcp 65001 >nul
cd /d "%~dp0"
rem ============================================================
rem 1KeyTranscoder watchfolder launcher
rem Drop video files into the INPUT folder; they are processed
rem automatically. Ctrl+C stops the loop.
rem (edit the variables below to change behaviour)
rem ============================================================
set "INPUT=F:\1KeyTranscoder\watch_input"
set "OUTPUT=F:\1KeyTranscoder\watch_output"
set "ENCODER=nvenc"
set "PRESET=hq"
set "CHECK=basic"
set "JOBS=1"
set "INTERVAL=60"
if not exist "%INPUT%" mkdir "%INPUT%"
if not exist "%OUTPUT%" mkdir "%OUTPUT%"
echo ============================================================
echo 1KeyTranscoder watchfolder
echo Encoder: %ENCODER% Preset: %PRESET%
echo Check : %CHECK% Jobs: %JOBS%
echo Input : %INPUT%
echo Output: %OUTPUT%
echo Poll : every %INTERVAL% seconds
echo ============================================================
echo.
python watchfolder.py --input "%INPUT%" --output "%OUTPUT%" --encoder %ENCODER% --preset %PRESET% --check %CHECK% --jobs %JOBS% --interval %INTERVAL%
echo.
echo watchfolder exited (rc=%ERRORLEVEL%)
pause