New Deshaker 1.1.0.0

Comments

Andy E wrote on 6/16/2009, 11:50 PM
Can you modify New Deshaker to read Outbound Template presets from the version of Vegas that the script is running in, rather than hardwired to a specific version?

Not that I'm aware. I simply call an API function to return me a list of RenderTemplates by name - in this instance "Video for Windows".

I wasn't aware that the two versions shared custom presets. I thought I'd seen some posts where people were having to migrate the presets between 8 & 9. Doesn't your V8 custom preset also appear in V9 when you choose Render As from the File menu?

When saving a new AVI render preset in Vegas, it doesn't show up in New Deshaker script until after Vegas is closed and restarted. I don't know if this is a New Deshaker issue, or limitation in the way Vegas stores render presets.

Actually it seems to be a limitation of the Vegas 8 scripting API. In V9 there's a new "Refresh" method I can call to ensure I get the most up-to-date list. I don't actually request the list until the main Deshaker dialog is being constructed. ***

*** Edit: Actually it seems this method was introduced in 8.0c not 9. Unfortunately, the program is compiled against 8.0b references, This was a deliberate choice since a lot of people seem to be using "b" instead of "c".


Regarding my previous post, the script doesn't like non-ASCII characters in the path names. I changed the path name to all-ASCII and the problem went away. I haven't pursued that further to see where the error was occurring.

Apologies. I meant to look into this when I got back from holiday but got sidetracked. I suspect it's the generated command-line passed to VirtualDub that the problem since the pathname appears ok in the "Render To" box.
Freebird wrote on 6/26/2009, 5:52 PM
I am trying to run the New Deshaker.

Vegas 9.0, Win XP 32, SP3

I keep getting the following error.


I fist get this error: Error during Script execution at line 1, column 3,: Varialble ‘MZ’ not found MZ <!>

Here are the last few lines in the log:

2009-06-26 19:42:54.957 INFO New_Deshaker.EntryPoint Start VirtualDub...
2009-06-26 19:44:43.597 INFO New_Deshaker.EntryPoint VirtualDub complete
2009-06-26 19:44:43.597 ERROR New_Deshaker.EntryPoint Exception trapped in method NewDeshaker(Object, EventArgs)
2009-06-26 19:44:43.613 ERROR New_Deshaker.EntryPoint Exception details: System.NullReferenceException: Object reference not set to an instance of an object.
at New_Deshaker.EntryPoint.Deshake(VideoEvent ve)
at New_Deshaker.EntryPoint.NewDeshaker(Object sender, EventArgs args))


Any ideas?

Thanks
Freebird wrote on 6/26/2009, 10:01 PM
Never mind, I got it to work now. Thanks.
JJKizak wrote on 6/29/2009, 5:55 AM
Can you tell us what you did to get it to work?
JJK
Arthur.S wrote on 7/3/2009, 9:09 AM
OK, what am I doing wrong here guys? I've downloaded both the New Deshaker for Vegas 8.1.0.2 and Virtual Dub zip. When I extract from the Deshaker zip, there's no installer in there. So how do I install it??
Arthur.S wrote on 7/3/2009, 9:35 AM
Ok, got it now. Just needed to be extracted into the Vegas scripts folder, with VDub in 'program files'. Was extracting into my downloads folder.
akwaaba wrote on 7/23/2009, 2:53 AM
Advice please.
Sadly my sony laptop is dying [ V7 and original deshaker using XP] so I now have 2 large learning curves....The new HP computer has Vista and I now have VP9.

I am having great trouble trying to use the new Deshaker in Vista and VP9. I am editing in SD, PAL

Both Virtual Dub and the newDeshaker 8 are installed. I copied the scripts from VP8 script folder to VP9. script folder. I do not have VP8.

I have confirmed that I have administrator rights., and have checked that the external hard drives are read and write....so I am puzzled.

Incidently Photoshop elements 7 is having difficulty doing batch resizing, so I think I have a Vista problem really thinking of going back to XP until Windows 7 is out.

Thanks for your time....sorry about the rant. Hey ho off to remove and reinstall New Deshaker8 & VirtualDub and see if that helps.

Chris

Having taken the computer back to factory settings and reinstalled V 7d and VP9a
I reinstalled the deshaker windows scipts and VirtualDub from the web site.
With Vista the scripts worked perfectly in Vegas 7d. However using VegasPro9a I had to select PAL DV under template rather than 'uncompressed' to make the script work.

I am glad I can now use the excellent script again, Thank You
Andy E wrote on 7/29/2009, 2:09 AM
However using VegasPro9a I had to select PAL DV under template rather than 'uncompressed' to make the script work.

Sorry - been out of the loop for a while....

