The hogg package

[Tags:bsd3, library, program]

The HOgg package provides a commandline tool for manipulating Ogg files. It supports chained and multiplexed Ogg bitstreams and Ogg Skeleton. HOgg also includes a library that may be used by other packages for handling the Ogg container format.

[Skip to Readme]


Versions 0.2.0, 0.3.0, 0.4.1,,
Dependencies base, fps, HUnit, mtl [details]
License BSD3
Copyright Conrad Parker, 2006
Author Conrad Parker
Stability experimental
Category Codec
Home page
Uploaded Thu Dec 6 07:52:42 UTC 2007 by ConradParker
Distributions NixOS:
Downloads 1172 total (9 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-20 [all 4 reports]


  • Codec
    • Container
      • Ogg
        • Codec.Container.Ogg.Chain
        • Codec.Container.Ogg.Granulepos
        • Codec.Container.Ogg.Granulerate
        • Codec.Container.Ogg.Packet
        • Codec.Container.Ogg.Page
        • Codec.Container.Ogg.RawPage
        • Codec.Container.Ogg.Skeleton
        • Codec.Container.Ogg.Timestamp
        • Codec.Container.Ogg.Track


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hogg

Readme for hogg-0.2.0

HOgg -- Ogg encapsulation stuffz

	- Cabal (tested with various version from 1.1.3 to 1.1.6 and darcs)
        - Data.ByteString, included with GHC 6.6, and available separately for
GHC 6.4 at: (version 0.7 or greater)

	If building on Debian GNU/Linux:
        $ apt-get install ghc6 libghc6-mtl-dev libghc6-hunit-dev
        $ apt-get install libghc6-cabal-dev # not needed for Debian unstable


Note that if you are building with GHC6.6, you will need to edit hogg.cabal
by removing 'fps' from the Build-Depends line.

	$ chmod +x Setup.hs
	$ ./Setup.hs configure
	$ ./Setup.hs build
	$ ./Setup.hs install

	General help (lists subcommands):

		hogg help

	Help on a subcommand:

		hogg help <subcommand>

	Dump packets of an Ogg file:

		hogg dump file.ogg

	Dump pages of an Ogg file

		hogg pagedump file.ogg

	Dump vorbis (theora, speex) packets

		hogg dump -c vorbis file.ogg
		hogg pagedump -c vorbis file.ogg
		hogg dumpraw -c vorbis file.ogg

Checking stuff works:

	Rewrite a file (parse pages, rewrite page data):

		hogg rewrite file.ogg > newfile.ogg
		diff file.ogg newfile.ogg

	Repacket a file (parse to packets, rewrite with original segmentation):

		hogg repacket file.ogg > newfile.ogg
		diff file.ogg newfile.ogg