OggInfo

From XiphWiki
Jump to: navigation, search

The following is a draft.

It is at best incomplete and at worst completely broken. In any case, it is not an "official" Xiph spec/codec, so use with care.


Draft of an infoAPI with ogginfo as a sample application:

generic:

  • is_audio boolean
  • is_video boolean
  • is_text boolean
  • version int
  • codec string
  • comment string
  • vendor string
  • target bitrate int
  • nominal bitrate int
  • quality float

audio:

  • samplerate int
  • channels int

video:

  • size int,int
  • fps int,int
  • sar int,int
  • dar int,int
  • colorspace

text:

  • language string
  • encoding int/string ?