Creating A Directx Theora Player

legrignotin

03-06-2010 17:07:20

Hello.
i'm Using CEGUI to create a menu.
When i click on a button, i would like to hide the menu and play a video.

I tried to use this:

Rectangle2D* mRect1;
mRect1 = new Rectangle2D(true);
mRect1->setCorners(-0.75, 0.75, 0.75, -0.75);
mRect1->setMaterial("SimpleVideo");
headNode->attachObject(mRect1);


with this simplevideo.material :

material SimpleVideo
{
technique
{
pass
{
cull_software none
cull_hardware none
lighting off

texture_unit
{
texture_source ogg_video
{
filename count.ogg
precache 60
play_mode pause
}
}
}
}
}


But The video start playing when i launch the program and just shows up when i click on the button even if the play_mode is in pause.
I could use the libtheoraplayer instead to have the possibility to use something like ->play() or ->pause() but i don't wanna use opengl and all the demos are using it.
Can someone help me?

Thanks for everything.

Kreso

03-06-2010 17:32:47

oh yeah, that material parsing has been broken. it automatically plays.

use the video manager, create the video texture manually and stop the player when created. play it then when you want.

legrignotin

03-06-2010 23:34:53

Ok.
Where Can I download the lib/includes corresponding to the videomanager?
Is it this one http://sourceforge.net/projects/libtheoraplayer/ ?


So the code should be :


OgreVideoManager* mgr=(OgreVideoManager*) OgreVideoManager::getSingletonPtr();
TheoraVideoClip * clip = mgr->getVideoClipByName("videoName.ogv");
clip->stop();


?

Kreso

04-06-2010 16:30:03

yeah, the code should be that.

as for libtheoraplayer, go to that link you posted and download the source code via SVN.

legrignotin

07-06-2010 00:42:41

I compiled the ogre video plugin http://ogrevideo.svn.sourceforge.net/viewvc/ogrevideo/

It compiles but my program does not work when i'm adding the line
TheoraVideoClip* clip = mgr->getVideoClipByName("count.ogg");


It appears that mgr is NULL.
I declare mgr as follows:
OgreVideoManager *mgr=(OgreVideoManager*) OgreVideoManager::getSingletonPtr();

What am I doing wrong?
Thanks for you help

Kreso

07-06-2010 09:19:15

did you put the dll in plugins.cfg? if so, paste ogre.log here so I can diagnose.

legrignotin

15-06-2010 09:28:28

Yep.

Here is my Ogre.log:


