Difference between revisions of "Ogg"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Source code: Fix broken git link)
 
(4 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>
  
 
== Accepted codecs ==
 
== Accepted codecs ==
Below are the compatible video codecs for OGG. Also supported by OGG, but not VLC, are:
+
Below are the compatible codecs for OGG.
* [[Tarkin]] an experimental codec utilizing 3D wavelet transforms. It has been put on hold, with Theora becoming the main focus for video encoding.
 
* A special text codec for subtitles
 
  
 
=== Accepted audio codecs ===
 
=== Accepted audio codecs ===
 
* [[vorb]]: Vorbis handles general audio data at mid- to high-level bitrates (~16-256 kbit/s/channel)
 
* [[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)
 
* [[spx]]: Speex handles voice data at low bitrates (~8-32 kbit/s/channel)
* [[flac]]: Free lossless audio codec. Has same sound quality as [[wave]], but only half the size.
 
  
 
=== Accepted video codecs ===
 
=== 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
 
* [[mpgv]]: MPEG
 
* [[mp4v]]: MPEG-4
 
* [[mp4v]]: MPEG-4
Line 21: Line 23:
 
* [[wmv1]], [[wmv2]], [[wmv3]]: Windows media
 
* [[wmv1]], [[wmv2]], [[wmv3]]: Windows media
 
* [[snow]]
 
* [[snow]]
* [[drac]]
+
* [[ms]] (decoding only):
* [[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]].
+
* [[xvid]] (decoding only):
 +
 
 +
=== Meta codecs ===
 +
* [[cmml]] (decoding only): Text information
  
 
== Source code ==
 
== Source code ==
{{file|/modules/mux/ogg.c|output muxer}}
+
{{file|modules/mux/ogg.c|output muxer}}
 +
{{file|modules/demux/ogg.c|input demuxer}}
  
 
== References ==
 
== References ==
 
Some of this page is taken from the Wikipedia article on this subject.
 
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.