Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd June 2004, 14:07   #1  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
Ogg Theora Information

Ogg Theora is the video coding format of the Xiph multimedia format family

What is Xiph all about?

Under the "Ogg" name the Xiph.Org Foundation, founded by Christopher Montgomery, aims at providing the public, developer and business markets a 100% license free and open multimedia framework, as free and opensource alternative to licensing requiring solutions, including closed formats (as WM9 or RV9/10), but also of course open formats, as the MPEG technologies!
read more about Xiph's philosophy here

Ogg multimedia formats

all coding formats from Xiph are 100% free for usage and no licensing payments have to be payed to Xiph, nor to any patent holder of the used technologies (in the case that patents exist), no matter in what way you use the codecs (commercial, non-commerical, private...)

the Xiph family includes
- Vorbis: lossy audio,
- Theora: lossy video,
- Flac: lossless audio,
- Speex: speech audio,
- Writ: subtitle/text streaming format,
- OggScrit: enabling interactivity (dvd-like menus aso) similar to MPEG-4 Systems (planning stage),
- Tarkin: wavelet-based video coding (planning stage),
- Ogg Container Format: the container format specified by Xiph for storing their formats (uses the .ogg extension)


Ogg Vorbis

The maybe most popular format of the Xiph family is the Ogg Vorbis lossy audio coding format.
I think it can be said that Ogg Vorbis is one of the best audio coding formats existing and as the following graph shows does in no way need to hide itself compared to other popular formats, like AAC or WMA9 for example, more the contrary is the case

quality comparison of Ogg Vorbis with other good formats @ 128kbps (thanks to rjamorim):

note that lame is the best MP3 codec available, and iTunes the best AAC codec at 128kbps
i especially want to point out that WMA9 (as used in some music stores/supported on some portable players) more than clearly provided less quality than even the old MP3 format!
also note that the Vorbis codec used here was aoTuV tuning b2 (which later became part of the Vorbis 1.1 reference encoder). read more about the different available Vorbis implementations here

also check out the Vorbis FAQ in the Audio encoding forum


Ogg Theora

Ogg Theora has been finalized on the 1st June 2004 and is therefore still a very young format

The final bitstream is the same as used by and starting with the alpha3 reference encoder (provided by Xiph), which means all streams encoded with alpha3 and later are compliant to the final theora format and all theora compliant decoders will be able to handle them!


Ogg Theora was derived from On2's VP3 codec, which On2 practically gives away for free, and can be called a superset of the VP3 video codec (VP3 Specs).

small list of the features available in the Theora Format (and a comparison to VP3 and MPEG-4 ASP):
- Theora is a lossy video coding format and supports
- a block-based motion compensation
- a 8x8 Type-II Discrete Cosine Transform
- free-form variable bit rates (VBR)
- adaptive in-loop deblocking applied to the edges of the coded blocks (not existing in MPEG-4 ASP)
- block sizes down to 8x8 (MPEG-4 ASP supports 8x8 only with 4MV)
- 384 8x8 custom quantization matrices: intra/inter, luma/chroma and even each quant (more than VP3 and MPEG-4 ASP/AVC)
- flexible entropy encoding (Theora supports 80 VLC tables selectable per-frame, MPEG-4 ASP has just one)
- 4:2:0, 4:2:2, and 4:4:4 chroma subsampling formats (VP3 and MPEG-4 ASP only support 4:2:0)
- multiple reference frames (not possible in MPEG-4 ASP)
- pixel aspect ratio (eg for anamorphic signalling/playback)
- non-multiple of 16 picture sizes (as possible in ASP, but not in VP3)
- non-linear scaling of quants values (as done in MPEG-4 AVC)
- adaptive quantisation down to the block level (as possible in MPEG-4 ASP/AVC, but not in VP3)
- intra frames (I-Frames in MPEG), inter frames (P-Frames), but no B-Frames (as supported in MPEG-4 ASP/AVC)
- HalfPixel Motion Search Precision (MPEG-4 ASP/AVC supports HalfPixel or QuarterPixel)
- technologies used already in Vorbis (decoder setup configuration, bitstream headers...) not available in VP3


available compliant Theora implementations:
- reference en/decoder: official packages | SVN | MMX | liboil | Java | C#, based on the original VP3 code
- experimental en/decoder, written from scratch by derf
- libavcodec/ffmpeg decoder, written from scratch by melanson and al3x
- FPGA encoder (Xilinx Spartan-3 1000K), written from scratch by elphel
- FPGA decoder, written from scratch

- reference encoder build (alpha3) - supports only .yuv input and outputs to .ogg - discussion
- ffmpeg2theora - supports a lot of formats as input (eg. dvd, avi, mpg), outputs vorbis/theora in .ogg - discussion
- Real HelixProducer plugin - usable for example with Sirber's RealAnime 2.25 GUI, outputs vorbis/theora in .ogg - discussion
- Illiminable DShow encoder filters - usable in GraphEdit, outputs theora/vorbis/flac/speex in .ogg - discussion
- VideoLAN - commandline, outputs vorbis/theora in .ogg
- ffdshow VFW encoder - usable in VirtualDub(Mod), outputs to .avi (like .ogm not defined by Xiph) and .ogg - discussion

