blender/source/gameengine/VideoTexture
Benoit Bolsee a8a99a628f BGE: add audio/video synchronization capability to VideoTexture
Add optional parameter to VideoTexture.Texture refresh() method
to specify timestamp (in seconds from start of movie) of the frame
to be loaded. This value is passed down to image source and for
VideoFFmpeg source, it is used instead of current time to load
the frame from the video file.

When combined with an audio actuator, it can be used to synchronize
the sound and the image: specify the same video file in the sound
actuator and use the KX_SoundActuator time attribute as timestamp
to refresh: the frame corresponding to the sound will be loaded:

GameLogic.video.refresh(True, soundAct.time)
2010-02-07 19:18:00 +00:00
..
BlendType.h 2.50: 2009-06-08 20:08:19 +00:00
blendVideoTex.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
CMakeLists.txt option to build the BGE without python, uses existing python check (cmake and scons) 2009-09-29 21:42:40 +00:00
Common.h VideoTexture module. 2008-10-31 22:35:52 +00:00
Exception.cpp [#19226] (2.5) blender uses deprecated 'strstream' STL class, causes warnings with gcc 2009-08-22 17:19:31 +00:00
Exception.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17434:HEAD 2008-12-14 17:32:24 +00:00
FilterBase.cpp remove warnings for the BGE 2009-02-25 03:26:02 +00:00
FilterBase.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterBlueScreen.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterBlueScreen.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterColor.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterColor.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterNormal.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterNormal.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterSource.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterSource.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
ImageBase.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageBase.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageBuff.cpp BGE: Add plot method to VideoTexture.ImageBuff class. 2009-12-08 10:02:22 +00:00
ImageBuff.h BGE: Add plot method to VideoTexture.ImageBuff class. 2009-12-08 10:02:22 +00:00
ImageMix.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageMix.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageRender.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageRender.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageViewport.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageViewport.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
Makefile 2.5 audio cleanup: 2009-08-10 15:39:11 +00:00
PyTypeList.cpp 2.50: 2009-06-08 20:08:19 +00:00
PyTypeList.h VideoTexture: use PyObjectPlus.h instead of Python.h for compatibility with Python2.3 2008-11-02 18:02:31 +00:00
SConscript Adjust priorities so game engine will link (VideoTex after Ketsji) 2010-02-07 17:56:55 +00:00
Texture.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
Texture.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17434:HEAD 2008-12-14 17:32:24 +00:00
VideoBase.cpp BGE Py API using python3 c/api calls. include bpy_compat.h to support py2.x 2009-06-29 02:25:54 +00:00
VideoBase.h 2.50: 2009-06-08 20:08:19 +00:00
VideoFFmpeg.cpp BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
VideoFFmpeg.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00