Scroll to navigation

oggz-diff(1) General Commands Manual oggz-diff(1)

NAME

oggz-diff — Hexdump the packets of two Ogg files and output differences

SYNOPSIS

oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg file2.ogg

options: [--verbose ] [-v | --version ] [-h | --help ]

OGGZDUMP_OPTIONS: [-b | --binary ] [-x | --hexadecimal ] [-c content-type | --content-type content-type ] [-s serialno | --serialno serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P | --hide-packetno ]

DIFF_OPTIONS: [-q | --brief ] [-C NUM | --context[=NUM] ] [-u | -U NUM | --unified[=NUM] ] [-e | --ed ] [--normal ] [--rcs ] [-y | --side-by-side ] [-l | --paginate ]

Description

oggz-diff is a sh script which uses oggz-dump to generate hexadecimal packet dumps of each input file, then outputs the difference between these dumps using diff.

Options

oggz-diff forwards a subset of options accepted by oggz-dump and diff. See oggz-dump(1) and diff(1) for more detail.

oggz-dump format options

Generate a binary dump of each packet

Generate a hexadecimal dump of each packet

oggz-dump filtering options

Dump only the logical bitstreams for a specific content-type. Run oggz-known-codecs(1) for a full list of codecs known by the installed version of oggz.

Dump only the logical bitstream with specified serialno.

Hide the byte offset field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that differ only in page structure.

Hide the serialno field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that differ only in serialno assignment.

Hide the granulepos field of the preamble for each packet dumped.

Hide the packetno field of the preamble for each packet dumped.

diff options

The -w (--ignore-all-space) option to diff is always implied.

Output only whether files differ.

Output NUM lines of copied context.

Output NUM (default 3) lines of unified context.

Output an ed script.

Output a normal diff.

Output an RCS format diff.

Output in two columns.

Pass the output through pr to paginate it.

Miscellaneous options

Display verbose messages.
Display version information and exit.
Display usage information and exit.

AUTHOR

Conrad Parker

COPYRIGHT

Copyright © 2003 CSIRO Australia

SEE ALSO

oggz-dump(1), diff(1), patch(1)