테스트 · 도구의 작업 폴더 경로: M:\jj_CapCut → M:\jj_MKVMaker

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main
RyuJongJin 2026-10-05 00:00:34 +09:00
parent a973bcfda7
commit d73281adfd
5 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized(); IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets('whisper.cpp base: 영어·한국어 인식', (tester) async { testWidgets('whisper.cpp base: 영어·한국어 인식', (tester) async {
final model = p.join(Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_CapCut\models', final model = p.join(Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_MKVMaker\models',
'whisper', 'ggml-base.bin'); 'whisper', 'ggml-base.bin');
final assets = p.join(Directory.current.path, 'test_assets'); final assets = p.join(Directory.current.path, 'test_assets');
for (final name in ['speech_en.wav', 'speech_ko.wav']) { for (final name in ['speech_en.wav', 'speech_ko.wav']) {

View File

@ -311,7 +311,7 @@ https://example.com/page.html
final dir = Directory.systemTemp.createTempSync('jj_yt_'); final dir = Directory.systemTemp.createTempSync('jj_yt_');
addTearDown(() => dir.deleteSync(recursive: true)); addTearDown(() => dir.deleteSync(recursive: true));
final b = YtDlpBackend( final b = YtDlpBackend(
ytdlp: exe, ffmpegDir: r'M:\jj_CapCut\tools\ffmpeg\bin', deno: p.join(_tools, 'deno.exe')); ytdlp: exe, ffmpegDir: r'M:\jj_MKVMaker\tools\ffmpeg\bin', deno: p.join(_tools, 'deno.exe'));
final t = DownloadTask( final t = DownloadTask(
id: 'y', kind: DownloadKind.video, source: 'https://www.youtube.com/watch?v=jNQXAC9IVRw', dir: dir.path); id: 'y', kind: DownloadKind.video, source: 'https://www.youtube.com/watch?v=jNQXAC9IVRw', dir: dir.path);
final progress = <double>[]; final progress = <double>[];

View File

@ -9,7 +9,7 @@ import 'package:path/path.dart' as p;
/// NLLB 모델이 있어야 실행 (없으면 건너뜀) /// NLLB 모델이 있어야 실행 (없으면 건너뜀)
final modelDir = p.join( final modelDir = p.join(
Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_CapCut\models', 'nllb-200-distilled-600M'); Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_MKVMaker\models', 'nllb-200-distilled-600M');
void main() { void main() {
final hasModel = File(p.join(modelDir, 'tokenizer.json')).existsSync(); final hasModel = File(p.join(modelDir, 'tokenizer.json')).existsSync();

View File

@ -7,7 +7,7 @@ import 'package:path/path.dart' as p;
/// 실제 NLLB 모델을 외부 데이터 형식으로 바꿔 본다 (모델이 없으면 건너뜀). /// 실제 NLLB 모델을 외부 데이터 형식으로 바꿔 본다 (모델이 없으면 건너뜀).
/// 바꾼 모델이 원래와 같은 결과를 내는지는 tool/check_onnx_external.py 로 확인한다. /// 바꾼 모델이 원래와 같은 결과를 내는지는 tool/check_onnx_external.py 로 확인한다.
void main() { void main() {
final dir = p.join(Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_CapCut\models', 'nllb-200-distilled-600M'); final dir = p.join(Platform.environment['JJ_MKVMAKER_MODELS'] ?? r'M:\jj_MKVMaker\models', 'nllb-200-distilled-600M');
final out = Platform.environment['JJ_ONNX_EXT_OUT']; final out = Platform.environment['JJ_ONNX_EXT_OUT'];
test('ONNX 외부 데이터로 바꾸기', () { test('ONNX 외부 데이터로 바꾸기', () {
final tmp = out ?? Directory.systemTemp.createTempSync('onnx_ext').path; final tmp = out ?? Directory.systemTemp.createTempSync('onnx_ext').path;

View File

@ -1,7 +1,7 @@
# FFmpeg 를 third_party\ffmpeg\windows 로 준비한다 (빌드 시 앱에 동봉됨). # FFmpeg 를 third_party\ffmpeg\windows 로 준비한다 (빌드 시 앱에 동봉됨).
# 사용법: powershell -File tool\fetch_ffmpeg.ps1 [-Source M:\jj_CapCut\tools\ffmpeg] # 사용법: powershell -File tool\fetch_ffmpeg.ps1 [-Source M:\jj_MKVMaker\tools\ffmpeg]
param( param(
[string]$Source = "M:\jj_CapCut\tools\ffmpeg" [string]$Source = "M:\jj_MKVMaker\tools\ffmpeg"
) )
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
$dest = Join-Path $PSScriptRoot '..\third_party\ffmpeg\windows' $dest = Join-Path $PSScriptRoot '..\third_party\ffmpeg\windows'