PocketMatrix forums

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

wmvdecoder.dll (or other video decoder)

I'm thinking about using video files from within a GapiDraw application (although I don't think the fact that it's with a GapiDraw application really matters, this is a generic question)...

I see wmvdecoder.dll in the /windows folder on my device, and I suspect that might do the trick. Does anyone have any info on using this dll?

Tangential to that, does anyone know of any F/OSS libraries to decode ANY kind of video file, preferably one that provides each frame as a surface suitable for plugging into a library like GapiDraw of PocketFrog?

TIA!
Considering the absolute lack of PPC media players that support WMA, I'm not sure if this is an easy task. There are a couple, so it's no timpossible. As for WMV, there's evne less 3rd party players.
I suspect not, but I have to start somewhere in my exploration :) Certainly, using a library that, presumably, is on any relatively-recent PocketPC is a good start.

Another related question... Does anyone know much about using video codecs? I don't know the first thing about it, but I presume they all must present some known interface... If that's the case, maybe all I need to do is find a suitable codec and learn the interface (maybe wmvdecoder.dll even implements that interface... makes some sense to think so, if that DLL is what I think it is in the first place!)
I know codecs on the desktop are generally handled by DirectShow, which PPCs don't have.

Perhaps picard from BetaPlayer will be able to lend a hand here? Certainly I'm not the best guy for this kind of question :P
those dlls are only available from WMP9 when ms changed to DMO usage. BetaPlayer supports wmvdecoder.dll and wmadecoder.dll, but only with WMP9. in WMP10 they changed something and i don't have a device to check what. but these are only audio and video codecs using IMediaBuffer interface ( http://msdn.microsoft.com/library/defau ... Object.asp ). i'am not sure how WMPlayer reads the asf file, probably it's inside wmcore.dll (BetaPlayer has it's own asf reader).

BetaPlayer source:
http://svn.corecodec.org/betaplayer/tru ... mo_win32.c
https://secure.topcat.hu/picard/plugins/trunk/asf/
Thank you Picard, I'm going to look at that material in detail tonight. I still haven't decided whether I'm going to try and go the FMV route for my next game or just keep using my OASIS engine like my last two games. There's pluses and minuses to both (aren't there always?!?), so thanks for the info!
i wouldn't recommend the wmadecoder.dll/wmvdecoder.dll for a game. it's not an officially supported interface, it can change (as something happened with wmp10 too).
Ok, I'll certainly keep that as a far less desirable approach then... I suppose I could externalize the code using it so that someone could just swap a DLL if it ever breaks, but even doing that obviously isn't a great idea.

Looks like OASIS it most likely is. Maybe I'll do myself a favor and spend a month polishing the editor a bit before getting started on the new game.