Difference between revisions of "OggInfo"

From XiphWiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
infoAPI with ''ogginfo'' as a sample application:
+
Draft of an infoAPI with ''ogginfo'' as a sample application:
  
 
'''generic:'''
 
'''generic:'''
*is_audio bolean
+
*is_audio boolean
*is_video bolean
+
*is_video boolean
*is_text bolean
+
*is_text boolean
*version int
+
*version int
*codec string
+
*codec   string
*comment string
+
*comment string
*vendor string
+
*vendor string
*target bitrate int
+
*target bitrate int
*nominal bitrate int
+
*nominal bitrate int
*quality float
+
*quality float
 +
 
 +
'''audio:'''
 +
*samplerate  int
 +
*channels  int
  
 
'''video:'''
 
'''video:'''
*size int,int
+
*size   int,int
*fps int,int
+
*fps   int,int
*par int,int
+
*sar  int,int
*colorspace
+
*dar  int,int
 +
*colorspace
  
'''audio:'''
+
'''text:'''
*samplerate int
+
*language  string
*channels int
+
*encoding  int/string ?
 +
 
 +
[[Category:Drafts]]
 +
[[Category:Ogg]]

Latest revision as of 19:45, 20 February 2008

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 ?