PlayVideo() Sound Only Problem When using Direct3D

Started by AmOrPhIsSs, Tue 24/09/2013 01:18:49

Previous topic - Next topic

AmOrPhIsSs

Hi Guys, I'm having a major problem here with the PlayVideo() function.

I'll start by explaining that I've released a demo for my game recently, some players had an issue that whenever they open the game the mouse doesn't move and it hangs (When using directdraw), but when they change it to (Direct3D) it works, but plays the video at the end of the demo with sound only (No Video).

But on my personal computer, I can run the game with directdraw perfectly with the video working flawlessly at the end, but today I tried to change the game to use Direct3D, it worked fine but the video played with only sound.
Please how can I fix this so that my game works with "Direct3D & The video plays fine with audio?"

Kindly note that the video is .avi extension saved using XVID codec with resolution (640x480) & the game's resolution is (640x480) in 32-bit colors.

Khris

Try converting the video to .ogv (OGG Theora).

AmOrPhIsSs

#2
@Khris: It Worked!! Thank you so much, this is actually the first time for me to use that extension "but i'm sure it won't be the last" thnx to u :)

Khris

Glad to hear it; ogv is the best format to use because AGS has built-in support for it, while with other formats, there's always a chance of running into codec issues.

SMF spam blocked by CleanTalk