Save video from game

Anonymous

Save video from game

Anonymous
Not applicable

Hello.

 

Cant we make video out of stingrya game. Programs like Plays.tv or kkapture works that kind of stuff but can we used them in games we did with stingray?

Reply
Reply
0 Likes
Reply
Accepted solutions (1)
3,797 Views
15 Replies
Replies (15)

__ben__
Alumni
Alumni

The example in this thread will save each rendered frame of your animation to an image file:

 

https://forums.autodesk.com/t5/stingray-forum/how-to-render-with-stingray/m-p/5783949#M309

 

Third-party software can be used to encode a video file from the individual frames saved to disk.

 

Please let us know if you have any other questions.

 

Regards,

 

Ben

 

Reply
Reply
0 Likes

Anonymous
Not applicable

i have also seen that tutorial but it didnt woked for me it gives me appkitflowcoallbacks error. 

 

Test Engine / Lua: Global table not found: `AppkitFlowCallbacks`
Test Engine / Flow: Flow Lua reference is not a function: `AppkitFlowCallbacks.set_active_camera`
 

and can you give an example about that third party software and how to use them. i tried play.tv as a screen recorder but it didnt worked with the stingrays packaged  file

Reply
Reply
0 Likes

mmartin256
Enthusiast
Enthusiast
Can you not video capture via your graphics card? ShadowPlay by Geforce is what I use when I need to make promo videos of the work I've done in stingray. AMD have something similar called GVR I believe.
Reply
Reply
0 Likes

__ben__
Alumni
Alumni

Yes, video capture can be done live as the game renders with screen capture tools. However, if the content being rendered is complex and renders at below real time frame rates (think CG) then frame-by-frame capture is preferable.

Reply
Reply
0 Likes

andrew.grant
Alumni
Alumni
Accepted solution

I've improved on the movie recording Flow node.

 

In this version, just unzip movie_recorder into your project. The only thing you need to do is load the lua file when running your project. Do this by adding the following to your project.lua :

require 'movie_recorder/movie_recorder'

Then use the Movie Recorder flow node:

movie_recorder.PNG

 

Note: 

The previous versions of this node did not actually work correctly::

- Frame rate handling was incorrect so  you would get inconsistent results

- Output can only output to DDS. If you were outputting .pngs, then they were actually DDS and that's why you wouldn't be able to open those files

Reply
Reply
0 Likes

andrew.grant
Alumni
Alumni

Attached is the example file.

Reply
Reply
0 Likes

Anonymous
Not applicable

Thank you sooo much it is working but it still gives set active camera error. And for the folder that i am saving my images how can i edit the directory for saving files. It is not that much important but i have to save them into "C:/Movies"  folder. And about that "set active camera" error is there any solution for that error too ?

 

And there is another little problem. As you now this is a sample project downloded from tutorial link. But in my project i am using

 

"Play animation clip from resource" , and "Level Loaded" flow nodes. I didnt tried  your files in my custom project yet. Will that two flow nodes cause an error too like "Set Active Camera" flow node?

Reply
Reply
0 Likes

andrew.grant
Alumni
Alumni

Just edit the Movie Path property on the Movie Recorder node. The folder just needs to exist.

 

For the problematic nodes, please try deleting and replacing them.

Reply
Reply
0 Likes

Anonymous
Not applicable

"deleteing and replacing with them". Which flow node i will change for example "Set active camera" node. How will i know which flow node i will use instead of "Play animation clip from resource"?

 

 

Reply
Reply
0 Likes

andrew.grant
Alumni
Alumni
Just delete the existing 'Set Active Camera' and place a new 'Set Active Camera' node in its place and reconnect. Set Active Camera is a custom lua flow node - and as such they don't get automatically updated when they are placed in levels. So I think the ones in the level are stale and need to be replaced.
Reply
Reply
0 Likes

Anonymous
Not applicable

so is that normal to have 3.5 mb dds images. İ think i need another third party software to convert them to normal low sized png images?

Reply
Reply
0 Likes

andrew.grant
Alumni
Alumni
Yes. DDS is the only output possible at the moment. I use XnView to batch convert.
Reply
Reply
0 Likes

Anonymous
Not applicable

thank you so much i will give it a try if it will work or not

 

Reply
Reply
0 Likes

Anonymous
Not applicable

thank you so much it is working. I recreatd set active camera flow node but it still gives the same error also it is recording the frames. And when i try to record frames on level loaded it is not working also

Reply
Reply
0 Likes

Anonymous
Not applicable

Hello i am rendering my image sequences from preview in stingray. But it's maximum resolution is 1280*720. How can i render out my frames at a higher resolution. 

Reply
Reply
0 Likes