Could you provide some more information as to what didn't work?
akwaaba wrote on 8/1/2009, 11:17 PM
Sorry I am away from my computer.. from memory.....My computer using Vista,SD/ PAL.

Using vegas 7e on that computer and the new deshaker script for V7 with VirtualDub ran fine from the tenplate .

Using Vegas pro 9a on the same computer with the new Deshaker script V8 and VirtualDub the scipt started to run and then came up with a polite error message.

Having read the forums I elected not to fiddle with dll. files and just changed the tenplate to PAL DV and everything worked.

By the way photoshop now working after reinstall.

Hope this helps, C
jrazz wrote on 1/22/2010, 1:28 PM
I have an odd dimension video file that I am working with that I want to use newdeshaker with. However, when I apply newdeshaker it changes my dimensions. I have tried uncompressed as well as dv-ntsc widescreen.

Here are the attributes: 29.970 fps, 848x480x24, H.264

Is there a way to change the dimensions (or add a preset to the list that has those dimensions in it?

j razz
jrazz wrote on 1/22/2010, 4:59 PM
I figured it out. You export the filter preset, save it as something else in notepad (don't save the extension) and change the 640 | 480 numbers in the contents to the dimensions of the video and then import that filter preset and use it.

j razz
jrazz wrote on 1/22/2010, 5:18 PM
Nope. I was wrong. Any help would be appreciated.

j razz
Grazie wrote on 1/22/2010, 11:01 PM
Waaaay back up there John Meyer asked how did Grazie get it to work? - Answer, I haven't. Why? 'Cos I read through the feedback and took the view that I was going to wait and see when the real Scripting Gods had gotten this t settle down. Was I wise? Maybe. Do I want to try it out? 4 Sure! Is it time for me? - eh? Not so much . . . . .

Much of the tweaks and ironing out has been lost on me, but the idea of a user interface still intrigues me and to have it nestling amongst my other working extensions, and so on, would be valuable.

So NO John, I am enthusiastically waiting to sheep-dip it through the "Grazie-Proof" testing. I still have your script working, and consequently don't wish to rock-the-boat (great saying for a steadying s/w!).

jrazz? Any luck so far?

Grazie

jrazz wrote on 1/23/2010, 5:49 AM
Nope. No luck yet.

j razz
Jøran Toresen wrote on 1/23/2010, 6:22 AM
I think you have to configure the codec that transports clips too and from VirtualDub before you run the NewDeshaker script.

An example using DV video: I use the MainConsept DV codec and has to tell the codec if the clip is Standard or Widescreen PAL DV. I do this outside Vegas before I run NewDeshaker (in practise I configure the DV codec in VirtualDub).

So, you must find a codec that supports your video dimension (848x480) and specify this dimension before you transfer clips between Vegas and VirtualDub. And the codec must remember your settings.

Jøran Toresen
jrazz wrote on 1/23/2010, 6:24 AM
Any chance you can give me a run down on how you achieve this? I read what you said, but that left me thinking of a preset. However, I know that presets don't show up in the dropdown in the GUI.

Care to lay it out?

j razz
Jøran Toresen wrote on 1/23/2010, 6:56 AM
As I told you, I use PAL DV video, so I have to use this as an example. Many years ago I purchased the MainConsept DV Codec because I can use this codec in VirtualDub and other applications. This is what I do:

1. I open VirtualDub and choose Video, Compression.
2. Then I get several choices, and one of these are the MainConsept DV Codec.
3. I can Configure this codec, and I specify Standard or Widescreen (and quality options) depending on my source file format. This codec remembers my settings until I change them (in VirtualDub or another application).
4. If you click one of the codecs and Configure is greyed out, you are not able to configure this codec.
5. You cannot use a DV codec because the dimension is fixed. Therefore you must a) find a codec that supports your file dimensions / formats and b) that you can configure and c) that remembers your settings.

Jøran Toresen
jrazz wrote on 1/23/2010, 1:07 PM
Thanks Jøran. I will give this a try here in a bit. Perhaps I can configure the uncompressed to work with it. I'll report back.

j razz
Jøran Toresen wrote on 1/23/2010, 1:26 PM
Maybe you should experiment with the free Lagarith Lossless Codec? I know nothing about Lagarith, but I downloaded it today and I am trying to find a solution to your problem.

http://lags.leetcode.net/codec.html

Just two questions: Is your video progressive or interlaced? Is it an avi-file?

Remember that you can make a custom rendering template in Vegas.

Jøran Toresen
jrazz wrote on 1/23/2010, 2:07 PM
I have Lagarith already. But this is a short video so I don't mind using uncompressed.

It is interlaced and a Quicktime (.mov) file- the codec shows up as H.264.

Thanks,

j razz