1oggzdump(1) General Commands Manual oggzdump(1)
2
3
4
6 oggzdump — Hexdump packets of an Ogg file, or revert an Ogg file from
7 such a hexdump
8
9
11 oggzdump [-b | --binary ] [-x | --hexadecimal ] [-n | --new ] [-o
12 filename | --output filename ] [-c content-type | --content-type
13 content-type ] [-s serialno | --serialno serialno ] [-O | --hide-
14 offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P |
15 --hide-packetno ] filename
16
17 oggzdump [-r | --revert ] [-o filename | --output filename ] file‐
18 name
19
20 oggzdump [-h | --help ] [-v | --version ]
21
23 oggzdump generates a hexadecimal or binary dump of packets in an Ogg
24 file, or creates an Ogg file from a hexadecimal oggzdump file.
25
26
28 oggzdump accepts the following options:
29
30
31 Dump format options
32 -b, --binary
33 Generate a binary dump of each packet
34
35
36 -x, --hexadecimal
37 Generate a hexadecimal dump of each packet
38
39
40 Filtering options
41 -n, --new Only dump the first packet of each new logical bitstream
42 found; for correctly formed Ogg files, this dumps only the
43 beginning-of-stream packets.
44
45
46 -c content-type, --content-type content-type
47 Dump only the logical bitstreams for a specific content-type.
48 The following codec names are currently detected: "cmml",
49 "flac", "theora", "speex", "vorbis"
50
51
52 -s serialno, --serialno serialno
53 Dump only the logical bitstream with specified serialno.
54
55
56 -O, --hide-offset
57 Hide the byte offset field of the preamble for each packet
58 dumped. This is particularly useful in conjunction with
59 oggzdiff(1) when comparing Ogg bitstreams that differ only in
60 page structure.
61
62
63 -S, --hide-serialno
64 Hide the serialno field of the preamble for each packet
65 dumped. This is particularly useful in conjunction with
66 oggzdiff(1) when comparing Ogg bitstreams that differ only in
67 serialno assignment.
68
69
70 -G, --hide-granulepos
71 Hide the granulepos field of the preamble for each packet
72 dumped.
73
74
75 -P, --hide-packetno
76 Hide the packetno field of the preamble for each packet
77 dumped.
78
79
80 Mode options
81 -r, --revert
82 Revert an oggzdump. Generates an Ogg bitstream as prescribed
83 in the input oggzdump.
84
85
86 The serialno, granulepos and packetno fields of the packet
87 preambles in the oggzdump, as well as any bos or eos markers
88 if present, are used to structure the packets into logical
89 bitstreams. Hence it is advised that the original input oggz‐
90 dump not be generated with any hiding filters.
91
92
93 Only the hexadecimal data columns of the input oggzdump are
94 parsed when generating Ogg packet data; the printable charac‐
95 ter representation is ignored.
96
97
98 Miscellaneous options
99 -o filename, --output filename
100 Write output to the specified filename instead of printing it
101 to standard output.
102
103
104 -h, --help
105 Display usage information and exit.
106
107 -v, --version
108 Output version information and exit.
109
111 Conrad Parker November 17, 2003;
112
114 Copyright © 2003 CSIRO Australia
115
116
118 oggzdiff(1), hogg(1) xxd(1), hexdump(1)
119
120
121
122 oggzdump(1)