Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SikCiv

MPG playback within a game?

This topic is 6922 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

I wanna play an mpg movie within my intro screen, my game has been designed to run under Win95, 98, and 2000 so I need a player that will run flawlessly on all the current MS-OS''s. I dont trust the !CRAP! Microsoft Media player to run the MPG file because ive had numerous problems on all platforms, here''s a list... 1) Missing codecs for various AVI''s (BUT qplayer plays em!) 2) No Video but sound is ok (no codecs used) (w98) 3) MPlayer 6 - dll missing a function, even after re-install 4) MPG files wont play under Win95 using mplayer with ie4. 5) win2000 wont play VOB, invalid MPEG2 codec. it goes on.... One kikass alternative is the Xing player which plays FLAWLESSLY on all platforms no matter what, but where can i get the decompressor to implement it within my game? Is there a free/cheap alternative to play MPG files in my game? Also, is it possible to play an MPG movie with DirectDraw blitting over the top? I dont wanna use DirectShow because i know there will be problems with various setups. Basically, anything non Microsoft will do.

Share this post


Link to post
Share on other sites
Advertisement
check out the showstrm sample in your directX 6.1 SDK.

it can decode many formats, and returns a directdraw surface which u flip yourself. It also does sound. Just adapt the code into yours.

Share this post


Link to post
Share on other sites

  • 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!