All Boards Theora Encoder

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

All Boards Theora Encoder

All Boards Theora Encoder

In order to create this Ogg Theora encoder example you need to add libogg, libvorbis and libtheora to your system.

Download these libs from http://www.theora.org/downloads/ :

libogg-1.1.3, libvorbis-1.2.0 and libtheora-1.0.tar.bz2

Copy them to /opt/ltib/pkgs

Create the directories ltib/dist/lfs-5.1/libogg, ltib/dist/lfs-5.1/libvorbis, ltib/dist-5.1/lfs/libtheora.

Copy these spec files to its respective directories:

File:Libogg.gz

File:Libvorbis.gz

File:Libtheora.gz

Execute this sequence to compile and install these libs:

$ ./ltib -p libogg.spec -m prep
$ ./ltib -p libogg.spec -m scbuild
$ ./ltib -p libogg.spec -m scdeploy
$ ./ltib -p libvorbis.spec -m prep
$ ./ltib -p libvorbis.spec -m scbuild
$ ./ltib -p libvorbis.spec -m scdeploy
$ ./ltib -p libtheora.spec -m prep
$ ./ltib -p libtheora.spec -m scbuild
$ ./ltib -p libtheora.spec -m scdeploy


Now download and compile yuv2theora.c encoder example:

File:Yuv2theora.gz

$ ./ltib -m shell
LTIB> gcc yuv2theora.c -o yuv2theora `pkg-config --libs --cflags theora`

In this example we used a video sample (YUV420) on CIF format:

http://140.116.72.80/~jhlin5/ns2/yuv_to_avi/paris_cif.yuv

Update: All these libraries were added on LTIB Savannah CVS, then you just need to use them and compile the above code.

No ratings
Version history
Last update:
‎09-10-2020 01:57 AM
Updated by: