Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: poc301 on Thu 16/12/2004 12:52:10

Title: Odd crash when playing AVIs
Post by: poc301 on Thu 16/12/2004 12:52:10
I noticed an odd problem.  I have a lot of AVI cutscenes in my game, and sometimes when they begin being played, AGS will crash out with no error code or anything.  But then if I go back and re-run the game, it will work fine.  Its very odd.  I was wondering if anyone else experienced anything like this (I didn't find any similar issues when I searched the forum). 

I am using WinXP Pro.

Thanks,

Bill
Title: Re: Odd crash when playing AVIs
Post by: Pumaman on Thu 16/12/2004 21:40:53
I haven't had any reports of this before, no.

If the crash happens, does it happen trying to play the first video, or can it happen on say the 5th video after some have already played successfully?
Title: Re: Odd crash when playing AVIs
Post by: poc301 on Fri 17/12/2004 12:50:51
Its totally random.

For instance, the other day it crashed on the intro AVI file.  Then after a new game begins, about 6 AVIs are run in succession (with cuts back to the game for text and music), and occasionally one of them will cause a crash.  Its never the same AVI file twice, and it usually works fine after a crash for a little bit.  Its odd.
Title: Re: Odd crash when playing AVIs
Post by: Scorpiorus on Fri 17/12/2004 17:17:35
What if you play these AVIs through Windows Media Player, does it crash at times?

Hmm, I'm not sure but could a Windows screensaver cause that?
Title: Re: Odd crash when playing AVIs
Post by: poc301 on Fri 17/12/2004 18:38:29
Nope, it never crashes in any of the AVI editing or playing programs I have.  I don't run a screensaver on the PC I use to make the game. :(

Title: Re: Odd crash when playing AVIs
Post by: Pumaman on Fri 17/12/2004 18:51:31
What codec are the videos encoded with?
Title: Re: Odd crash when playing AVIs
Post by: poc301 on Mon 20/12/2004 15:40:27
Indeo Video 5.10.Ã,  I encode them using Bink and Smacker.


I went ahead and redid them in DivX format, and the first runthrough didn't crash on me.  It may be a codec problem.  I'll keep experimenting.
Title: Re: Odd crash when playing AVIs
Post by: poc301 on Tue 21/12/2004 12:39:36
It also crashes with DivX :(Ã,  I just tried this morning and it bombed out on me.
Title: Re: Odd crash when playing AVIs
Post by: Pumaman on Tue 21/12/2004 21:34:18
I'm not really sure what to suggest, I'm afraid. I haven't heard of a problem like this before.

Have you tried the game out on another computer, to see if the problem is something specific to your PC?
Title: Re: Odd crash when playing AVIs
Post by: poc301 on Wed 22/12/2004 16:03:04
I think I figured it out.  I went ahead and upgraded the AGS engine from 2.61 to 2.62 and the problem went away.  I don't know if something got corrupt, or if the new build fixed something that was problematic for my PC, but it seems to have resolved the issue.

Thanks again Chris!