From b88b13e64ece06dec788f8160df07f2b58a497dc Mon Sep 17 00:00:00 2001 From: Roberto Cella Date: Tue, 21 Jul 2026 10:35:46 +0200 Subject: [PATCH 1/3] Separate standard output and error output in ProcessHelper --- .../stickerify/media/MediaHelper.java | 2 +- .../stickerify/process/ProcessHelper.java | 39 ++++++++++++++----- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/github/stickerifier/stickerify/media/MediaHelper.java b/src/main/java/com/github/stickerifier/stickerify/media/MediaHelper.java index 9932f8f0..5ba78ee7 100644 --- a/src/main/java/com/github/stickerifier/stickerify/media/MediaHelper.java +++ b/src/main/java/com/github/stickerifier/stickerify/media/MediaHelper.java @@ -186,7 +186,7 @@ static MultimediaInfo retrieveMultimediaInfo(File file) throws MediaException, I var command = new String[] { "ffprobe", "-hide_banner", - "-v", "quiet", + "-v", "error", "-print_format", "json", "-show_format", "-show_streams", diff --git a/src/main/java/com/github/stickerifier/stickerify/process/ProcessHelper.java b/src/main/java/com/github/stickerifier/stickerify/process/ProcessHelper.java index be54c530..9e3ff39f 100644 --- a/src/main/java/com/github/stickerifier/stickerify/process/ProcessHelper.java +++ b/src/main/java/com/github/stickerifier/stickerify/process/ProcessHelper.java @@ -22,7 +22,7 @@ public final class ProcessHelper { * environment variable (defaults to 4). * * @param command the command to be executed - * @return the merged stdout/stderr of the command + * @return the standard output of the command * @throws ProcessException either if: *