Jump to content
  • Advertisement
Sign in to follow this  
niazware

playing MPG file

This topic is 4301 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi everybody I'm using directshow to display my game intro movie, it should be displayed after selected the level, and after movie playback finishes the loading images are shown, my game is almost finished using direct3d. I'm running my game in windowed mode (1024x768), and when playing the movie sometimes a window called ActiveWindow is shown on top of my menu images which displays the movie, and sometimes my movie is not played at all, of course sometimes it is played correctly, although the playback speed is a bit lower than expected, I suppose I'm using the cutscene sample codes. When I switch my render to fullscreen, the movie is displayed correctly (i.e. fullscreen) but after playback is finished I cannot view my loading images any more, I suppose it is because of losing the focus, please help me to show my MPG movie in a correct way. Does the time parameter have any affect on movie playback, as I've seen something related to time in these codes, but I think I've almost disabled them. thanks a lot

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!