From 00333553a8a40bf48629122b62e4deb01619fa8a Mon Sep 17 00:00:00 2001 From: kimjihyun Date: Sat, 30 Nov 2024 07:40:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20filter=20=EC=B6=94=EA=B0=80(#29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../diecastvideo/service/DiecastvideoCommandService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/aws/teamthreefive/diecastvideo/service/DiecastvideoCommandService.java b/src/main/java/aws/teamthreefive/diecastvideo/service/DiecastvideoCommandService.java index ea40e6a..8263a84 100644 --- a/src/main/java/aws/teamthreefive/diecastvideo/service/DiecastvideoCommandService.java +++ b/src/main/java/aws/teamthreefive/diecastvideo/service/DiecastvideoCommandService.java @@ -91,7 +91,7 @@ public List extractAndUploadFrames(File videoFile, Long videoId) { String outputPath = outputDir.getAbsolutePath() + "/frame_%03d.jpg"; // 필터 설정: 4.2초 주기 동안 2.463초 동안 5개의 이미지를 추출하고, 나머지 1.n초는 건너뛰기, fps=5%2.463 - String filter = "select='lt(mod(t,4.4),2.43)',fps=2.057"; + String filter = "select='lt(mod(t,4.4),2.44)',fps=2.049"; //2.47, 2.475, 2.472, 2.468, 2.463(best), 2.461(best), 2.462(최악), 2.45(최악), 2.464(최악) //2.465 //4.4초 주기 동안 0.48초 간격(총 2.44초 동안 5개 이미지 추출)