PDA

View Full Version : Source Demo Render



CRASH FORT
05-26-2016, 11:42 PM
This is a tool I made to make Source 2013 movies. It should work for any Source 2013 mod.
It completely replaces srcdemo2 and doesn't require installations of dangerous kernel drivers. Much faster and higher quality, and simpler to use.

Instructions are here https://github.com/CRASHFORT/SourceDemoRender.

Download https://github.com/CRASHFORT/SourceDemoRender/releases.

To install for CSS you add the files into cstrike.

In a future update I want to write straight to AVI so you can skip the Virtual Dub process.

Masog
05-27-2016, 05:27 AM
Nice job! Now you can record nightmare bonus in even higher quality!!
But srsly nice.

Silverthing
05-27-2016, 08:33 AM
I love you.

Rapha
05-27-2016, 01:03 PM
cheers

arxxy
06-01-2016, 04:03 PM
love this

CRASH FORT
06-03-2016, 07:46 PM
I've updated this to improve performance and added some new things. You can now be alt tabbed and it will still process at full speed in the background. I also added command sdr_endmovieflash to flash the window when endmovie gets called, this can be used with the demo director to do "endmovie" on a certain tick so you don't have to keep looking at the window.

Download https://github.com/CRASHFORT/SourceDemoRender/releases/tag/2

arxxy
06-04-2016, 03:03 PM
you dont have to keep looking at it, you can go to edit -> playcommands -> set the thing to tick or somthing -> put the end tick -> endmovie command. idk if u already know this but if u dont its useful

Juxtapo
06-04-2016, 08:14 PM
you dont have to keep looking at it, you can go to edit -> playcommands -> set the thing to tick or somthing -> put the end tick -> endmovie command. idk if u already know this but if u dont its useful

The feature he added makes it so the window flashes in your taskbar when endmovie is called, so when the endmovie tick is reached, you know to tab back in. When he says "demo director" he means the edit -> playcommands option.

Silverthing
06-06-2016, 11:18 AM
Quickly tapped out this little tutorial for Misa, might as well post it here. http://pastebin.com/qazu8jMu

Nowlech
06-06-2016, 11:34 AM
Also, you can change/keep your settings in the sdr_load .cfg that you put in the cfg folder instead of changing them at all times. will post screenshot of what i mean.
http://puu.sh/pj1ao/fc98791c6c.png

Silverthing
06-06-2016, 11:38 AM
CSGO Admin, KSF, Kitsune, literally defaulted to Kitsune. This is a sign about CSGO surf I feel.

Nowlech
06-06-2016, 12:26 PM
CSGO Admin, KSF, Kitsune, literally defaulted to Kitsune. This is a sign about CSGO surf I feel.

Well if you watched my last video, you'll see that it's the last map I recorded ;)

Juxtapo
06-06-2016, 12:46 PM
http://pastebin.com/h6fNfR92

I made a cfg with basic presets/instructions.

Working on a video tutorial. Will be done in the next few days hopefully.

InsomniaTF2
07-01-2016, 04:49 PM
I'm having problems with getting it to work for TF2. I launched TF2 with -insecure on, and put the SourceDemoRender.dll in my common\Team Fortress 2\tf folder, and the sdr_load/unload in common\Team Fortress 2\tf\cfg, but it gives me an error in the console saying it can't load the plugin or execute the cfg's. Is it not supposed to work for TF2 just yet, or am I doing something wrong?

CRASH FORT
07-01-2016, 05:43 PM
It should work for any Source 2013 mod and I don't think TF2 uses the normal Source 2013. You could try the static version though, if you don't have VC2015 redist installed.

CRASH FORT
08-07-2016, 06:46 AM
Another user has told me that it does work for TF2. You might've just downloaded the wrong version. I added a note saying if you don't know the difference, get the static version.

InsomniaTF2
08-07-2016, 04:55 PM
Thank you! Will update you if I can get it to work.

jbk
09-17-2016, 02:51 PM
Once I have all my images, what do I do? I tried importing them as a sequence in after effects, but it's slow as hell. I'm guessing I need to make the clip faster? Halp c:
Also, how do I hide the triggerzones? They're displayed as big white chunks in my pictures. heres an example :
http://i.imgur.com/Wz6xkEQ.jpg

CRASH FORT
09-17-2016, 02:59 PM
Currently you import them into Virtual Dub, change the framerate and optionally with compression. Then you use that output avi in your editing program.
Eventually I will make SDR write directly to an avi so you can skip Virtual Dub,

jbk
09-17-2016, 03:06 PM
All right, cheers man. Do you know how to remove those white triggerzones though?

CRASH FORT
09-17-2016, 03:34 PM
I don't know what you're talking about.

jbk
09-17-2016, 03:43 PM
These :
http://i.imgur.com/Wz6xkEQ.jpg

This is one of the images from the render

rool
09-17-2016, 04:35 PM
its the map not sdr

jbk
09-17-2016, 05:06 PM
But that's not what it looks in game though. In game it doesnt have the white zones

Mooster Cow
09-17-2016, 05:50 PM
It's the god damn map

CRASH FORT
09-17-2016, 05:55 PM
That is your mat_picmip value I believe.

jbk
09-17-2016, 06:51 PM
It's the god damn map

no


That is your mat_picmip value I believe.

that was it, thanks a bunch!

Mooster Cow
09-17-2016, 09:14 PM
It's the god damn map

CRASH FORT
04-04-2017, 01:06 PM
I haven't updated anything in this thread but if you've followed the Github page you'd see that there are a lot of updates lately. I think there are some people that still use version 2 or 3, the latest version currently is 6.

Downloads and release details are written here: https://github.com/crashfort/SourceDemoRender/releases

Rapha
04-06-2017, 08:19 PM
thank you!!

jbk
07-20-2017, 02:40 PM
hey crashfort, i've tried a couple times now, but everytime i do startmovie, the outputfile is just a black video. i don't understand what i'm doing wrong
im launching the game in insecure, i type exec sdr_load_mp, then sdr_outputdir "D:\video". Then i do demoui, i load the demo, I goto the correct tick. I then set my view to my character, and then i do "startmovie test.avi".
and everytime the video's black :c

by the way, should i do "cl_drawhud 0" before startmovie? or does sdr take care of the hud?

Danger
07-20-2017, 02:51 PM
Try using .mp4 instead. And yes you have to do cl_drawhud 0 yourself, SDR doesnt do that for you.

jbk
07-20-2017, 03:45 PM
The screen is still black :c
Also now the demo stutters a lot, idk why

CRASH FORT
07-20-2017, 05:25 PM
Another user has reported the same error with black output. I haven't figured it out yet since it works on my setup. I'll figure something out.

Morning
07-20-2017, 05:48 PM
The screen is still black :c
Also now the demo stutters a lot, idk why

I'm having the same issue. Could you add me on steam?
http://steamcommunity.com/id/morningyup/

Thanks

CRASH FORT
07-20-2017, 06:02 PM
We have resolved this issue now. I will post another update which will hopefully fix it for everyone.

CRASH FORT
07-20-2017, 07:07 PM
Version 14 should resolve this issue according to all tests. Please try it.
https://github.com/crashfort/SourceDemoRender/releases

jbk
07-21-2017, 02:54 AM
Version 14 should resolve this issue according to all tests. Please try it.
https://github.com/crashfort/SourceDemoRender/releases

nice, you're the best 8D

jbk
07-22-2017, 09:24 AM
im having another problem :c

whenever i do startmovie, the demo starts stuttering. and the end result stutters too
https://www.youtube.com/watch?v=rDe_qe8BEyM

edit: nevermind! i had to reboot cs a couple times

edit2: fuck my ass. now when i import the video on premiere, it has a green tint to it. i used libx264rgb though

CRASH FORT
07-22-2017, 09:56 AM
You cannot start recording while in first person in STV demos, you have to change mode to third person, then when the model becomes visible you can go back to first person. Some demos are jittery by nature too so you have to increase cl_interp.

CRASH FORT
07-27-2017, 04:46 PM
Version 15 is now the latest version https://github.com/crashfort/SourceDemoRender/releases.

Effective
07-29-2017, 02:38 PM
I've downloaded version 17 (first time using) havnt touched settings much other than directing a path for the vid. rendered a small part but if i try to open in windows media player i have black screen as if the video doesnt want to run.

If i put it in vegas pro 14 i can render it but video is in black & white, any fix to it?

edit: (saved in .mp4)

CRASH FORT
07-29-2017, 03:01 PM
Windows Media Player is insufficient, use something proper like MPC. As for Vegas Pro, it says in the guide the limitations it has. Black and white is the cause of ultrafast and CRF 0. https://github.com/crashfort/SourceDemoRender#vegas-pro

Effective
07-29-2017, 03:04 PM
Windows Media Player is insufficient, use something proper like MPC. As for Vegas Pro, it says in the guide the limitations it has. Black and white is the cause of ultrafast and CRF 0. https://github.com/crashfort/SourceDemoRender#vegas-pro

Thanks for fast reply! (: , ill try Adobe Premiere.

jbk
09-09-2017, 10:27 AM
hey crashfort, i've downloaded the latest SDR update, with the standalone launcher, but I can't get it to work.

I've got the SDR folder in steam>steamapps>common>counterstrike source> cstrike >SDR
and the .cfg file in the cfg folder.

I've opened the batch file to add my game directory, here's what it looks like : http://i.imgur.com/4klB84k.png

I clicked on the updater app, and it said "you can now close this window" so i assume that's good.

And now when I luanch LancherCLI.exe, it looks like this (http://i.imgur.com/AWMkm7T.png) and does nothing.
Am I supposed to launch the game, or exec something?

CRASH FORT
09-10-2017, 03:02 AM
You're supposed to launch with the batch file. You also don't need the parameters outlined in the readme.

jbk
09-10-2017, 07:54 AM
Okay, I got it to launch, but the demo I'm using seems to be laggy, so I can't record it properly, I don't know why. Here's what it looks like https://www.youtube.com/watch?v=YAXYLVax7zM

It doesn't do it with other demos, and I tried relaunching a couple of times. I even redownloaded it, to make sure it wasnt corrupt. Do you know how I could fix that? Or is it corrupted or something? (it's a fresh download)

CRASH FORT
09-10-2017, 08:41 AM
It's the game's fault. You can try increasing cl_interp at the trade of accuracy.

jbk
09-10-2017, 08:51 AM
the cl_interp doesn't do much. i guess i'll try again with another demo some other time!

CRASH FORT
09-10-2017, 09:24 AM
The servers being up far too long at a time is a factor for destroyed demos too.