pantson.theora v1.0
BlitzMax Forums/BlitzMax Programming/pantson.theora v1.0
| ||
Hi The first version of the Theora mod is ready. This allows BlitzMax to open and play movies in Theora format. Like the MPEG mod it does not support sound. command set OpenTheora DrawTheora DrawTheoraImage TheoraWidth TheoraHeight StartTheora The license allows the theora library and theora movies to be used in commercial products. http://www.theora.org/faq/#14 Things still to do.. 1) clear up memory cleanly. 2) Maybe optimise the YUV conversion furthur. 3) Make BlitzMax control the stream and not the C wrapper. To convert your movies into Theora format use ffmpeg2theora. This can be found here http://www.v2v.cc/~j/ffmpeg2theora/ Its only been tested on Windows so far. Please report any problems in this post. have fun.. |
| ||
Looks great! Straight out of the box, it wouldn't work on my PPC Mac. In order to get it to work, I had to drop to the command line and do a ./configure and a make command in the libogg-1.1.3 directory. |
| ||
Good job!! Could we add '4) Add sound support' to the 'Things to do..' list? :) For 'cut' scenes, etc this should be perfect (especially with sound support...) Russell |
| ||
Oooooooh. Interesting! |
| ||
This is GREAT, maybe Mark/Skid should take look into this. |
| ||
Russels.. I'd love to support sound. In the examples there is a sound workaround. but considering BlitzMax doesn't support streaming sound from ogg files (I may be wrong) I might struggle at this. jhanson.. (I still want to call you dad lol) Cheers for this... it maybe required for other machine types as well. I will test on linux tonight. |
| ||
In the examples there is a sound workaround. but considering BlitzMax doesn't support streaming sound from ogg files (I may be wrong) I might struggle at this. Some pointers: - Vertex' TOggVorbis class: http://blitzmax.com/Community/posts.php?topic=68886 - Maxmod (?) - Bass.dll (?) (Not free for commercial use) |
| ||
cheers for the pointers.. I'll have a look. It may not be time soon as I'm of on holiday next week till november and no matter how much i would like to take my laptop with me, I don't think the misus will allow it ;-) |
| ||
Are there any requirements for specific decoder dll's on the target machine or will the compiled program work standalone |