19:42:06: Creating resource group General
19:42:06: Creating resource group Internal
19:42:06: Creating resource group Autodetect
19:42:06: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:42:06: Registering ResourceManager for type Material
19:42:06: Registering ResourceManager for type Mesh
19:42:06: Registering ResourceManager for type Skeleton
19:42:06: MovableObjectFactory for type 'ParticleSystem' registered.
19:42:06: OverlayElementFactory for type Panel registered.
19:42:06: OverlayElementFactory for type BorderPanel registered.
19:42:06: OverlayElementFactory for type TextArea registered.
19:42:06: Registering ResourceManager for type Font
19:42:06: ArchiveFactory for archive type FileSystem registered.
19:42:06: ArchiveFactory for archive type Zip registered.
19:42:06: DDS codec registering
19:42:06: FreeImage version: 3.13.1
19:42:06: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:42:06: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
19:42:06: Registering ResourceManager for type HighLevelGpuProgram
19:42:06: Registering ResourceManager for type Compositor
19:42:06: MovableObjectFactory for type 'Entity' registered.
19:42:06: MovableObjectFactory for type 'Light' registered.
19:42:06: MovableObjectFactory for type 'BillboardSet' registered.
19:42:06: MovableObjectFactory for type 'ManualObject' registered.
19:42:06: MovableObjectFactory for type 'BillboardChain' registered.
19:42:06: MovableObjectFactory for type 'RibbonTrail' registered.
19:42:06: Loading library .\RenderSystem_Direct3D9
19:42:06: Installing plugin: D3D9 RenderSystem
19:42:06: D3D9 : Direct3D9 Rendering Subsystem created.
19:42:06: D3D9: Driver Detection Starts
19:42:06: D3D9: Driver Detection Ends
19:42:06: Plugin successfully installed
19:42:06: Loading library .\Plugin_ParticleFX
19:42:06: Installing plugin: ParticleFX
19:42:06: Particle Emitter Type 'Point' registered
19:42:06: Particle Emitter Type 'Box' registered
19:42:06: Particle Emitter Type 'Ellipsoid' registered
19:42:06: Particle Emitter Type 'Cylinder' registered
19:42:06: Particle Emitter Type 'Ring' registered
19:42:06: Particle Emitter Type 'HollowEllipsoid' registered
19:42:06: Particle Affector Type 'LinearForce' registered
19:42:06: Particle Affector Type 'ColourFader' registered
19:42:06: Particle Affector Type 'ColourFader2' registered
19:42:06: Particle Affector Type 'ColourImage' registered
19:42:06: Particle Affector Type 'ColourInterpolator' registered
19:42:06: Particle Affector Type 'Scaler' registered
19:42:06: Particle Affector Type 'Rotator' registered
19:42:06: Particle Affector Type 'DirectionRandomiser' registered
19:42:06: Particle Affector Type 'DeflectorPlane' registered
19:42:06: Plugin successfully installed
19:42:06: Loading library .\OgreOggSound
19:42:06: Installing plugin: OgreOggSound
19:42:06: MovableObjectFactory for type 'OgreOggISound' registered.
19:42:06: Plugin successfully installed
19:42:06: *-*-* OGRE Initialising
19:42:06: *-*-* Version 1.7.1 (Cthugha)
19:42:06: Creating resource group Essential
19:42:06: Added resource location './media/thumbnails' of type 'FileSystem' to resource group 'Essential'
19:42:06: Added resource location './media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
19:42:06: Creating resource group Fonts
19:42:06: Added resource location './media/fonts' of type 'FileSystem' to resource group 'Fonts'
19:42:06: Added resource location './media/' of type 'FileSystem' to resource group 'General'
19:42:06: Added resource location './media/gui' of type 'FileSystem' to resource group 'General'
19:42:06: Creating resource group Imagesets
19:42:06: Added resource location './media/imagesets' of type 'FileSystem' to resource group 'Imagesets'
19:42:06: Creating resource group Layouts
19:42:06: Added resource location './media/layouts' of type 'FileSystem' to resource group 'Layouts'
19:42:06: Creating resource group LookNFeel
19:42:06: Added resource location './media/looknfeel' of type 'FileSystem' to resource group 'LookNFeel'
19:42:06: Creating resource group Popular
19:42:06: Added resource location './media/gui' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/fonts' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/materials/programs' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/materials/texture' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/models' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/audio' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/video' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/particle' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/RTShaderLib/materials' of type 'FileSystem' to resource group 'Popular'
19:42:06: Added resource location './media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
19:42:06: Added resource location './media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Added resource location './media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
19:42:07: Creating resource group Schemes
19:42:07: Added resource location './media/schemes' of type 'FileSystem' to resource group 'Schemes'
19:42:07: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
19:42:07: D3D9 : RenderSystem Option: FSAA = 8 [Quality]
19:42:07: D3D9 : RenderSystem Option: Floating-point mode = Fastest
19:42:07: D3D9 : RenderSystem Option: Full Screen = Yes
19:42:07: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-NVIDIA GeForce GTX 260
19:42:07: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
19:42:07: D3D9 : RenderSystem Option: VSync = No
19:42:07: D3D9 : RenderSystem Option: VSync Interval = 1
19:42:07: D3D9 : RenderSystem Option: Video Mode = 1680 x 1050 @ 32-bit colour
19:42:07: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
19:42:07: CPU Identifier & Features
19:42:07: -------------------------
19:42:07: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz
19:42:07: * SSE: yes
19:42:07: * SSE2: yes
19:42:07: * SSE3: yes
19:42:07: * MMX: yes
19:42:07: * MMXEXT: yes
19:42:07: * 3DNOW: no
19:42:07: * 3DNOWEXT: no
19:42:07: * CMOV: yes
19:42:07: * TSC: yes
19:42:07: * FPU: yes
19:42:07: * PRO: yes
19:42:07: * HT: no
19:42:07: -------------------------
19:42:07: D3D9 : Subsystem Initialising
19:42:07: Registering ResourceManager for type Texture
19:42:07: Registering ResourceManager for type GpuProgram
19:42:07: D3D9RenderSystem::_createRenderWindow "AmazingTape Render Window", 1680x1050 fullscreen miscParams: FSAA=8 FSAAHint=[Quality] colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
19:42:07: D3D9 : Created D3D9 Rendering Window 'AmazingTape Render Window' : 1680x1050, 32bpp
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT16_R
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT32_R
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT16_GR
19:42:07: D3D9: Vertex texture format supported - PF_FLOAT32_GR
19:42:07: RenderSystem capabilities
19:42:07: -------------------------
19:42:07: RenderSystem Name: Direct3D9 Rendering Subsystem
19:42:07: GPU Vendor: nvidia
19:42:07: Device Name: Monitor-1-NVIDIA GeForce GTX 260
19:42:07: Driver Version: 8.17.11.9745
19:42:07: * Fixed function pipeline: yes
19:42:07: * Hardware generation of mipmaps: yes
19:42:07: * Texture blending: yes
19:42:07: * Anisotropic texture filtering: yes
19:42:07: * Dot product texture operation: yes
19:42:07: * Cube mapping: yes
19:42:07: * Hardware stencil buffer: yes
19:42:07: - Stencil depth: 8
19:42:07: - Two sided stencil support: yes
19:42:07: - Wrap stencil values: yes
19:42:07: * Hardware vertex / index buffers: yes
19:42:07: * Vertex programs: yes
19:42:07: * Number of floating-point constants for vertex programs: 256
19:42:07: * Number of integer constants for vertex programs: 16
19:42:07: * Number of boolean constants for vertex programs: 16
19:42:07: * Fragment programs: yes
19:42:07: * Number of floating-point constants for fragment programs: 224
19:42:07: * Number of integer constants for fragment programs: 16
19:42:07: * Number of boolean constants for fragment programs: 16
19:42:07: * Geometry programs: no
19:42:07: * Number of floating-point constants for geometry programs: 181
19:42:07: * Number of integer constants for geometry programs: 25697
19:42:07: * Number of boolean constants for geometry programs: 25183
19:42:07: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
19:42:07: * Texture Compression: yes
19:42:07: - DXT: yes
19:42:07: - VTC: no
19:42:07: - PVRTC: no
19:42:07: * Scissor Rectangle: yes
19:42:07: * Hardware Occlusion Query: yes
19:42:07: * User clip planes: yes
19:42:07: * VET_UBYTE4 vertex element type: yes
19:42:07: * Infinite far plane projection: yes
19:42:07: * Hardware render-to-texture: yes
19:42:07: * Floating point textures: yes
19:42:07: * Non-power-of-two textures: yes
19:42:07: * Volume textures: yes
19:42:07: * Multiple Render Targets: 4
19:42:07: - With different bit depths: yes
19:42:07: * Point Sprites: yes
19:42:07: * Extended point parameters: yes
19:42:07: * Max Point Size: 10
19:42:07: * Vertex texture fetch: yes
19:42:07: * Number of world matrices: 0
19:42:07: * Number of texture units: 8
19:42:07: * Stencil buffer depth: 8
19:42:07: * Number of vertex blend matrices: 0
19:42:07: - Max vertex textures: 4
19:42:07: - Vertex textures shared: no
19:42:07: * Render to Vertex Buffer : no
19:42:07: * DirectX per stage constants: yes
19:42:07: ***************************************
19:42:07: *** D3D9 : Subsystem Initialised OK ***
19:42:07: ***************************************
19:42:07: DefaultWorkQueue('Root') initialising on thread 0035E2D8.
19:42:07: DefaultWorkQueue('Root')::WorkerFunc - thread 0036BDE8 starting.
19:42:07: DefaultWorkQueue('Root')::WorkerFunc - thread 0036BE18 starting.
19:42:07: DefaultWorkQueue('Root')::WorkerFunc - thread 0036BE78 starting.
19:42:07: DefaultWorkQueue('Root')::WorkerFunc - thread 0036BED8 starting.
19:42:07: Particle Renderer Type 'billboard' registered
19:42:07: Parsing scripts for resource group Autodetect
19:42:07: Finished parsing scripts for resource group Autodetect
19:42:07: Parsing scripts for resource group Essential
19:42:07: Parsing script SdkTrays.material
19:42:07: Parsing script SdkTrays.fontdef
19:42:07: Parsing script SdkTrays.overlay
19:42:07: Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay
19:42:08: Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
19:42:08: Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
19:42:08: Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
19:42:08: Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
19:42:08: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
19:42:08: Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
19:42:08: Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x48x1.
19:42:08: Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:42:08: Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,8x1x1.
19:42:08: Finished parsing scripts for resource group Essential
19:42:08: Parsing scripts for resource group Fonts
19:42:08: Parsing script sample.fontdef
19:42:08: Finished parsing scripts for resource group Fonts
19:42:08: Parsing scripts for resource group General
19:42:08: Finished parsing scripts for resource group General
19:42:08: Parsing scripts for resource group Imagesets
19:42:08: Finished parsing scripts for resource group Imagesets
19:42:08: Parsing scripts for resource group Internal
19:42:08: Finished parsing scripts for resource group Internal
19:42:08: Parsing scripts for resource group Layouts
19:42:08: Finished parsing scripts for resource group Layouts
19:42:08: Parsing scripts for resource group LookNFeel
19:42:08: Finished parsing scripts for resource group LookNFeel
19:42:08: Parsing scripts for resource group Popular
19:42:08: Parsing script Examples.program
19:42:08: Parsing script StdQuad_vp.program
19:42:08: Parsing script deferred_post.program
19:42:08: Parsing script ShadowCaster.program
19:42:08: Parsing script ASCII.material
19:42:08: Parsing script BlackAndWhite.material
19:42:08: Parsing script Bloom.material
19:42:08: Parsing script Bloom2.material
19:42:08: Parsing script CGSwizzle.material
19:42:08: Parsing script CompositorDemo.material
19:42:08: Parsing script DepthShadowmap.material
19:42:09: Parsing script Dither.material
19:42:09: Parsing script DOF.material
19:42:09: Parsing script Embossed.material
19:42:09: Parsing script Example-Water.material
19:42:09: Parsing script Examples-Advanced.material
19:42:09: Parsing script Examples-DynTex.material
19:42:09: Parsing script Examples-Water.material
19:42:09: Parsing script Examples.material
19:42:09: Parsing script facial.material
19:42:09: Parsing script Glass.material
19:42:09: Parsing script GLSLSwizzle.material
19:42:09: Parsing script Halftone.material
19:42:09: Parsing script hdr.material
19:42:09: Parsing script HeatVision.material
19:42:09: Parsing script Hurt.material
19:42:09: Parsing script instancing.material
19:42:09: Parsing script Invert.material
19:42:09: Parsing script IsoSurf.material
19:42:09: Parsing script Laplace.material
19:42:09: Parsing script MotionBlur.material
19:42:09: Parsing script MRTtest.material
19:42:09: Parsing script NightVision.material
19:42:09: Parsing script Ocean.material
19:42:09: Parsing script OffsetMapping.material
19:42:09: Parsing script Ogre.material
19:42:10: Parsing script OldMovie.material
19:42:10: Parsing script OldTV.material
19:42:10: Parsing script ParticleGS.material
19:42:10: Parsing script Penguin.material
19:42:10: Parsing script Posterize.material
19:42:10: Parsing script pssm.material
19:42:10: Parsing script RadialBlur.material
19:42:10: Parsing script RZR-002.material
19:42:10: Parsing script ShaderSystem.material
19:42:10: Parsing script shadows.material
19:42:10: Parsing script SharpenEdges.material
19:42:10: Parsing script sibenik.material
19:42:10: Parsing script smoke.material
19:42:10: Parsing script Tiling.material
19:42:10: Parsing script VarianceShadowmap.material
19:42:10: Parsing script video.material
19:42:10: ExternalTextureSourceManager::SetCurrentPlugIn(ENUM) failed setting texture plugin
19:42:10: Parsing script deferreddemo.material
19:42:10: Parsing script deferred_post.material
19:42:10: Parsing script deferred_post_minilight.material
19:42:10: Parsing script ShadowCaster.material
19:42:10: Parsing script ssao.material
19:42:10: Parsing script ROOM.material
19:42:10: Parsing script RTShaderSystem.material
19:42:10: Compiler error: unknown error in RTShaderSystem.material(23): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(52): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(146): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(162): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
19:42:10: Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
19:42:10: Parsing script RomanBath.material
19:42:10: Parsing script Sinbad.material
19:42:10: Parsing script emitted_emitter.particle
19:42:10: Parsing script Examples-Water.particle
19:42:10: Parsing script Examples.particle
19:42:10: Parsing script smoke.particle
19:42:10: Parsing script Examples.compositor
19:42:10: Parsing script deferred.compositor
19:42:10: Parsing script ssao.compositor
19:42:10: Parsing script sample.fontdef
19:42:10: Finished parsing scripts for resource group Popular
19:42:10: Parsing scripts for resource group Schemes
19:42:10: Finished parsing scripts for resource group Schemes
19:42:10: *** --- AVAILABLE DEVICES --- ***
19:42:11: *** --- SB X-Fi Audio [0001]
19:42:11: *** --- Generic Software
19:42:11: *** --- Choosing: SB X-Fi Audio [0001] (Default device)
19:42:11: *** --- OpenAL Device successfully created
19:42:11: *** --- OpenAL Context successfully created
19:42:11: *** --- SUPPORTED FORMATS
19:42:11: *** --- EFX Detected
19:42:11: *** --- 4 Auxiliary Effect Slot(s)
19:42:11: *** --- 4 Auxiliary Send(s) per Source
19:42:11: *** --- EFFECTS SUPPORTED:
19:42:11: *** --- 'Reverb' Support: YES
19:42:11: *** --- 'EAX Reverb' Support: YES
19:42:11: *** --- 'Chorus' Support: YES
19:42:11: *** --- 'Distortion' Support: YES
19:42:11: *** --- 'Echo' Support: YES
19:42:11: *** --- 'Flanger' Support: YES
19:42:11: *** --- 'Frequency shifter' Support: YES
19:42:11: *** --- 'Vocal Morpher' Support: YES
19:42:11: *** --- 'Pitch shifter' Support: YES
19:42:11: *** --- 'Ring modulator' Support: YES
19:42:11: *** --- 'Autowah' Support: YES
19:42:11: *** --- 'Compressor' Support: YES
19:42:11: *** --- 'Equalizer' Support: YES
19:42:11: *** --- FILTERS SUPPORTED:
19:42:11: *** --- 'Low Pass' Support: YES
19:42:11: *** --- 'High Pass' Support: NO
19:42:11: *** --- 'Band Pass' Support: NO
19:42:11: *** --- X-RAM Detected
19:42:11: *** --- X-RAM Size(MB): 64 Free(MB):61
19:42:11: *** --- EAX 5.0 Detected
19:42:11: *** --- Using BOOST threads for streaming
19:42:11: Texture: _cegui_ogre_0: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
19:42:11: *** Initializing OIS ***
19:42:11: Texture: _cegui_ogre_1: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
19:42:11: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)
19:42:12: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 635)


I had no problem to compile the glut player demo but it does not work.
It fails at the initialisation of the theora library...

Kreso

15-06-2010 09:45:30

1) This is Ogre 1.7, I havent tested it on it. it works with 1.6.x
2) you have this in your log: ExternalTextureSourceManager::SetCurrentPlugIn(ENUM) failed setting texture plugin
this is probably why it doesn't work :)

legrignotin

30-06-2010 23:53:44

The Problem is i need the mesh exporter from the 1.7 version.
In another hand the material problem is the Simplevideo.material from my old code.

Normally the libtheoraplayer RC2 should work fine, no?
If i try compile the demos it still does not work whereas it does not use ogre...

Kreso

01-07-2010 08:29:11

yeah, libtheoraplayer should work anywhere, it doesn't require Ogre.
can you describe what's happening with libtheoraplaye? are you getting a black screen? does the audio in the av_player demo work?
describe you system, which windows, x86 or x64?

legrignotin

14-07-2010 13:46:55

I get a runtime error. The sound does not play at all.
I tried Windows XP/ Windows 7 x86.
Still the same problem.
I tried to debug the program using exit(0);
And it fails at the initialization..