Print the final file location

This commit is contained in:
Joni Räsänen 2021-11-18 10:59:25 +02:00
parent 725b74939e
commit f946044e53
2 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ GetOptions(
"quantization|qp=i" => \(my $qp = 27),
"framerate|fps=i" => \(my $fps = 30),
"intra-period|intra=i" => \(my $period = 64),
"preset=s" => \(my $preset = "medium"),
"preset|pre=s" => \(my $preset = "medium"),
"help" => \(my $help = 0)
) or die "failed to parse command line!\n";
@ -44,5 +44,9 @@ my $height = $2;
system "make test_file_creation";
# run file creation
system ("./test_file_creation $filename $width $height $qp $fps $period $preset");
my $exit_code = system ("./test_file_creation $filename $width $height $qp $fps $period $preset");
if($exit_code!=0)
{
die "Failed to run file creator.\n";
}

View File

@ -139,7 +139,7 @@ int kvazaar_encode(const std::string& input, const std::string& output,
if (chunks_out == NULL && img_in == NULL) {
// We are done since there is no more input and output left.
cleanup(inputFile, outputFile);
std::cout << "Finished creating the HEVC benchmark file" << std::endl;
std::cout << "Finished creating the HEVC benchmark file to " << output << std::endl;
return EXIT_SUCCESS;
}
@ -164,7 +164,7 @@ int kvazaar_encode(const std::string& input, const std::string& output,
}
}
std::cout << "Finished creating the HEVC benchmark file" << std::endl;
std::cout << "Finished creating the HEVC benchmark file to " << output << std::endl;
cleanup(inputFile, outputFile);