MCPcopy Create free account
hub / github.com/KDE/kdenlive / printUsage

Function printUsage

testingArea/audioOffset.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "../src/lib/audio/audioStreamInfo.h"
23
24void printUsage(const char *path)
25{
26 std::cout << "This executable takes two audio/video files A and B and determines " << std::endl
27 << "how much B needs to be shifted in order to be synchronized with A." << std::endl
28 << std::endl
29 << path << " <main audio file> <second audio file>" << std::endl
30 << "\t-h, --help\n\t\tDisplay this help" << std::endl
31 << "\t--fft\n\t\tUse Fourier Transform (FFT) to calculate the offset. This only takes" << std::endl
32 << "\t\tO(n log n) time compared to O(n²) when using normal correlation and should be " << std::endl
33 << "\t\tfaster for large data (several minutes)." << std::endl
34 << "\t--profile=<profile>\n\t\tUse the given profile for calculation (run: melt -query profiles)" << std::endl
35 << "\t--no-images\n\t\tDo not save envelope and correlation images" << std::endl;
36}
37
38int main(int argc, char *argv[])
39{

Callers 2

foreachFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected