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
-b, --binary
Generate a binary dump of each packet
-x, --hexadeciaml
Generate a hexadecimal dump of each packet
oggz-dump filtering options
-c content-type, --content-type content-type
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.
-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 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 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.
diff options
The -w (--ignore-all-space) option to diffis always implied.