|
beyonder
|
 |
« on: February 13, 2011, 10:33:41 PM » |
|
http://www.youtube.com/watch?v=uYZwqS4jn3EHere is a full solution to putting a movie on a texture. It even has audio plus volume and stereo balance controls. The archive includes a Vb6, Vb.Net, and C# demos of it working. I used VS2008 to compile all my work. I also included the source to the TV3DMovie.DLL. That's written in MFC and you will need Windows SDK 6 to compile as it uses DirectShow. Because it uses DirectShow it will play almost any movie on your computer. This effectively replaces my WMV to Texture dll I wrote some months back. Version 1.0 Release Version 1.01 Added "IsMovieOver" function. This lets your app know that the movie has ended. Version 1.02 Recoded it as an ActiveX DLL. A lot easier to use. Samples have also been updated. Don't forget to register the DLL.  Download http://orionintelligence.com/Tv3DMovie.zipThat's it! Have fun. 
|
|
|
|
« Last Edit: February 18, 2011, 02:44:02 AM by beyonder »
|
Logged
|
"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
|
|
|
PaulTheAxeman
Community Member

Posts: 37
|
 |
« Reply #1 on: February 14, 2011, 04:23:31 AM » |
|
Wow, this is great stuff. I'll have fun trying this. Thanks for sharing. It's always nice seeing new stuff added for use by the community. Just hope I can provide stuff in the future.
|
|
|
|
|
Logged
|
|
|
|
|
beyonder
|
 |
« Reply #2 on: February 14, 2011, 06:11:20 AM » |
|
No problem Paul! glad to help. I updated the file. It's now even more convinient to use. It's now an ATL COM Dll. Sample projects have also been updated. It's way better as an ActiveX... a lot more tidy anyway.  You'll have to register the DLL before the samples will work of course.
|
|
|
|
« Last Edit: February 14, 2011, 06:14:15 AM by beyonder »
|
Logged
|
"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
|
|
|
|
arnienet
|
 |
« Reply #3 on: February 14, 2011, 06:31:21 PM » |
|
Thanks also indeed, although I don't need it atm, I'm sure I would in the future at some point, so thanks for sharing your hard work, and saving us all hours of research and development (and debugging!).
|
|
|
|
|
Logged
|
Total Dev time = 50% to code, 50% to test, 50% to find errors, 50% to fix, that's why it takes twice as long. Dawn World MMO
|
|
|
Lenn
Customers
Community Member
    
Posts: 876
+/-
|
 |
« Reply #4 on: February 15, 2011, 11:42:54 AM » |
|
Thanks, I will probably need this soon.  How is it better compare to your WMV to texture dll? Any significant reasons why you made this and moved away from WMV?
|
|
|
|
|
Logged
|
|
|
|
|
beyonder
|
 |
« Reply #5 on: February 15, 2011, 03:43:54 PM » |
|
Yay! Well this one has sound. This one can read WMVs *and* AVIs. This one is an ActiveX - not a DLL you have to call explicitly. Oh... did I mention it has sound and volume and balance conttrols?  I would use this one. 
|
|
|
|
« Last Edit: February 15, 2011, 03:49:35 PM by beyonder »
|
Logged
|
"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
|
|
|
AriusEso
Customers
Community Member
    
Posts: 940
Esoteric
|
 |
« Reply #6 on: March 28, 2011, 11:35:45 AM » |
|
Beyonder, do you have any plans to update this so it doesn't use the deprecated SampleGrabber interface?
I'm having trouble following your DLL source correctly because I don't have the required headers( MS seems to no longer support/offer them ).
|
|
|
|
|
Logged
|
-...-  
|
|
|
|
beyonder
|
 |
« Reply #7 on: March 28, 2011, 12:40:29 PM » |
|
Use Windows SDK 6. Not sure why SampleGrabber wasn't included but you'll find a lot of people complaining about it and using SDK 6 because of it. Ogre3D Moive2Texture uses the same thing. You could always create your own DirectShow filter using Windows SDK 7. Ugh right? That's why I used SampleGrabber. If you come up with another solution let us know. I don't see any problem tho using SampleGrabber. Laters.
|
|
|
|
« Last Edit: March 29, 2011, 04:57:29 AM by beyonder »
|
Logged
|
"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
|
|
|
AriusEso
Customers
Community Member
    
Posts: 940
Esoteric
|
 |
« Reply #8 on: March 28, 2011, 12:52:44 PM » |
|
Use Windows SDK 6. Not sure why SampleGrabber wasn't included but you'll find a lot of people complaining about it and using SDK 6 because of it. Ogre3D Moive2Texture uses the same thing. You could always create your own DirectShow filter using Windows SDK 7. Ugh right? That's why I used SampleGrabber. If you come up with another solution let us know. I don't see any problem tho using SampleGrabber tho. Laters.
I'll give that a go. Thanks. 
|
|
|
|
|
Logged
|
-...-  
|
|
|
|
SylvainTV
|
 |
« Reply #9 on: May 01, 2011, 06:42:08 AM » |
|
That's great.. No need anymore for a official TV video thingy then :p
|
|
|
|
|
Logged
|
|
|
|
|
tedlin01
|
 |
« Reply #10 on: June 30, 2011, 04:13:09 AM » |
|
Anyone know how to get this to work with c++?
|
|
|
|
|
Logged
|
|
|
|
|
|
|