I have just been messing around with GZDoom's ability to play movies. I converted an MP4 to IVF plus an OGG for the sound and set it up in MAPINFO & SNDINFO.
I have tried both having the movie at the start of an episode, and at the start of a map (the second is more useful to me).
In both cases, the visual element (the IVF) always plays. However, the sound sometimes plays, and sometimes doesn't. I can't figure out why. The files loaded each time are identical.
It is my impression that the sound plays more reliably at the start of an episode, but it seems that it fails most (all?) of the time if I bring up the menu and start the episode again. If I quit the game and restart, then the sound might play - but not always.
When I say "it fails" I mean that the video works, but there is no sound.
It seems that the sound playing at the start of a map is less likely than at the start of an episode - though it does still work sometimes.
I have even included the exact same definition for a movie as both an episode introduction before map01 and a map introduction for map02 and had the sound play for the episode, but then fail to play for the map.
Here's my mapinfo:
Code: Select all
episode MAP01 // Beginning of our episode block
{
name = "Test"
key = "T"
Intro // Beginning of our cutscene block
{
Video = "movies/testmov.ivf"
Sound = testsnd
}
}
Code: Select all
map MAP02 lookup "HUSTR_2"
{
Intro // Beginning of our cutscene block
{
Video = "movies/testmov.ivf"
Sound = testsnd
}
titlepatch = "CWILV01"
next = "MAP03"
secretnext = "MAP03"
sky1 = "SKY1"
cluster = 5
par = 90
music = "$MUSIC_STALKS"
}
Code: Select all
testsnd testsnd