Getting video output
Getting video output
Hi,
I have an app that can record cameraFPS movement into a file.The same can play the file giving an animation...
I would like to Convert that to video in realtime....Does anyone know any video library(with good licence) that can handle the captured screen to compile an avi file.Is it possible to combine the technique of many screen capture program to irrlicht?
Thanks in advance.....
I have an app that can record cameraFPS movement into a file.The same can play the file giving an animation...
I would like to Convert that to video in realtime....Does anyone know any video library(with good licence) that can handle the captured screen to compile an avi file.Is it possible to combine the technique of many screen capture program to irrlicht?
Thanks in advance.....
skumar
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
When you searched the forum, read the previous threads on this subject, and tried them out, what problems did you find with those proposed solutions?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
I have searched but i failed to get a good solution(im not satisfied by the forum search engine)
Most of the suggestions were external screen capture programs ...but what i want is some library that can compile a series of screenshots to avi or mpg ....
Most of the google searches ended up in avi reading only libs....
I would strain more to reverse such things....if a lib is available....
Most of the suggestions were external screen capture programs ...but what i want is some library that can compile a series of screenshots to avi or mpg ....
Most of the google searches ended up in avi reading only libs....
I would strain more to reverse such things....if a lib is available....
skumar
What are you trying to achieve? Are you trying to render a cutscene? Do you just want to video your game, like fraps does, so you can upload a video?
If it's either of those then it doesn't have to be realtime at all, it's pretty much acceptable for it to take a week to render it, so long as the resulting video is nice.
If it's either of those then it doesn't have to be realtime at all, it's pretty much acceptable for it to take a week to render it, so long as the resulting video is nice.
There's various things to consider if you're trying to render out video such as getting the timings of animations, movements etc right. This has been discussed a fair amount before so searching the forum should help out.
Some video editing packages, like virtual dub i think, accept a load of .TGA images which it will create into a video for you so you could just render out each frame as a .TGA (a very simple image format) and then get virtual dub to make the video for you.
It all depends on what you want to do though really, if it's for your own personal use that might be a good approach, if it's for users of your game to use then it might not be such a good approach.
Some video editing packages, like virtual dub i think, accept a load of .TGA images which it will create into a video for you so you could just render out each frame as a .TGA (a very simple image format) and then get virtual dub to make the video for you.
It all depends on what you want to do though really, if it's for your own personal use that might be a good approach, if it's for users of your game to use then it might not be such a good approach.
thankx jp.....
But i think i need some integrated solution....not an external app...
I have seen some libraries taking image data pointer for making vids....
I like work on something like those....
I think after taking screenshot()...we can lock() that image to get into the image data of the present screenshot()...
Am i right?
But i think i need some integrated solution....not an external app...
I have seen some libraries taking image data pointer for making vids....
I like work on something like those....
I think after taking screenshot()...we can lock() that image to get into the image data of the present screenshot()...
Am i right?
skumar
Finally i got it in a very easy way....with
Revel XviD library...
http://revel.sourceforge.net/
Its very easy to integrate
Revel XviD library...
http://revel.sourceforge.net/
Its very easy to integrate
skumar
Thankx all...
I am almost there....i have made my first irrlicht video...from inside the app itself...i just tested by modifying the hello world demo....
Here is the link to a small video(XviD format)....
http://www.mediafire.com/download.php?c8metzo1d42
There are some issues associated with frame rate....i hope it can be tackled soon....
I am almost there....i have made my first irrlicht video...from inside the app itself...i just tested by modifying the hello world demo....
Here is the link to a small video(XviD format)....
http://www.mediafire.com/download.php?c8metzo1d42
There are some issues associated with frame rate....i hope it can be tackled soon....
skumar
Currently i am trying to make a stable intergration of Revel....The situation is as follows....
Revel needs raw image data ,its color format,and bytes per pixel for making one frame...
Irrlicht only need to take the screenshot and pass the image data by lock(). But there are some doubts about the color format....
My question is...
What are the factors that determine the bits per pixel,color format of the IImage from the createScreenshot() function...What all circumstances it changes...
Is it only related to the prameters i used when creating the device?
Please help
Revel needs raw image data ,its color format,and bytes per pixel for making one frame...
Irrlicht only need to take the screenshot and pass the image data by lock(). But there are some doubts about the color format....
My question is...
What are the factors that determine the bits per pixel,color format of the IImage from the createScreenshot() function...What all circumstances it changes...
Is it only related to the prameters i used when creating the device?
Please help
skumar