oggz-dump(1)
π oggz-dump β the manual page, but make it make sense
okay bestie, welcome to the oggz-dump(1) page from the General Commands Manual β¨ this is the little tool that hexdumps the packets inside an Ogg file, or goes the other way and rebuilds an Ogg file back out of one of those hexdumps. it's giving time-travel but for bytes π¦
πΈ NAME πΈ
oggz-dump β hexdump packets of an Ogg file, or revert an Ogg file from such a hexdump π
β¨ SYNOPSIS β¨
like, here's how you call it:
oggz-dump [-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
oggz-dump [-r | --revert ] [-o filename | --output filename ]
filename
oggz-dump [-h | --help ] [-v | --version ]
three whole moods, pick your fighter π
π«Ά Description π«Ά
so oggz-dump either generates a hexadecimal or binary dump of the packets in an Ogg file, or it does the reverse and creates an Ogg file from a hexadecimal oggz-dump file. yes, it's bidirectional, it's versatile, it's the moment π
π Options π
oggz-dump accepts the following options, and there are a lot of them, so buckle up:
π Dump format options
-b,--binaryβ generate a binary dump of each packet. raw bytes, no notes π§-x,--hexadecimalβ generate a hexadecimal dump of each packet. classic hex girlie behaviour β¨
π Filtering options
-n,--newβ only dump the first packet of each new logical bitstream it finds. for correctly formed Ogg files that means you only get the beginning-of-stream packets. like, first impressions only π-c content-type,--content-type content-typeβ dump only the logical bitstreams for one specific content-type. runoggz-known-codecs(1)for the full list of codecs known by the version of oggz you actually have installed π-s serialno,--serialno serialnoβ dump only the logical bitstream with the specifiedserialno. one bitstream, one bestie, no distractions πΈ-O,--hide-offsetβ hide the byte offset field of the preamble for each packet dumped. lowkey iconic when you're using it withoggzdiff(1)to compare Ogg bitstreams that differ only in page structure π-S,--hide-serialnoβ hide theserialnofield of the preamble for each packet dumped. same energy: super useful alongsideoggzdiff(1)when comparing Ogg bitstreams that differ only in serialno assignment π-G,--hide-granuleposβ hide thegranuleposfield of the preamble for each packet dumped. bye felicia π¦-P,--hide-packetnoβ hide thepacketnofield of the preamble for each packet dumped. gone, not sorry β
π§ Mode options
-r,--revertβ revert anoggz-dump. it generates an Ogg bitstream as prescribed in the inputoggz-dump.
the serialno, granulepos and packetno fields of the packet preambles in the oggz-dump, plus any bos or eos markers if they're present, get used to structure the packets into logical bitstreams. so yeah β it is advised that the original input oggz-dump not be generated with any hiding filters. no cap, hiding stuff will ruin the rebuild π
only the hexadecimal data columns of the input oggz-dump are parsed when generating Ogg packet data. the printable character representation? ignored. not invited. π
π Miscellaneous options
-o filename,--output filenameβ write output to the specifiedfilenameinstead of printing it to standard output. file girlies rise π-h,--helpβ display usage information and exit. the classic cry for help π«Ά-v,--versionβ output version information and exit. tell me who you are β¨
π₯ EXAMPLES π₯
dump all the bitstreams in file.ogg:
oggz dump file.ogg
dump only the Theora bitstream in file.ogv:
oggz dump -c theora file.ogv
see how it's oggz dump in the examples? that's not a typo on my part, that's literally what's written, don't come for me π
π AUTHOR π
Conrad Parker β November 17, 2003;
π COPYRIGHT π
Copyright Β© 2003 CSIRO Australia
β SEE ALSO β
oggz-diff(1), hogg(1), xxd(1), hexdump(1)
and that's the whole page bestie, we ate and left no crumbs π
this was oggz-dump(1), from the General Commands Manual β that exact title, dated and versioned and everything, is the little footer this page wears like a tiny crown π go hexdump something, ily π¦β¨
π¦ where this page comes from
- arch rolling: liboggz 1.1.3-1 Β· BSD-3-Clause
- debian bookworm: oggz-tools 1.1.1-8+b1 Β· BSD-3-Clause
- debian trixie: oggz-tools 1.1.3-1 Β· BSD-3-Clause
- epel 10: liboggz 1.1.1-32.el10_0 Β· BSD-3-Clause
- epel 9: liboggz 1.1.1-23.el9 Β· BSD
- fedora 43: liboggz 1.1.1-35.fc43 Β· BSD-3-Clause
- fedora 43: liboggz 1.1.1-35.fc43 Β· BSD-3-Clause
- fedora 44: liboggz 1.1.3-1.fc44 Β· BSD-3-Clause
- fedora 44: liboggz 1.1.3-1.fc44 Β· BSD-3-Clause
- nixos 26.05: liboggz 1.1.3
- nixpkgs unstable: liboggz 1.1.3
- ubuntu jammy: oggz-tools 1.1.1-8 Β· BSD-3-Clause
- ubuntu noble: oggz-tools 1.1.1-8 Β· BSD-3-Clause
- ubuntu questing: oggz-tools 1.1.3-1
- ubuntu resolute: oggz-tools 1.1.3-3 Β· BSD-3-Clause
- ubuntu stonking: oggz-tools 1.1.3-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms