Watch
1
0
Fork
You've already forked rogg
0
mirror of https://gitlab.xiph.org/xiph/rogg.git synced 2026-11-03 02:56:00 +00:00
Small library for manipulating Ogg streams in memory.
  • C 97.1%
  • Makefile 2.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2016-07-28 20:09:39 -07:00
.gitignore Add rogg_granule to .gitignore. 2016-07-28 20:09:39 -07:00
.travis.yml Add a build description for the travis continuous integration service. 2016-07-13 09:12:35 -07:00
Makefile Add rogg_granule. 2016-07-28 20:09:39 -07:00
README Add option -k n to rogg_granule which specifies the number of header packets to be skipped when adjusting granulepos. The default number of packets to skip is 3, which is suitable for Vorbis streams. Do not generally skip pages with granulepos 0 any more, because these can occur as valid Vorbis data pages. 2016-07-28 20:09:39 -07:00
rogg.c Add rogg_page_packets_starting(), rogg_page_packets_ending() and rogg_page_packets_full() which count the number of packets on a page. 2016-07-28 20:09:39 -07:00
rogg.h Add rogg_page_packets_starting(), rogg_page_packets_ending() and rogg_page_packets_full() which count the number of packets on a page. 2016-07-28 20:09:39 -07:00
rogg_crcfix.c mmap returns MAP_FAILED, not NULL, on error. 2009-06-10 23:11:53 +00:00
rogg_eosfix.c mmap returns MAP_FAILED, not NULL, on error. 2009-06-10 23:11:53 +00:00
rogg_granule.c Add option -k n to rogg_granule which specifies the number of header packets to be skipped when adjusting granulepos. The default number of packets to skip is 3, which is suitable for Vorbis streams. Do not generally skip pages with granulepos 0 any more, because these can occur as valid Vorbis data pages. 2016-07-28 20:09:39 -07:00
rogg_kate.c Add a script for twiddling Kate parameters. 2012-09-13 14:59:06 -07:00
rogg_opus.c Implement rogg_opus -g to adjust the output gain. 2014-11-04 23:04:47 -08:00
rogg_pagedump.c Don't ask for write access in rogg_stats. 2012-08-23 15:48:27 -07:00
rogg_serial.c Fix filename in comment in rogg_serial.c. 2016-07-13 09:12:19 -07:00
rogg_stats.c Fix typo in error message. 2014-11-04 23:04:47 -08:00
rogg_theora.c Fix typo in error message. 2014-11-04 23:04:47 -08:00

== rogg - Raw Ogg file library and utilities ==

rogg is a small library I wrote for manipulating Ogg streams in memory.

This makes it convenient to write certain quick scripts for checking
and fixing simple bitstream errors in mmap()'d files. 

Examples:

  rogg_theora will dump and optionally set the frame rate, the
  pixel aspect ratio and the crop rectangle stored in an Ogg
  Theora stream.

  rogg_eosfix will set the end_of_stream flag on the last page
  of a stream. This is often unset in downloads truncated from
  an icecast stream.

  rogg_crcfix will reset the CRCs on all the Ogg pages in a stream.
  This is mostly useful if the stream has been edited with some
  non-aware tool.

  rogg_pagedump dumps some basic header information for each page
  in a stream.

  rogg_serial changes the serial number of a logical ogg stream.

  rogg_kate will dump and optionally set the language, category,
  and original canvas size stored in an Ogg Kate stream.

  rogg_granule will adjust non-header and non-minus1 granule positions
  by the given amount, which is useful to chop off individual PCM
  samples at the beginnig of Vorbis streams.