I want to play an animation file in CE GUI window. I do need utilities any standard codec provodes such as play,pause stop.
Does CE GUI support any codec API?
playing wmv /avi video in CE GUI window
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: playing wmv /avi video in CE GUI window
CEGUI knows nothing about this sort of thing.
All the library can do is render a texture to a window. (fx by using a StaticImage control).
You'll need to render your video to a CEGUI texture.
All the library can do is render a texture to a window. (fx by using a StaticImage control).
You'll need to render your video to a CEGUI texture.
Re: playing wmv /avi video in CE GUI window
"You'll need to render your video to a CEGUI texture."
What does this mean? Could you write more about it? what animation file formats can I use ? Is the theora plugin solution?
What does this mean? Could you write more about it? what animation file formats can I use ? Is the theora plugin solution?
It means you have to render a frame from the video stream and then attach it to the texture.
However, I've run into an issue with this. I've set up a DirectShow filtergraph that grabs bitmap frames to a buffer. Then I use the Texture::loadFromMemory function to update the texture. The problem is that the sampleGrabber stores the pixel info in an order which is horizontally mirrored from the order in which the loadFromMemory function expects. All my efforts to reorder the pixels in the buffer result in various levels of jaggies. Has anyone else dealt with this issue?
[Solved]
However, I've run into an issue with this. I've set up a DirectShow filtergraph that grabs bitmap frames to a buffer. Then I use the Texture::loadFromMemory function to update the texture. The problem is that the sampleGrabber stores the pixel info in an order which is horizontally mirrored from the order in which the loadFromMemory function expects. All my efforts to reorder the pixels in the buffer result in various levels of jaggies. Has anyone else dealt with this issue?
[Solved]
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 5 guests