- 选择文件夹/单文件 → SenseVoice 转录 → LLM 修正 → 多路线翻译 → 双语 SRT - 路线:直译中文 / 英转中 / 仅转录 - 并发流水线:转录(可调) + LLM 并发(可调),降噪拆锁并发 - 断点续跑:.subtitle-work/ 中间产物,三阶段独立续跑 + 翻译段级续跑 - 去重:history 跟随视频文件夹,防重复任务保护 - 实时进度:SSE 推送 + 耗时显示 + 子任务状态 + 重新生成按钮 - 时间戳调优:VAD silence_schedule + noisereduce 降噪 + 完整性校验
24 lines
552 B
Batchfile
24 lines
552 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
title subtitle-studio 停止
|
|
setlocal
|
|
|
|
REM ===== 停止 subtitle-studio 服务 =====
|
|
set PORT=8788
|
|
|
|
echo 查找端口 %PORT% 上的进程...
|
|
for /f "tokens=5" %%p in ('netstat -ano ^| findstr ":%PORT%" ^| findstr "LISTENING"') do (
|
|
echo 停止 PID %%p
|
|
taskkill /f /pid %%p >nul 2>&1
|
|
)
|
|
|
|
timeout /t 1 /nobreak >nul
|
|
|
|
netstat -ano | findstr ":%PORT%" | findstr "LISTENING" >nul 2>&1
|
|
if %errorlevel%==0 (
|
|
echo ⚠️ 端口仍被占用,可能需要手动结束
|
|
) else (
|
|
echo ✅ subtitle-studio 已停止
|
|
)
|
|
pause
|