oggzdump

Langue: en

Autres versions - même langue

Version: 42765 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

NAME

oggzdump --- Hexdump packets of an Ogg file, or revert an Ogg file from such a hexdump
 

SYNOPSIS

oggzdump [-b | --binary ] [-x | --hexadecimal ] [-n | --new ] [-o filename | --output filename ] [-c content-type | --content-type content-type ] [-s serialno | --serialno serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P | --hide-packetno ] filename

oggzdump [-r | --revert ] [-o filename | --output filename ] filename

oggzdump [-h | --help ] [-v | --version ]

Description

oggzdump generates a hexadecimal or binary dump of packets in an Ogg file, or creates an Ogg file from a hexadecimal oggzdump file.
 

Options

oggzdump accepts the following options:
 

Dump format options

-b, --binary
Generate a binary dump of each packet
 
-x, --hexadecimal
Generate a hexadecimal dump of each packet
 

Filtering options

-n, --new
Only dump the first packet of each new logical bitstream found; for correctly formed Ogg files, this dumps only the beginning-of-stream packets.
 
-c content-type, --content-type content-type
Dump only the logical bitstreams for a specific content-type. The following codec names are currently detected: "theora", "vorbis", "speex", "cmml"
 
-s serialno, --serialno serialno
Dump only the logical bitstream with specified serialno.
 
-O, --hide-offset
Hide the byte offset field of the preamble for each packet dumped. This is particularly useful in conjunction with oggzdiff(1) when comparing Ogg bitstreams that differ only in page structure.
 
-S, --hide-serialno
Hide the serialno field of the preamble for each packet dumped. This is particularly useful in conjunction with oggzdiff(1) when comparing Ogg bitstreams that differ only in serialno assignment.
 
-G, --hide-granulepos
Hide the granulepos field of the preamble for each packet dumped.
 
-P, --hide-packetno
Hide the packetno field of the preamble for each packet dumped.
 

Mode options

-r, --revert
Revert an oggzdump. Generates an Ogg bitstream as prescribed in the input oggzdump.
 
The serialno, granulepos and packetno fields of the packet preambles in the oggzdump, as well as any bos or eos markers if present, are used to structure the packets into logical bitstreams. Hence it is advised that the original input oggzdump not be generated with any hiding filters.
 
Only the hexadecimal data columns of the input oggzdump are parsed when generating Ogg packet data; the printable character representation is ignored.
 

Miscellaneous options

-o filename, --output filename
Write output to the specified filename instead of printing it to standard output.
 
-h, --help
Display usage information and exit.
-v, --version
Output version information and exit.

AUTHOR

Conrad Parker November 17, 2003;

Copyright © 2003 CSIRO Australia
 

SEE ALSO

oggzdiff(1), xxd(1), hexdump(1)