Re: How to build Theora decoder on VC++ paltform

Cristian Adam <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.general
Message-ID <4D36342C.5050609__28792.4214768738$1295397957$gmane$org@gmail.com>
On 17.01.2011 12:35, Raju wrote:
> Dear friends
> Recently i have downloaded Theora video codec from http://www.xiph.org/
> ,
>  here its having both encoder and decoder , how can i build only
> decoder on VC + windows platform , if i build now i will be getting "
> Cannot open include file: 'ogg/ogg.h': No such file or directory "
> pls send me solution for htis to builld and run this code and what are
> test vectors i can use for this decoder
>
Hi Raju,

libtheora has libogg as dependency and for the encoder_example also
libvorbis.

Here are the steps to compile libtheora, dump_video, and encoder_example:

1. Download libogg-1.2.2.zip
<http://downloads.xiph.org/releases/ogg/libogg-1.2.2.zip> and unpack the
zip file into a folder, let say d:\build
2. Build libogg by launching
d:\build\libogg-1.2.2\win32\VS2008\libogg_static.sln
3. Download libvorbis-1.3.2.zip
<http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.zip> and
unpack it to d:\build
4. Edit d:\build\libvorbis-1.3.2\win32\VS2008\libogg.vsprops and change
    LIBOGG_VERSION from 1.1.4 to 1.2.2
5. Build libvorbis by launching
d:\build\libvorbis-1.3.2\win32\VS2008\vorbis_static.sln
6. Download libtheora-1.1.1.zip
<http://downloads.xiph.org/releases/theora/libtheora-1.1.1.zip> and
unpack it to d:\build
7. Edit d:\build\libtheora-1.1.1\win32\VS2008\libogg.vsprops and change
    LIBOGG_VERSION from 1.1.4 to 1.2.2
8. Edit d:\build\libtheora-1.1.1\win32\VS2008\libvorbis.vsprops and change
    LIBVORBIS_VERSION from 1.2.2 to 1.3.2
9. Build libtheora by launching
d:\build\libtheora-1.1.1\win32\VS2008\libtheora_static.sln

If the above steps are too much I've put a zip file containing SVN trunk
versions
of libtheora, libogg, libvorbis here
<https://people.xiph.org/%7Ecristian/files/libtheora_alldependencies_trunk_2011_01_19.zip>.


The only necessary step would be to launch either build_theora_vs2005.sln,
build_theora_vs2008.sln, or build_theora_vs2010.sln and issue "Build
solution".

Regarding test vectors have a look at TheoraTestSuite
<http://wiki.xiph.org/TheoraTestsuite>.

Cheers,
Cristian.

_______________________________________________
theora mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.