Libogg is a library for manipulating Ogg bitstream file formats. Libogg supports both making Ogg bitstreams and getting packets from Ogg bitstreams.