Difference between revisions of "Ogg"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Source code: Fix broken git link)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{wikipedia|Ogg}}
 
{{wikipedia|Ogg}}
 
{{open}}
 
{{open}}
Being a [[Container]] format, ogg can embed third-party codecs (such as [[DivX]], [[Dirac]], [[XviD]], [[MP3]] and others) but usually Ogg is used with the following.<BR>
+
Being a [[Container]] format, ogg can embed third-party codecs (such as [[DivX]], [[XviD]], [[MP3]] and others) but usually Ogg is used with [[Vorbis]], [[Theora]], [[FLAC]] and [[Dirac]].<BR>
<BR>
 
*Audio codecs
 
**lossy
 
***[[Speex]] handles voice data at low bitrates (~8-32 kbit/s/channel)
 
***[[Vorbis]] handles general audio data at mid- to high-level bitrates (~16-256 kbit/s/channel)
 
**lossless
 
***[[FLAC]] handles archival and high fidelity audio data
 
  
*Text codec
+
== Accepted codecs ==
**Writ a text codec designed to embed subtitles or captions
+
Below are the compatible codecs for OGG.
  
*Video codecs
+
=== Accepted audio codecs ===
**[[Theora]] based upon On2's [[VP3]], it is targeted at competing with MPEG-4 video (i.e. [[DivX]] and [[XviD]]), [[RealVideo]], or [[WMV|Windows Media Video]].
+
* [[vorb]]: Vorbis handles general audio data at mid- to high-level bitrates (~16-256 kbit/s/channel)
**[[Tarkin]] an experimental codec utilizing 3D wavelet transforms. It has been put on hold, with Theora becoming the main focus for video encoding.
+
* [[flac]]: Free lossless audio codec. Has same sound quality as [[wave]], but only cca half the size.  
 +
* [[spx]]: Speex handles voice data at low bitrates (~8-32 kbit/s/channel)
  
(Taken from the wikipedia article)
+
=== Accepted video codecs ===
 +
* [[theo]]: Theora based upon On2's [[VP3]], it is targeted at competing with MPEG-4 video (i.e. [[DivX]] and [[XviD]]), [[RealVideo]], or [[WMV|Windows Media Video]].
 +
* [[drac]]
 +
* [[tark]] (decoding only): Tarkin, an experimental codec utilizing 3D wavelet transforms. It has been put on hold, with Theora becoming the main focus for video encoding.
 +
 
 +
* [[mpgv]]: MPEG
 +
* [[mp4v]]: MPEG-4
 +
* [[div3]]: DIVX 3
 +
* [[mjpg]]: MPJPEG video
 +
* [[wmv1]], [[wmv2]], [[wmv3]]: Windows media
 +
* [[snow]]
 +
* [[ms]] (decoding only):
 +
* [[xvid]] (decoding only):
 +
 
 +
=== Meta codecs ===
 +
* [[cmml]] (decoding only): Text information
 +
 
 +
== Source code ==
 +
{{file|modules/mux/ogg.c|output muxer}}
 +
{{file|modules/demux/ogg.c|input demuxer}}
 +
 
 +
== References ==
 +
Some of this page is taken from the Wikipedia article on this subject.

Latest revision as of 09:58, 29 January 2019

ogg
VLC can encode and decode this container.
The module name to use at the command line is ogg.

Being a Container format, ogg can embed third-party codecs (such as DivX, XviD, MP3 and others) but usually Ogg is used with Vorbis, Theora, FLAC and Dirac.

Accepted codecs

Below are the compatible codecs for OGG.

Accepted audio codecs

  • vorb: Vorbis handles general audio data at mid- to high-level bitrates (~16-256 kbit/s/channel)
  • flac: Free lossless audio codec. Has same sound quality as wave, but only cca half the size.
  • spx: Speex handles voice data at low bitrates (~8-32 kbit/s/channel)

Accepted video codecs

  • theo: Theora based upon On2's VP3, it is targeted at competing with MPEG-4 video (i.e. DivX and XviD), RealVideo, or Windows Media Video.
  • drac
  • tark (decoding only): Tarkin, an experimental codec utilizing 3D wavelet transforms. It has been put on hold, with Theora becoming the main focus for video encoding.

Meta codecs

  • cmml (decoding only): Text information

Source code


References

Some of this page is taken from the Wikipedia article on this subject.