Jump to content
  • Advertisement
Sign in to follow this  

PNG to OGG Theora

This topic is 2904 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Xiph.org has a .c file made to be compiled under Linux that creates a tool to create Ogg Theora videos from PNG files. I would like to create this in windows, since a tool does not exist (as far as I can find) to convert images to an OGG Theora video in Windows.

Attempting to compile this file ( http://svn.xiph.org/trunk/theora-tools/png2theora/png2theora.c) under Visual Studio results in the following errors for missing headers (and all sorts of errors if you remove the #include calls):
- <getopt.h>
- <unistd.h>
- <libgen.h>
- <png.h>
- <ogg/ogg.h>
- <theora/theoraenc.h>

So now I'm looking on where to start with this project. Should I be looking for alternatives to those headers, or a way to include them in Windows?

If anyone knows of a tool to create Ogg Theora files from images in Windows, please disregard this topic and point me to the tool instead.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!