Skip to content
Snippets Groups Projects
Commit 8538d3a3 authored by Tristan Walter's avatar Tristan Walter
Browse files

* add averaging

parent 911c4e49
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,8 @@ VideoOpener::VideoOpener() {
if(_result.tab.extension == "pv") {
// PV file, no need to add cmd
} else if(!_result.selected_file.empty()) {
_result.cmd = "-i '" + path.str() + "' " + "-o '"+TEMP_SETTING(output_name).value<file::Path>().str()+"' -threshold "+TEMP_SETTING(threshold).get().valueString()+" -average_samples "+TEMP_SETTING(average_samples).get().valueString()+ " -reset_average";
_result.cmd = "-i '" + path.str() + "' " + "-o '"+TEMP_SETTING(output_name).value<file::Path>().str()+"' -threshold "+TEMP_SETTING(threshold).get().valueString()+" -average_samples "+TEMP_SETTING(average_samples).get().valueString()+ " -reset_average"
+" -averaging_method "+TEMP_SETTING(averaging_method).get().valueString();
}
if(_load_results_checkbox && _load_results_checkbox->checked()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment