Streaming WMV files from an EXE
Posted on 2006-06-12
I have a series of WMV files that I want to be able to show as set of random animations for training purposes. I don't want the end user getting access to the WMV files as they are my IP and took a long time to compile.
I'd really like to create an EXE with them embedded and have them play that way, without, at any time, the raw files being accessible to the end user.
I can get MPG and AVI to stream from an EXE, although the MPG is very jerky. AVI is fine, but I can't get the compression I want easily from the CINEPAK codec.
So, I have one problem and two options I am exploring:
1. I really want to stream the WMV files from the EXE. Is this possible? Do I have to buy a component for this?
2. If I have to stream an AVI, what codec should I use? DivX? Can you embed the DivX codec into your code in case the end user PC doesn't have it installed?
I'd really appreciate any help!
- The target platform is XP
- I'm currently using D7 (old, I know!)
Looking forward to some discussion on this!