Comments

willlisub wrote on 8/10/2007, 10:27 AM
I'm not a programmer, so use at your own risk.

I have copied down what I did. I renamed the original script deshakerorig.
I then took the deshaker script that's in with the Vegas scripts and edited just 2 lines.

They are: the last two lines at the end of this post:

In my case, I have an E: drive with a temp folder. Notice I rem'd out ( // ) the next to last line which is the original script line and then put in the path for the temp file in the next line.

I just tested it and really haven't used it but it seems to work.

I tried to figure out how to get windows to change the temp variable, but it looked to involved for my limited knowledge.

Hope this helps....
again, just look at the last two lines of the following section.



// **** END USER MODIFICATION AREA ****



try {
// Variable declarations
var baseDir : String;
var RenderFrames : String; // Tell VirtualDub how many frames to render.
var DeshakerParams : String;

// Get the folder used for temporary files. Use Windows system TEMP folder.
var WshShell = new ActiveXObject("WScript.Shell");
var objEnv = WshShell.Environment("Process");
//var TMPFILE : String = objEnv("TEMP")+ "\\deshake.avi";
var TMPFILE : String = "e:\\temp\\deshake.avi";
JJKizak wrote on 8/13/2007, 7:21 AM
Looking at the info line which says looking for the temp file in windows system not just a temp file on "C" drive or temp file on "E" drive it would seem to me you would have to rem out the top two lines also, but then again I can't even program a tv remote. What I mean is it is looking for C:\windows\temp as written and if you change it to E:\temp there is no windows on E:\ temp.
JJK
willlisub wrote on 8/13/2007, 7:46 PM
the temp folder on the e drive is just a name I used. It could be anything. It's an empty folder for deshaker to use.


E is my video drive. I made a folder called temp on the E drive. It has nothing to do with the windows program folders.....

var TMPFILE : String = "e:\\temp\\deshake.avi";

TMPFILE is a variable the program uses and the string is e:\\temp\\deshake.avi.

The avi file made by deshaker is put on the E drive in the temp folder.

so I think........