PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Playing video files

Hi! After a two-months hiatus of development, I resumed work on my game project for PocketPC using edge lib.

Anyway, I need to play small video files during the game (just video, no audio) and I'd like to ask if you know about some library or solution in order to accomplish this. I did a little research on this topic a couple of months ago and found the libmpeg2 and MAD libraries, but both of them are GPLed and I'm planning to sell my game. I've also found the CorePlayer API, but I suspect (based on the features list) that is way much more than what I need.

Thanks in advance for all your help,

--Nacho
Hi,

If you're only targetting Windows Mobile 5+, perhaps you can use DirectShow? Unfortunately, there doesn't seem to be any alternatives (especially when you need to target Symbian).

Perhaps you can create your own solution by loading and playing multiple jpeg files in sequence?
Hi edge,

Thanks for your reply! I hadn't though about using DirectShow, so I'll give it a try. Is support for video files playback a feature planned for future releases of edgelib?

Thanks again for your help,

--Nacho
Hi, Nacho84, I was dealing with same problem for a long time. Windows Mobile system has no video decoders, so the only one solution is to write custom DirectShow filter, unfortunately, I do not know how. I ported ffmpeg lib to wince not long ago, but video fps was too slow. At the second hand, You can apply TCMPM hardcore optimizations to ffmpeg, but this needs lot of knowledge with assembler and how decoders work.
Thanks for your reply Ryumaster. Since I'm taking final exams until Friday I didn't have time to properly sit down and read the DirectShow articles on the MSDN documentation but, if you're telling me that writing those filters is not that easy, I guess I'm gonna have a hard time making video decoding work :(

Anyway, thanks for the heads up. Fortunately, video playback is not a critical feature for my game, but it would be nice to have it. I'll let you know if I make any progress on it.

--Nacho