Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Lewis90 on Fri 26/12/2008 08:40:29

Title: Problem playing audio in WMV files
Post by: Lewis90 on Fri 26/12/2008 08:40:29
Audio used to work in the WMV files in my game, but just recently they have started playing without any sound at all. The scripting being used to play them in the game at the moment is PlayVideo("... .wmv", 3, 1). This is very frustrating. I cannot see what I have done that may have changed the sound settings. It may be a problem with AGS, but I doubt it. Please help.
Title: Re: Problem playing audio in WMV files
Post by: Dualnames on Fri 26/12/2008 23:13:18
Does the video file play externally with sound(media player).
Title: Re: Problem playing audio in WMV files
Post by: Lewis90 on Sat 27/12/2008 02:50:32
Yes, all the WMVs play fine with sound included in Media Player. Their sound has just vanished in AGS.
Title: Re: Problem playing audio in WMV files
Post by: Pumaman on Sun 28/12/2008 21:54:59
Which version of AGS are you using? Did you change your AGS version when they stopped working?
Title: Re: Problem playing audio in WMV files
Post by: Lewis90 on Tue 30/12/2008 08:05:26
Yes, I upgraded to the next version (3.1.1) and the sound in WMV files is still absent.
Title: Re: Problem playing audio in WMV files
Post by: matt on Tue 30/12/2008 09:29:30
is the ags master volume high enough?
Title: Re: Problem playing audio in WMV files
Post by: Pumaman on Tue 30/12/2008 20:03:10
What I mean is, did you change anything just prior to when the sound stopped working? Did you change your AGS version or change anything on your computer between when the sound was working and when it stopped working?
Title: Re: Problem playing audio in WMV files
Post by: Dualnames on Fri 02/01/2009 14:59:44
Oh, well, found a new one. I usually play an identical video with a logo before the first room loads up. This had no trouble. On a game I'm working on on version 3.1.1 it doesn't show the file(fullscreen, windowed is fine). The same file works perfectly with HHGTG. However resolution in the game I'm working on(that doesn't show the wmv file windowed)is 320x200. Whilst in HHGTG is 640x400. (I 'm not sure if my version of AGS is the most new one final, so in case you vanished this thing nevermind my post).
Title: Re: Problem playing audio in WMV files
Post by: Pumaman on Fri 02/01/2009 18:17:39
What resolution is the video encoded at? Do the DX5 and D3D drivers both have the problem? Can you upload the video file for me to reproduce the problem?
Title: Re: Problem playing audio in WMV files
Post by: Dualnames on Fri 02/01/2009 18:25:06
The video is encoded at 640x480. As for the video file itself here's the link to it:Here (http://ledzepforever.googlepages.com/lg.wmv)
Title: Re: Problem playing audio in WMV files
Post by: Pumaman on Fri 02/01/2009 19:08:24
Thanks, I've traced the problem to the DX5 graphics filters and will get it fixed.
Title: Re: Problem playing audio in WMV files
Post by: Dualnames on Fri 02/01/2009 19:09:52
Glad.. Thanks man. Happy new year btw.