DELTAGEN handles sound separately from video textures. To get a synchronized working video file you have to synchronize both.
DELTAGEN handles video textures and sounds separately, therefore it is important that you split the audio track from the video file at first.
- split the audio track from the video texture file
- save the audio as uncompressed .wav audio file
To avoid compatibility issues we recommend to use standard conform sampling and bitrate settings (e.g. 128 kb/s, 44100 Hz, 16bit stereo or mono).
There are plenty of free and commercial tools to solve this task.
You may for example use free VLC media player ( http://www.videolan.org/vlc/ ).
- open the VLC media player
- press Ctrl+R to open the “Convert / Save…” menu
- “Add…” your video to the list
- click on “Convert / Save”
- select the “Audio – CD” profile
- click “Edit selected profile” to verify that “WAV” is selected
- choose a “Destination file”
- click “Start”The result can now be used as a sound object within DELTAGEN.
Synchronizing video and sound in DELTAGEN using the Logic network editor (LNE):
- create a new sound object in your scene
- select the extracted .wav file as source
- drag the sound object from the scene tree into the LNE window
- apply the “<name>.wmv” file as base texture to a scene geometry object
- drag an “External objects -> Video texture control” node into the LNE window
- select the “<name>.wmv” as source for this “Video texture control”
- create two “Trigger -> Initiator” nodes to handle the start/stop key events
- rebuild the LNE graph as shown in the picture below