mirror of
https://github.com/tkmxqrdxddd/davinci-video-converter
synced 2025-11-08 18:45:05 +01:00
fixed error log output
This commit is contained in:
@@ -40,7 +40,7 @@ void VideoConverter::startConversion(const std::string &inputFile, const std::st
|
|||||||
std::cout << "Starting conversion..." << std::endl;
|
std::cout << "Starting conversion..." << std::endl;
|
||||||
|
|
||||||
std::thread([this, inputFile, outputPath]() {
|
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());
|
int result = std::system(command.c_str());
|
||||||
conversionInProgress = false;
|
conversionInProgress = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user