Skip to content

Commit

Permalink
refactor: change ffmpeg debug related lines as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gmkim20713 committed Nov 4, 2024
1 parent ec5d233 commit f9f12fa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private Mono<String> generateRecapFrame(String recapId, String memberName, Strin
String recapCreatedDate = DateTimeFormatter.ofPattern("yyyy.MM.dd").format(LocalDate.now());

FFmpegBuilder builder = new FFmpegBuilder()
.addExtraArgs("-loglevel", "debug")
// .addExtraArgs("-loglevel", "debug")
.addExtraArgs(
"-filter_complex",
String.format(
Expand Down Expand Up @@ -110,7 +110,7 @@ private Mono<Void> generateRecapPhotos(List<String> downloadedPath, String recap
return Mono.fromRunnable(() -> {
try {
FFmpegBuilder builder = new FFmpegBuilder()
.addExtraArgs("-loglevel", "debug")
// .addExtraArgs("-loglevel", "debug")
.addInput(recapProperties.getFrameFilePath(recapId));

for (String path : downloadedPath) {
Expand Down Expand Up @@ -154,7 +154,7 @@ private Mono<String> generateRecapVideo(String recapId) {
String recapVideoPath = recapProperties.getVideoFilePath(recapId);

FFmpegBuilder builder = new FFmpegBuilder()
.addExtraArgs("-loglevel", "debug")
// .addExtraArgs("-loglevel", "debug")
.addExtraArgs("-r", "2")
.addInput(recapProperties.getPhotoFilePath(recapId))
.addOutput(recapVideoPath)
Expand Down

0 comments on commit f9f12fa

Please sign in to comment.