Free video codec. https://xiph.org/theora/

Monty cd8177659f Correct same bug setting pixel aspect ration on y4o input пре 15 година
debian d971698433 Update copyright year on the OggTheora source code. пре 15 година
doc e343891c59 Remove 16mbit/sec cap for rate management; update the spec to reflect the clamping of NOMBR. I'm not particularity enamored with any specific way of handling this, I just want the cap gone. пре 16 година
examples cd8177659f Correct same bug setting pixel aspect ration on y4o input пре 15 година
include 6fc880b461 Documentation fixes. пре 15 година
lib d971698433 Update copyright year on the OggTheora source code. пре 15 година
m4 980d1b6660 Fix a spacing problem in the help text. пре 17 година
macosx 82c3616a1c Update Xcode build files after the merge in r16443. пре 15 година
symbian b72becb5ad new trunk пре 18 година
tests d971698433 Update copyright year on the OggTheora source code. пре 15 година
win32 b360844365 Moved win32/libtheora.def to lib/theora.def пре 15 година
AUTHORS 18a6db822e Documentation updates. пре 15 година
CHANGES 816dc316b1 Bump version number post-release. пре 15 година
COPYING d971698433 Update copyright year on the OggTheora source code. пре 15 година
LICENSE b72becb5ad new trunk пре 18 година
Makefile.am 1d134fa520 Add pkg-config files for libtheoradec and libtheoraenc. пре 16 година
README 18a6db822e Documentation updates. пре 15 година
SConstruct 03685671ce Add y4o.c to the scons build. пре 15 година
autogen.sh 7ed5598096 Fix automake version detection to work with the 1.xx releases. пре 17 година
configure.ac 816dc316b1 Bump version number post-release. пре 15 година
libtheora.spec.in 6b69991455 Patch by Lino Mastrodomenico <l.mastrodomenico (at) gmail.com> пре 17 година
theora-uninstalled.pc.in b72becb5ad new trunk пре 18 година
theora.pc.in b72becb5ad new trunk пре 18 година
theoradec-uninstalled.pc.in 00ef8e61c9 add pkg-config files for theoraenc and theoradec пре 17 година
theoradec.pc.in 00ef8e61c9 add pkg-config files for theoraenc and theoradec пре 17 година
theoraenc-uninstalled.pc.in ea5918b20a The theoraenc library always depends on the theoradec library, which пре 15 година
theoraenc.pc.in ea5918b20a The theoraenc library always depends on the theoradec library, which пре 15 година

README

-------------------------------------------------------------------------
The Xiph.org Foundation's libtheora 1.1 beta release
-------------------------------------------------------------------------

*** What is Theora?

Theora is Xiph.Org's first publicly released video codec, intended
for use within the Foundation's Ogg multimedia streaming system.
Theora is derived directly from On2's VP3 codec, adds new features
while allow it a longer useful lifetime as an competitive codec.

The 1.0 release decoder supports all the new features, but the
encoder is nearly identical to the VP3 code.

The 1.1 release features a completely rewritten encoder, offering
better performance and compression, and making more complete use
of the format's feature set. Files produced by both encoders can
be decoded by either release.

*** Where is Theora?

Theora's main site is www.theora.org. Theora and related libraries
can be gotten from www.theora.org or the main Xiph.Org site at
www.xiph.org. Development source is kept in an open subversion
repository, see http://theora.org/svn/ for instructions.

-------------------------------------------------------------------------
Getting started with the code
-------------------------------------------------------------------------

*** What do I need to build the source?

Requirements summary:

For libtheora:

libogg 1.1 or newer.

For example encoder:

as above,

libvorbis and libvorbisenc 1.0.1 or newer.

For creating a source distribution package:

as above,

Doxygen to build the API documentation,
pdflatex and fig2dev to build the format specification
(transfig package in Ubuntu).

For the player only:

as above,

SDL (Simple Direct media Layer) libraries and headers,
OSS audio driver and development headers.

The provided build system is the GNU automake/autoconf system, and
the main library, libtheora, should already build smoothly on any
system. Failure of libtheora to build on a GNU-enabled system is
considered a bug; please report problems to theora-dev@xiph.org.

Windows build support is included in the win32 directory.

Project files for Apple XCode are included in the macosx directory.

There is also an experimental scons build.

*** How do I use the sample encoder?

The sample encoder takes raw video in YUV4MPEG2 format, as used by
lavtools, mjpeg-tools and other packages. The encoder expects audio,
if any, in a separate wave WAV file. Try 'encoder_example -h' for a
complete list of options.

An easy way to get raw video and audio files is to use MPlayer as an
export utility. The options " -ao pcm -vo yuv4mpeg " will export a
wav file named audiodump.wav and a YUV video file in the correct
format for encoder_example as stream.yuv. Be careful when exporting
video alone; MPlayer may drop frames to 'keep up' with the audio
timer. The example encoder can't properly synchronize input audio and
video file that aren't in sync to begin with.

The encoder will also take video or audio on stdin if '-' is specified
as the input file name.

There is also a 'png2theora' example which accepts a set of image
files in that format.

*** How do I use the sample player?

The sample player takes an Ogg file on standard in; the file may be
audio alone, video alone or video with audio.

*** What other tools are available?

The programs in the examples directory are intended as tutorial source
for developers using the library. As such they sacrifice features and
robustness in the interests of comprehension and should not be
considered serious applications.

If you're wanting to just use theora, consider the programs linked
from http://www.theora.org/. There is playback support in a number
of common free players, and plugins for major media frameworks.
Jan Gerber's ffmpeg2theora is an excellent encoding front end.

-------------------------------------------------------------------------
Troubleshooting the build process
-------------------------------------------------------------------------

*** Compile error, such as:

encoder_internal.h:664: parse error before `ogg_uint16_t'

This means you have version of libogg prior to 1.1. A *complete* new Ogg
install, libs and headers is needed.

Also be sure that there aren't multiple copies of Ogg installed in
/usr and /usr/local; an older one might be first on the search path
for libs and headers.

*** Link error, such as:

undefined reference to `oggpackB_stream'

See above; you need libogg 1.1 or later.

*** Link error, such as:

undefined reference to `vorbis_granule_time'

You need libvorbis and libvorbisenc from the 1.0.1 release or later.

*** Link error, such as:

/usr/lib/libSDL.a(SDL_esdaudio.lo): In function `ESD_OpenAudio':
SDL_esdaudio.lo(.text+0x25d): undefined reference to `esd_play_stream'

Be sure to use an SDL that's built to work with OSS. If you use an
SDL that is also built with ESD and/or ALSA support, it will try to
suck in all those extra libraries at link time too. That will only
work if the extra libraries are also installed.

*** Link warning, such as:

libtool: link: warning: library `/usr/lib/libogg.la' was moved.
libtool: link: warning: library `/usr/lib/libogg.la' was moved.

Re-run theora/autogen.sh after an Ogg or Vorbis rebuild/reinstall