From a5cda7e50058aeeeccca2d6eedca4fd950c83e4b Mon Sep 17 00:00:00 2001 From: tkmxqrdxddd Date: Sat, 19 Oct 2024 21:20:24 +0200 Subject: [PATCH] fixed error log output --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f15e63d..ad3144f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,7 @@ void VideoConverter::startConversion(const std::string &inputFile, const std::st std::cout << "Starting conversion..." << std::endl; std::thread([this, inputFile, outputPath]() { - std::string command = "ffmpeg -i \"" + inputFile + "\" -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a alac \"" + outputPath.string() + "\" 2> ffmpeg_error.log"; + std::string command = "ffmpeg -i \"" + inputFile + "\" -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a alac \"" + outputPath.string() + "\" 2> /dev/null"; int result = std::system(command.c_str()); conversionInProgress = false;