QImage + Libtheora = OGV file
I wonder if someone has been working on this problem: How to create an OGV video from a QImage array using the libtheora API?
I was trying to make a modified version of this example with no luck: https://svn.xiph.org/trunk/theora/examples/png2theora.c
Suggestions are very welcome! :)
After several days of trials and errors playing with code from many places, finally I could write a very basic example based on the png2theora.c file
Here is the code, although it already works it can be enhanced a lot, so I'm posting these files just for those curious programmers interested in this specific topic:
I hope this can be handy for someone else.