Irrlicht Engine version 1.3
Microsoft Windows XP Personal Service Pack 2 (Build 2600)
Using renderer: Direct3D 9.0
NVIDIA GeForce 7800 GTX nv4_disp.dll 6.14.11.5822
Could not load texture: ../intro.avi
dynamic texture created: ../intro.avi
render target created for../intro.avi
Could not load texture: ../test.mpg
dynamic texture created: ../test.mpg
render target created for../test.mpg
Loaded texture: ../dsvt.jpg
static texture created: ../dsvt.jpg
The same happened when i used another color format. As I said there's actually color conversion for two formats, the other two use code from DX SDK sample, that doesn't work (somehow it's trying to write more memory than reserved). But all the other stuff seems to work now.
It has 3 different dll files, just copy and paste them one by one into the right directory and run the example.
Tell me which one works (no crashes) so that I can finally make a working lib/example package.
If someone wishes I could add support for capture devices (webcam, dvcam, tv card,...). I just need enough requests or a good reason why I should make it.
I've made some changes and added a lot of output data. If it chrashes you can tell me the last few lines from the console, so I can see where the problem is.
It also includes a preview example of the new capture device to texture ability (tested with tv card).
Actually it's using the first available capture device. To run the example first run your software and setup the device (e.g. for a tv card select a channel).
Using renderer: Direct3D 9.0
NVIDIA GeForce 7800 GTX nv4_disp.dll 6.14.11.5822
Could not load texture: ../intro.avi
Entering DSow initialisation
COM initialised
Stop video
DShow initialisation successful
dynamic texture created: ../intro.avi
render target created for../intro.avi
Could not load texture: ../test.mpg
Entering DSow initialisation
Valid texture format found
SetMediaType passed
Stop video
DShow initialisation successful
dynamic texture created: ../test.mpg
render target created for../test.mpg
Loaded texture: ../dsvt.jpg
static texture created: ../dsvt.jpg
Entering play cutscene
Stop video
Play video
Begin play cutscene
Begin update texture
Irrlicht Engine version 1.3
Microsoft Windows XP Personal Service Pack 2 (Build 2600)
Using renderer: Direct3D 9.0
NVIDIA GeForce 7800 GTX nv4_disp.dll 6.14.11.5822
Could not load texture: ../intro.avi
Entering DSow initialisation
COM initialised
Stop video
DShow initialisation successful
dynamic texture created: ../intro.avi
render target created for../intro.avi
Could not load texture: ../test.mpg
Entering DSow initialisation
Valid texture format found
Irrlicht Engine version 1.3
Microsoft Windows XP Personal Service Pack 2 (Build 2600)
Using renderer: Direct3D 9.0
NVIDIA GeForce 7800 GTX nv4_disp.dll 6.14.11.5822
Could not load texture: ../intro.avi
Entering DSow initialisation
COM initialised
Stop video
DShow initialisation successful
dynamic texture created: ../intro.avi
render target created for../intro.avi
Could not load texture: ../test.mpg
Entering DSow initialisation
Valid texture format found
SetMediaType passed
Stop video
DShow initialisation successful
dynamic texture created: ../test.mpg
render target created for../test.mpg
Loaded texture: ../dsvt.jpg
static texture created: ../dsvt.jpg
Entering play cutscene
Stop video
Play video
Begin play cutscene
Begin update texture
No Texture Buffer Update
Update texture done
Pause video
Set Volume
Play video
Play video
Irrlicht Engine version 1.3
Microsoft Windows XP Personal Service Pack 2 (Build 2600)
Using renderer: Direct3D 9.0
NVIDIA GeForce 7800 GTX nv4_disp.dll 6.14.11.5822
Could not load texture: ../intro.avi
Entering DSow initialisation
COM initialised
Stop video
DShow initialisation successful
dynamic texture created: ../intro.avi
render target created for../intro.avi
Could not load texture: ../test.mpg
Entering DSow initialisation
Valid texture format found