- WMP10/DirectShow playback plugin by Illiminable - supports theora/vorbis/flac/speex in .ogg - discussion
- WMP10/DirectShow playback plugin by Radlight - supports theora/vorbis/speex in .ogg - discussion
- WMP10/DirectShow playback plugin by Fluendo - supports theora/vorbis in .ogg
- RealPlayer10 playback plugin - supports vorbis/theora in .ogg - discussion
- MPlayer - supports vorbis/theora in .ogg (via reference, experimental and libavcodec decoder)
- VideoLAN - supports vorbis/theora in .ogg
- Cortado by Fluendo - a java media player browser applet (no need to install), supports streamed vorbis/theora in .ogg (demos)
- ffdshow DShow/VFW decoder - usable in any DShow based player, supports playback of theora streams packed in .avi or .ogg

- Icecast Streaming Server by Xiph - opensource (GPL), able to stream vorbis/theora in .ogg (http)
- Flumotion Streaming Server by Fluendo - opensource (GPL), able to stream vorbis/theora in .ogg (http)
- VideoLAN - opensource (GPL), able to stream vorbis/theora in .ogg (http)
- Peercast - able to stream vorbis/theora in .ogg (http)


read more about Theora on the Theora Homepage, the Theora FAQ and of course the Theora Specifications

it deserves our support!
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free

Last edited by bond; 4th February 2007 at 20:58.
bond is offline   Reply With Quote
Old 2nd August 2004, 16:56   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
If you have any suggestions, ideas which points should be added or found any broken links, feel free to post below!
I will do my best to keep the Information up-to-date

Please don't use this sticky to discuss any Ogg Theora issues, this thread is meant for info only!
If you have any questions plz search the forum, perhaps they have been answered already and only then start a new thread

thanks,
bond
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 20th January 2006, 23:51   #3  |  Link
DeathTheSheep
<The VFW Sheep of Death>
 
DeathTheSheep's Avatar
 
Join Date: Dec 2004
Location: Deathly pasture of VFW
Posts: 1,149
There's a new 128k listening test available for Vorbis-- I think you might want to update
__________________
Recommended all-in-one stop for x264/GCC needs on Windows: Komisar x264 builds!
DeathTheSheep is offline   Reply With Quote
Old 11th August 2006, 12:31   #4  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Could you add FreeAnime as frontend for ffmpeg2theora? thanks!

[edit]

"experimental en/decoder, written from scratch by derf" is dead
__________________
Detritus Software

Last edited by Sirber; 11th August 2006 at 12:34.
Sirber is offline   Reply With Quote
Old 15th August 2006, 18:36   #5  |  Link
celtic_druid
Registered User
 
celtic_druid's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,173
http://svn.xiph.org/trunk/theora-exp
celtic_druid is offline   Reply With Quote
Old 16th August 2006, 11:06   #6  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
Quote:
Originally Posted by celtic_druid
http://trac.xiph.org/browser/trunk/theora-exp
Trac interface is much nicer, I really like the changesets, which present you the log enty and the diffs in one page! Just click on one of the revision numbers, they are links to the corresponding Changesets.

Hellfred
hellfred is offline   Reply With Quote
Old 13th September 2007, 09:43   #7  |  Link
PatchWorKs
Registered User
 
PatchWorKs's Avatar
 
Join Date: Aug 2002
Posts: 213
New website launched.

http://www.theora.org/
PatchWorKs is offline   Reply With Quote
Old 13th October 2007, 20:39   #8  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
libtheora 1.0beta2

The second beta of libtheora 1.0 has been released.
Change list taken from the mailing linst:
Code:
libtheora 1.0beta2 (2007 October 12)

 - Fix a crash bug on char-is-unsigned architectures (PowerPC)
 - Fix a buffer sizing issue that caused rare encoder crashes
 - Fix a buffer alignment issue
 - Build fixes for MingW32, MSVC
 - Improved format documentation.
hellfred is offline   Reply With Quote
Old 15th June 2009, 07:29   #9  |  Link
nakTT
Registered User
 
Join Date: Dec 2008
Posts: 386
libtheora 1.1 Alpha 1

Code:
libtheora 1.1alpha1 (2009 March 27)

- Encoder rewrite with much improved vbr quality/bitrate and better tracking of the target rate in cbr mode.
- MSVC project files do not work in this release.
nakTT is offline   Reply With Quote
Old 15th June 2009, 07:30   #10  |  Link
nakTT
Registered User
 
Join Date: Dec 2008
Posts: 386
libtheora 1.1 Alpha 2

Code:
libtheora 1.1alpha2 (2009 May 26)
	
