Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: filter 추가(#29) #33

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public List<String> 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개 이미지 추출)
Expand Down
Loading