MCPcopy Create free account
hub / github.com/dirkvdb/ffmpegthumbnailer / printUsage

Function printUsage

main.cpp:183–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void printUsage()
184{
185 std::cout << "Usage: " PACKAGE " [options]\n\n"
186 << "Options:\n"
187 << " -i<s> : input file\n"
188 << " -o<s> : output file\n"
189 << " -s<n> : thumbnail size (use 0 for original size) (default: 128)\n"
190 << " -t<n|s> : time to seek to (percentage or absolute time hh:mm:ss) (default: 10%)\n"
191 << " -q<n> : image quality (0 = bad, 10 = best) (default: 8)\n"
192 << " -c : override image format (jpeg, png or rgb) (default: determined by filename)\n"
193 << " -a : ignore aspect ratio and generate square thumbnail\n"
194 << " -f : create a movie strip overlay\n"
195 //<< " -p : use smarter frame selection (slower)\n"
196 << " -m : prefer embedded image metadata over video content\n"
197 << " -w : workaround issues in old versions of ffmpeg\n"
198 << " -v : print version number\n"
199 << " -h : display this help\n";
200}
201
202ThumbnailerImageType determineImageTypeFromString(const std::string& type)
203{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected