Video playback in my game

Started by
1 comment, last by BeerNutts 9 years, 7 months ago
Hi,

I don't know how I can display videos in my game. I just want to display a high resolution (up to 3840x2160 pixels) h.264 video (with sound), but I cannot find any tutorials for this...

I use C++ and DirectX 11 for my game. Is DirectShow an option? Or is there a better one?

Greetings,
Magogan

PS: Sorry for my bad english, I am still learning it :D
Advertisement

I've never used it, but you can use FFmpeg. Once you decompress a frame you can write it to the screen by writing it to a texture then rendering it to the screen.

My current game project Platform RPG

For DirectX, you can use directshow. Here's some info on it.

I know, using FML, sfe::Movie looks like a nice API.

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

This topic is closed to new replies.

Advertisement