From b19caa94a7e28ff81dfef73fdb51ec68a0cd2e53 Mon Sep 17 00:00:00 2001 From: SJ70 Date: Tue, 15 Oct 2024 23:33:44 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EC=B6=9C=EB=A0=A5=20=EC=83=9D=EB=9E=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/j9/bestmoments/constants/ImageFileTypes.java | 1 - .../java/com/j9/bestmoments/service/FfmpegService.java | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/j9/bestmoments/constants/ImageFileTypes.java b/src/main/java/com/j9/bestmoments/constants/ImageFileTypes.java index 71a72b1..1e03bbc 100644 --- a/src/main/java/com/j9/bestmoments/constants/ImageFileTypes.java +++ b/src/main/java/com/j9/bestmoments/constants/ImageFileTypes.java @@ -19,7 +19,6 @@ public enum ImageFileTypes { private final String contentType; public static boolean contains(String contentType) { - System.out.println(contentType); if (contentType == null) { return false; } diff --git a/src/main/java/com/j9/bestmoments/service/FfmpegService.java b/src/main/java/com/j9/bestmoments/service/FfmpegService.java index b16d6dd..e0ec09b 100644 --- a/src/main/java/com/j9/bestmoments/service/FfmpegService.java +++ b/src/main/java/com/j9/bestmoments/service/FfmpegService.java @@ -38,10 +38,10 @@ public void encodeVideo(String inputFilePath, String outputFilePath, String reso // 로그 스트림 처리 try (BufferedReader reader = new BufferedReader(new InputStreamReader(process.getErrorStream()))) { - String line; - while ((line = reader.readLine()) != null) { - System.out.println(line); // 로그를 출력하거나 저장할 수 있습니다. - } +// String line; +// while ((line = reader.readLine()) != null) { +// log.info(line); +// } } int exitCode = process.waitFor();