blender/source/gameengine/PyDoc
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
..
API_intro.py BGE API_DOC: VideoTexture and PhysicsConstraints templates (need the functions to be filled with their description). 2010-01-10 19:35:42 +00:00
bge_api_validate_py.txt Name attributes added since 2.48a more consistently. 2009-05-15 03:26:53 +00:00
epy_docgen.sh - Added an intro page for the BGE docs rather then using GameLogic 2009-05-20 01:11:56 +00:00
GameKeys.py BGE API - small changes 2009-04-24 20:27:04 +00:00
GameLogic.py BGE: patch #20399 Python control over adding/removing scenes. 2010-01-30 18:23:13 +00:00
GameTypes.py rename game object obcolor to color 2010-01-30 21:59:20 +00:00
PhysicsConstraints.py BGE API_DOC: VideoTexture and PhysicsConstraints templates (need the functions to be filled with their description). 2010-01-10 19:35:42 +00:00
Rasterizer.py PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again. 2010-01-07 05:23:54 +00:00
SConscript Better unix filesystem integration as documented here 2009-09-21 03:16:26 +00:00
VideoTexture.py BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00