<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 17.01.2011 12:35, Raju wrote:
<blockquote
cite="mid:bb7f97ae-4c9f-4fc2-a90b-a5f24a8d3df7@q8g2000prm.googlegroups.com"
type="cite">
<pre wrap="">Dear friends
Recently i have downloaded Theora video codec from <a class="moz-txt-link-freetext" href="http://www.xiph.org/">http://www.xiph.org/</a>
,
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
</pre>
</blockquote>
Hi Raju,<br>
<br>
libtheora has libogg as dependency and for the encoder_example also
libvorbis.<br>
<br>
Here are the steps to compile libtheora, dump_video, and
encoder_example:<br>
<br>
1. Download <a
href="http://downloads.xiph.org/releases/ogg/libogg-1.2.2.zip">libogg-1.2.2.zip</a>
and unpack the zip file into a folder, let say d:\build<br>
2. Build libogg by launching
d:\build\libogg-1.2.2\win32\VS2008\libogg_static.sln <br>
3. Download <a
href="http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.zip">libvorbis-1.3.2.zip</a>
and unpack it to d:\build<br>
4. Edit d:\build\libvorbis-1.3.2\win32\VS2008\libogg.vsprops and
change <br>
LIBOGG_VERSION from 1.1.4 to 1.2.2<br>
5. Build libvorbis by launching
d:\build\libvorbis-1.3.2\win32\VS2008\vorbis_static.sln <br>
6. Download <a
href="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.zip">libtheora-1.1.1.zip</a>
and unpack it to d:\build<br>
7. Edit d:\build\libtheora-1.1.1\win32\VS2008\libogg.vsprops and
change<br>
LIBOGG_VERSION from 1.1.4 to 1.2.2<br>
8. Edit d:\build\libtheora-1.1.1\win32\VS2008\libvorbis.vsprops and
change<br>
LIBVORBIS_VERSION from 1.2.2 to 1.3.2<br>
9. Build libtheora by launching
d:\build\libtheora-1.1.1\win32\VS2008\libtheora_static.sln <br>
<br>
If the above steps are too much I've put a zip file containing SVN
trunk versions<br>
of libtheora, libogg, libvorbis <a
href="https://people.xiph.org/%7Ecristian/files/libtheora_alldependencies_trunk_2011_01_19.zip">here</a>.
<br>
<br>
The only necessary step would be to launch either
build_theora_vs2005.sln, <br>
build_theora_vs2008.sln, or build_theora_vs2010.sln and issue "Build
solution".<br>
<br>
Regarding test vectors have a look at <a
href="http://wiki.xiph.org/TheoraTestsuite">TheoraTestSuite</a>.<br>
<br>
Cheers,<br>
Cristian.<br>
</body>
</html>