Added Quicktime support for OSX and Windows.
This code allows you to load Quicktime images and movies as textures and render animations to Quicktime movies. Note that the selected output codec is *not* saved in the blendfile. To enable Quicktime functionality you need the SDK from Apple: OSX: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Mac.hqx Win: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Win.hqx Add the \QTDevWin\CIncludes and \QTDevWin\Libraries directories from this SDK to your build environment. Enable the WITH_QUICKTIME compile flag in the following directories: bf\blender\source\blender\imbuf bf\blender\source\blender\src bf\blender\source\blender\render bf\blender\source\creator
This commit is contained in:
@@ -116,6 +116,16 @@
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
#ifdef WITH_QUICKTIME
|
||||
#include "quicktime_export.h"
|
||||
#ifdef _WIN32
|
||||
#include <QTML.h>
|
||||
#endif /* _WIN32 */
|
||||
#if defined (_WIN32) || defined (__APPLE__)
|
||||
#include <Movies.h>
|
||||
#endif /* _WIN32 || __APPLE__ */
|
||||
#endif /* WITH_QUICKTIME */
|
||||
|
||||
/***/
|
||||
|
||||
void BIF_read_file(char *name)
|
||||
@@ -501,6 +511,18 @@ void exit_usiblender(void)
|
||||
|
||||
sound_exit_audio();
|
||||
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
#ifdef WITH_QUICKTIME
|
||||
if(G.have_quicktime) {
|
||||
free_qtcodecdataExt();
|
||||
ExitMovies();
|
||||
#ifdef _WIN32
|
||||
TerminateQTML();
|
||||
#endif /* _WIN32 */
|
||||
}
|
||||
#endif /* WITH_QUICKTIME */
|
||||
#endif /* _WIN32 || __APPLE__ */
|
||||
|
||||
BPY_end_python();
|
||||
|
||||
if (!G.background) {
|
||||
|
Reference in New Issue
Block a user