- Reduce lambda for small quantizers.
- New encoder fDCT does better on smooth gradients
- Use SATD for mode decisions (1-2% bitrate reduction)
- Assembly rewrite for new features and general speed up
- Share code between the encoder and decoder for performance
- Fix 4:2:2 decoding and telemetry
- MSVC project files updated, but assembly is disabled.
- New configure option --disable-spec to work around toolchain detection failures.
- Limit symbol exports on MacOS X.
- Port remaining unit tests from the 1.0 release.
nakTT is offline   Reply With Quote
Old 15th June 2009, 07:32   #11  |  Link
nakTT
Registered User
 
Join Date: Dec 2008
Posts: 386
libtheora 1.1 Alpha 3

Code:
libtheora 1.1alpha3 (unreleased snapshot)
	
- no changes recorded
Will be updated once more details available.
nakTT is offline   Reply With Quote
Old 17th June 2009, 10:25   #12  |  Link
juGGaKNot
Registered User
 
juGGaKNot's Avatar
 
Join Date: Feb 2008
Posts: 733
Quote:
Originally Posted by bond View Post
- 4:2:0, 4:2:2, and 4:4:4 chroma subsampling formats (VP3 and MPEG-4 ASP only support 4:2:0)
Right off the bat ? if my video is 4:4:4 RGB the output will be 4:4:4 ogv ?
juGGaKNot is offline   Reply With Quote
Old 5th August 2009, 20:32   #13  |  Link
valgor
Registered User
 
Join Date: Mar 2005
Location: Belarus
Posts: 19
http://downloads.xiph.org/releases/t...1beta1.tar.bz2

Code:
libtheora 1.1beta1 (2008 August 5)

 - Support for two-pass encoding
 - Performance optimization of both encoder and decoder
 - Encoder supports dynamic adjustment of quality and 
   bitrate targets
 - Encoder is generally more configurable, and all
   rate control modes perform better
 - Encoder now accepts 4:2:2 and 4:4:4 chroma sampling
 - Decoder telemetry output shows quantization choice
   and a breakdown of bitrate usage in the frame
 - MSVC assembly optimizations up to date and functional
valgor is offline   Reply With Quote
Old 16th August 2009, 10:59   #14  |  Link
valgor
Registered User
 
Join Date: Mar 2005
Location: Belarus
Posts: 19
http://downloads.xiph.org/releases/t...1beta2.tar.bz2
Code:
libtheora 1.1beta2 (2009 August 12)

 - Fix a rate control problem with difficult input
 - Build fixes for OpenBSD and Apple Xcode
 - Examples now all use the 1.0 api
 - TH_ENCCTL_SET_SPLEVEL works again
 - Various bug fixes and source tree rearrangement
valgor is offline   Reply With Quote
Old 23rd August 2009, 08:09   #15  |  Link
valgor
Registered User
 
Join Date: Mar 2005
Location: Belarus
Posts: 19
http://downloads.xiph.org/releases/t...1beta3.tar.bz2
Code:
libtheora 1.1beta3 (2009 August 22)

 - Rate control fixes to smooth quality
 - MSVC build now exports all of the 1.0 api
 - Assorted small bug fixes
valgor is offline   Reply With Quote
Old 26th September 2009, 16:23   #16  |  Link
valgor
Registered User
 
Join Date: Mar 2005
Location: Belarus
Posts: 19
http://downloads.xiph.org/releases/t...-1.1.0.tar.bz2
Code:
libtheora 1.1.0 (2009 September 24)

 - Fix various small issues with the example and telemetry code.
 - Fix handing a zero-byte packet as the first frame.
 - Documentation cleanup.
 - Two minor build fixes.
valgor is offline   Reply With Quote
Old 24th September 2010, 12:10   #17  |  Link
oibaf
Registered User
 
Join Date: Nov 2008
Posts: 22
Updates:
Ptalarbvorm is now in trunk
libtheora 1.2.0alpha1 (AKA Ptalarbvorm) is released
CHANGES of current trunk

For who don't know what Ptalarbvorm is read here: Theora: Ptalarbvorm project update 20100518

Also, on monty blog: A Digital Media Primer for Geeks
oibaf is offline   Reply With Quote
Old 12th September 2016, 07:04   #18  |  Link
Drakos
Registered User
 
Join Date: Mar 2016
Posts: 1
Quote:
Originally Posted by valgor View Post
http://downloads.xiph.org/releases/t...-1.1.0.tar.bz2
Code:
libtheora 1.1.0 (2009 September 24)

 - Fix various small issues with the extenze example and telemetry code.
 - Fix handing a zero-byte packet as the first frame.
 - Documentation cleanup.
 - Two minor build fixes.
Hi Valgor, can we get an update about the latest libtheora from you and when the next one will be?

That would be helpful, thanks.

Last edited by Drakos; 12th April 2017 at 14:35.
Drakos is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.