MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / usage

Function usage

tools/pktdumper.c:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40#define EXTRADATAFILESUFF "_extradata_%02d_%06d.bin"
41
42static int usage(int ret)
43{
44 fprintf(stderr, "Dump (up to maxpkts) AVPackets as they are demuxed by libavformat.\n");
45 fprintf(stderr, "Each packet is dumped in its own file named like\n");
46 fprintf(stderr, "$(basename file.ext)_$PKTNUM_$STREAMINDEX_$STAMP_$SIZE_$FLAGS.bin\n");
47 fprintf(stderr, "pktdumper [-nw] file [maxpkts]\n");
48 fprintf(stderr, "-n\twrite No file at all, only demux.\n");
49 fprintf(stderr, "-w\tWait at end of processing instead of quitting.\n");
50 return ret;
51}
52
53int main(int argc, char **argv)
54{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected