• SrcDemo² - Render smoother Source engine movies, faster.
    276 replies, posted
when I run srcdemo the frames don't seem to exist. The wav saves in my final folder, but there are no frames.
[QUOTE=Super Muffin;34787605]when I run srcdemo the frames don't seem to exist. The wav saves in my final folder, but there are no frames.[/QUOTE]Check for: - Is the video mode set to "disabled"? - Have you correctly set the blend rate? (If you set it to like 15,000 frames, then you're going to have to wait for 15,000 frames to be rendered before you see just one frame in the output folder) - Did you set host_framerate in-game? - Did you type "startmovie something/something", and [b]not[/b] "startmovie something/something [b]avi[/b]"? If it's not any of the above, please provide a log file~
[QUOTE=WindPower;34789272]Check for: - Is the video mode set to "disabled"? - Have you correctly set the blend rate? (If you set it to like 15,000 frames, then you're going to have to wait for 15,000 frames to be rendered before you see just one frame in the output folder) - Did you set host_framerate in-game? - Did you type "startmovie something/something", and [b]not[/b] "startmovie something/something [b]avi[/b]"? If it's not any of the above, please provide a log file~[/QUOTE] Blend rate was set to default, framerate was set ingame at 960 as specified. I didn't type avi at the end. I thought avi's were unsupported now? [b]e:[/b] And now I can't even get it to run.
How did I not see this topic before. I would make videos like this plenty with brute force methods. I made a video in Metastasis at 2,400fps and the recorded files weighed in at 1.35TB. I'm still reading but does this only use a linear blend method or can it do a bell curve?
[QUOTE=Super Muffin;34792382]Blend rate was set to default, framerate was set ingame at 960 as specified. I didn't type avi at the end. I thought avi's were unsupported now? [b]e:[/b] And now I can't even get it to run.[/QUOTE]Then you'll have to be more specific (log file) or at least describe what you mean. Does that mean the main window doesn't open? Does it mean it won't let you mount the virtual filesystem? Does it mean it doesn't let you capture audio/video? What do you get if you try to run it in debug mode? [editline]20th February 2012[/editline] [QUOTE=Brt5470;34792647]How did I not see this topic before. I would make videos like this plenty with brute force methods. I made a video in Metastasis at 2,400fps and the recorded files weighed in at 1.35TB. I'm still reading but does this only use a linear blend method or can it do a bell curve?[/QUOTE]It does linear blending, but it lets you customize the [url=http://code.google.com/p/srcdemo2/wiki/ShutterAngle]shutter angle[/url] to use when computing the blended image, which may bring it close enough to Bell curve weighing. Otherwise, I could add it~ Not sure if it's really critical (ie makes a visible difference compared to appropriate shutter angle)
I do the "bell curve" blending in vegas with my files. When working with a 360 shutter effectively, it causes the middle frames of the blend to be weighted more. As if you see a linear movement on screen it feel kind of flat. The curve makes it feel like what is happening in the middle of the exposure is showing up more. Hard to explain but in my mind and experience it ends up looking more realistic. if I had the files, I'd show you an example. if it's a simple addition I would much enjoy that. Also here is the video I did back with brute force recording. 2,400fps. And 1350Gb of files. [video=youtube;dahiI4wSfjA]http://www.youtube.com/watch?v=dahiI4wSfjA[/video]
[QUOTE=Brt5470;34792906]I do the "bell curve" blending in vegas with my files. When working with a 360 shutter effectively, it causes the middle frames of the blend to be weighted more. As if you see a linear movement on screen it feel kind of flat. The curve makes it feel like what is happening in the middle of the exposure is showing up more. Hard to explain but in my mind and experience it ends up looking more realistic. if I had the files, I'd show you an example. if it's a simple addition I would much enjoy that. Also here is the video I did back with brute force recording. 2,400fps. And 1350Gb of files. [video=youtube;dahiI4wSfjA]http://www.youtube.com/watch?v=dahiI4wSfjA[/video][/QUOTE]All done and implemented. Not going to release a new build until I figure out what Super Muffin's problem is first though, so if you want to play with it, you can [url=http://code.google.com/p/srcdemo2/source/checkout]check out the source[/url] or wait for the new build.
[img]http://i.cubeupload.com/LqjeGt.png[/img] Those are my settings. I press activate, launch dods, open demo ui and start playing a demo. Pause demo: host_framerate 960 I've put in startmovie srcdemo/test_. and startmovie srcdemo/test (I'm probably just being an idiot with the commands) Press the play button, then close console. When I look at the rendering panel I can see the sound buffering bar working. The frames stay at 0. I type endmovie, then check my final folder and I have only the .wav file. [b]e:[/b] Don't make everyone else wait because of me! I'm probably just being an idiot! [img]http://fi.somethingawful.com/images/smilies/frown.gif[/img]
[QUOTE=WindPower;34797410]All done and implemented. Not going to release a new build until I figure out what Super Muffin's problem is first though, so if you want to play with it, you can [url=http://code.google.com/p/srcdemo2/source/checkout]check out the source[/url] or wait for the new build.[/QUOTE] Awesome, that was quick, thanks. [editline]20th February 2012[/editline] Also as a complete noob with programming, I have no idea what I'd do with the source anyways.
[QUOTE=Super Muffin;34797597][img]http://i.cubeupload.com/LqjeGt.png[/img] Those are my settings. I press activate, launch dods, open demo ui and start playing a demo. Pause demo: host_framerate 960 I've put in startmovie srcdemo/test_. and startmovie srcdemo/test (I'm probably just being an idiot with the commands) Press the play button, then close console. When I look at the rendering panel I can see the sound buffering bar working. The frames stay at 0. I type endmovie, then check my final folder and I have only the .wav file. [b]e:[/b] Don't make everyone else wait because of me! I'm probably just being an idiot! [img]http://fi.somethingawful.com/images/smilies/frown.gif[/img][/QUOTE]Someone else reported the same issue in the Steam thread, so it might be a legit bug. That screenshot says the output folder you selected is invalid, though... But you probably took care of that in your real test because otherwise you can't click Activate, right? Also, this seems to be running now, otherwise you couldn't have taken this screenshot. What did you change that made it run/what made it not run before?
Sick performance on these latest builds. I'm using the server installations you recommended (as far as I can tell, anyway). [img]http://i.imgur.com/jzjJt.png[/img] And still going! java.exe happily using 1.2GB of RAM for me :P I thought I'd share one of my successful L4D2 clips: [video=youtube;-iHr_ZcuHdc]http://www.youtube.com/watch?v=-iHr_ZcuHdc[/video] 32 x 30 fps @ 180 degrees And link to one of my less successful clips: [url]http://www.youtube.com/watch?v=yNwIh6Lytvo[/url] Unfortunately, L4D2's entity interpolation still fucks up sometimes... Oddly, when I playback the demo at 960fps without activating source recorder, it looks fine. As soon as I tell l4d2 to write TGAs, entities jump all over :( Still a great tool. Thanks again!
Released a new build today. You can download it from [url]http://code.google.com/p/srcdemo2/downloads/list[/url] as usual. Changes include: - Launcher actually checks if the command-line optimizations it wants to use are available before using them (fixes application not starting with old or feature-stripped Java versions) - Added note at the bottom of the interface about using a server JVM if possible. Only shows when not using a server JVM, and includes a link explaining how to install one. - Implemented gaussian blending (different weighing style where frames in the middle of a blend are given more weight than the others; only useful for large shutter angles) with configurable variance. Updated screenshot in the first post. The source code is available [url=https://code.google.com/p/srcdemo2/source/browse/?r=cb4f8eb7522402bd1e5d56cdc76997bd4318cf6f#git%2Fsrc%2Fnet%2Fsrcdemo]here[/url].
Can't believe there is program that does all the work for me. You are awesome.
[QUOTE=WindPower;34798536]Someone else reported the same issue in the Steam thread, so it might be a legit bug. That screenshot says the output folder you selected is invalid, though... But you probably took care of that in your real test because otherwise you can't click Activate, right? Also, this seems to be running now, otherwise you couldn't have taken this screenshot. What did you change that made it run/what made it not run before?[/QUOTE] I had to run the .jar, nothing changed really. Yes the folders were working correctly. I'm just not sure why it isn't processing frames and only the audio buffer.
[QUOTE=Super Muffin;34804074]I had to run the .jar, nothing changed really. Yes the folders were working correctly. I'm just not sure why it isn't processing frames and only the audio buffer.[/QUOTE]Then I ask again, can you upload a log file? Run it in debug mode and save the log somewhere, and then upload that. (It'd also help to set the audio to disabled so that the audio-related debug messages don't show up)
[QUOTE=glitchvid;34004984]sv_maxcmdrate 100 cl_cmdrate 100 rate 99999999 (not kidding) sv_demo_entity_record_rate 250 Smooth as butter. (video goes here, if you want to see it go to the post)[/QUOTE] Posted that a bit back, people on this page might want to see it as it fixes the L4D2 interpolation issues (for me) Also, new video with the Gaussian blur (WebM video goes here)
[QUOTE=glitchvid;34827897]Posted that a bit back, people on this page might want to see it as it fixes the L4D2 interpolation issues (for me) Also, new video with the Gaussian blur [vid]http://static.glitchvid.com/videos/source_recorder/playingwithnewgaussianw.webm[/vid][/QUOTE]It's gaussian blending, not gaussian blur. What it does is that for a given output frame, it will assign different weights to each sub-frame participating in that output frame (more weight given to the frames in the middle), rather than giving every sub-frame the same weight (linear blending). The little adjustable curve represents how much the weight different will be; the middle of the curve represents the weight given to the middle frame, while the left/right ends of the curve represent the weight given to the first and last sub-frames respectively.
Released a new build today. You can download it from [url]http://code.google.com/p/srcdemo2/downloads/list[/url] as usual. Changes include: - Made Windows installer set write permissions on the installation directory. - Made the launcher's optimization probe actually work this time. - Added a command-line interface (SrcDemo2-cli.exe) And while a command-line interface doesn't sound too exciting, here's something that should hopefully make it a bit more so (it's a pagestretcher, but worth it): [img]http://upload.gaiatools.com/files/SrcDemoCli_1.png[/img] The source code is available [url=https://code.google.com/p/srcdemo2/source/browse/?r=f64e6e41f0f4cc432c7a123e0cd7d34edd55dca7#git%2Fsrc%2Fnet%2Fsrcdemo]here[/url].
[QUOTE=Brt5470;34792906]1350Gb of files.[/QUOTE] Um... is it possible to do something as pretty as this with only 10-20gb free on a hdd? I'd like some neat gameplay recorded, but it doesn't have to be highlight reel material.
[QUOTE=WindPower;34842530]Released a new build today. You can download it from [url]http://code.google.com/p/srcdemo2/downloads/list[/url] as usual. Changes include: - Made Windows installer set write permissions on the installation directory. - Made the launcher's optimization probe actually work this time. - Added a command-line interface (SrcDemo2-cli.exe) And while a command-line interface doesn't sound too exciting, here's something that should hopefully make it a bit more so (it's a pagestretcher, but worth it): <image> The source code is available [url=https://code.google.com/p/srcdemo2/source/browse/?r=f64e6e41f0f4cc432c7a123e0cd7d34edd55dca7#git%2Fsrc%2Fnet%2Fsrcdemo]here[/url].[/QUOTE] Currently running into this error on launch: [img]http://i.minus.com/iiuVZ9rMfP9HK.png[/img]
[QUOTE=Raijin;34870658]Um... is it possible to do something as pretty as this with only 10-20gb free on a hdd? I'd like some neat gameplay recorded, but it doesn't have to be highlight reel material.[/QUOTE] I only did that because SrcDemo^2 didn't exsist. I had to dump all frames manually.
[QUOTE=Raijin;34870658]Um... is it possible to do something as pretty as this with only 10-20gb free on a hdd? I'd like some neat gameplay recorded, but it doesn't have to be highlight reel material.[/QUOTE] That thing was before SrcDemo2 was a thing. Now with SrcDemo2 you can record at any framerate and the storage cost stays the same. At 1920x1080 with the PNG format, frames are about 1.7 MB in size, so if you want a (blended) video of 30 fps, you need 3 GB per minute of footage. You can also use the JPG format, with reasonably good quality you can get those 1080p frames to 250 KB with it, which means 450 MB per minute of video (again, no matter what recording framerate you want). [editline]25th February 2012[/editline] [QUOTE=PsYchOsIs;34870704]Currently running into this error on launch: [img]http://i.minus.com/iiuVZ9rMfP9HK.png[/img][/QUOTE] Are you sure this is the very latest build? I thought I fixed that.
[QUOTE=WindPower;34870986] Are you sure this is the very latest build? I thought I fixed that. [/QUOTE] I am getting the same error. Just downloaded the latest build.
[QUOTE=LazzeB;34871057]I am getting the same error. Just downloaded the latest build.[/QUOTE] Do you get this error if you [url=http://code.google.com/p/srcdemo2/wiki/ServerJVM]install a server JVM[/url]?
The 32-bit JDK does the trick. :)
Released a new build today. You can download it from [url]http://code.google.com/p/srcdemo2/downloads/list[/url] as usual. Changes include: - Made launcher avoid using compressed strings optimization on the client JVM even if the client JVM reports that it supports them (because it actually doesn't). - Fixed aspect ratio of ASCII live preview picture in command-line mode. The source code is available [url=https://code.google.com/p/srcdemo2/source/browse/?r=50b5afce546740d637f4faebaede060b677f48c9#git%2Fsrc%2Fnet%2Fsrcdemo]here[/url].
[QUOTE=WindPower;34871263]Do you get this error if you [url=http://code.google.com/p/srcdemo2/wiki/ServerJVM]install a server JVM[/url]?[/QUOTE] Works perfectly!
Could be something I'm doing wrong, but I still seem to be running into some kind of issue with the latest versions I've downloaded. [CODE][C] Executing command register_mountpoint with arguments [u'C:\\Program Files (x86)\\Steam\\steamapps\\p5ych0515\\team fortress 2\\tf\\movie'][F] Mount: Mounting to: F:\Backup\steamapps\p5ych0515\team fortress 2\tf\movie [F] Mount: Mounting failed[/CODE] I've checked that the Dokan service is running (it is), so I'm not quite sure what is going on. [b]EDIT:[/b] wait maybe it's the symlink thing, hold on [b]Edit2:[/b] No, it's not. I thought something in the way I had my files organised could have set it off.
[QUOTE=PsYchOsIs;34872246]Could be something I'm doing wrong, but I still seem to be running into some kind of issue with the latest versions I've downloaded. [CODE][C] Executing command register_mountpoint with arguments [u'C:\\Program Files (x86)\\Steam\\steamapps\\p5ych0515\\team fortress 2\\tf\\movie'][F] Mount: Mounting to: F:\Backup\steamapps\p5ych0515\team fortress 2\tf\movie [F] Mount: Mounting failed[/CODE] I've checked that the Dokan service is running (it is), so I'm not quite sure what is going on. [b]EDIT:[/b] wait maybe it's the symlink thing, hold on [b]Edit2:[/b] No, it's not. I thought something in the way I had my files organised could have set it off.[/QUOTE]Does it go away in an old version? If so, which version is the latest that doesn't have the bug? Symbolic links should automatically be resolved in recent builds (that's why it says F:\...), so it's not a symlink bug (or maybe it is resolving symlinks that causes the issue in the first place). Check if the mountpoint is empty, try re-creating it as a new folder, try a different location altogether, etc.
Would having an explorer window open of where the input frames go cause it? I closed that window and tried re-mounting and it seems to be fine now... I think it was a PEBKAC error instead of a program issue. :P I'm still trying older builds, just in case. 2012-02-19 works, so I'll go forward from there.
Sorry, you need to Log In to post a reply to this thread.