Forum Replies Created

Page 3 of 18
  • PERFECT, ED!! I cannot thank you enough! This script will make my editing that much faster, as I changed “White” to “Black” and a 1 sec black clip now pops into the top video track where the cursor lies. All that I have to do is drag it down to my track of choice and I’m good to go! Your programming abilities are a great skill that you have among so many others, and when I use this script in tandem with your ( my go-to) excellent Excalibur utility, this shaves many minutes off of my editing! We’re so lucky to have folks around like you who are more than happy to help out! I trust that others may find this script useful, as well. Stay safe, and Happy Holidays to you and yours!!!!!

  • OK, Ed, I tried (and FAILED)!! I looked at another script in Vegas Pro 18 and one from a third party and tried to make sense of an emulate what I thought was correct, but not knowing what I am doing and scouring the web for some tutorials, my script (entitled Black 1 Sec Video Clip.cs) looks like this:

    using ScriptPortal.Vegas;

    //Add the Generated Media

    string GenMed = “{Svfx:com.vegascreativesoftware:solidcolor}”; //Magix Solid Color

    Media media = common.CreateGeneratedMedia(GenMed, “Black”);

    MediaStream stream = media.Streams[0] as MediaStream;

    VideoEvent newEvent = new VideoEvent(0, 1);

    myTrack.Events.Add(newEvent);

    Take take = new Take(stream);

    newEvent.Takes.Add(take);


    My error requester box says “An error occurred during execution of the script D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs. Error 0x80131600 (message missing)”

    Details of the error:

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(5) : Unexpected character ‘“’

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(5) : Unexpected character ‘”’

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(7) : Unexpected character ‘“’

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(7) : Unexpected character ‘”’

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(5) : A namespace cannot directly contain members such as fields or methods

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(9) : Identifier expected

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(10) : Expected class, delegate, enum, interface, or struct

    D:\Program Files\VEGAS\Vegas Pro 18.0\Script Menu\Black 1 Sec Video Clip.cs(12) : Expected class, delegate, enum, interface, or struct


    Again, this is Greek to me! I haven’t a clue what to make of the error as I never have studied computer programming nor specifically this C# language. I just am grasping at straws!!

    Can you correct this to work for me, please? I changed the color to Black and the length to 1. Probably the latter is incorrect verbiage for 1 second. I set the start to 0 (probably wrong also) and I don’t know what to do with myTrack.

    Since you know exactly what I am trying to accomplish, your correcting the errors to my .cs script will allow me to accomplish my goal. I applaud and appreciate your efforts and hope that you will be able to help me (yet once again as you have done so several times in the past with other issues).

    Perhaps maybe some of the errors are because you wrote it in Javascript and mine is in C#? Other than that, well…???

    Thanks in advance, Ed.



  • I’m not against that suggestion, Ed. Do you have a link for how to write such a script, or does one need special training in order to perform this? Do you know of anyone who may have written one or who may have a desire to do so?

  • I don’t know what the problem is, but I will tell you that having everything blurred out but one item does not show me where in the UI you are. Perhaps if you can go step-by-step exactly what you are doing with accompanying screenshots that show complete boxes I may be able to replicate what you are doing. Thanks in advance, Graham.

  • Thanks for the suggestions, Graham. HOWEVER, my VP 18 has different results!

    Options>Preferences>Editing

    My New still image length is set at 5 seconds (300 frames at 59.940 fps). Regardless what number I set this to, my Solid Color Images all remain at 10 seconds. However, if I bring in stills (such as photo jpegs) to the timeline, they default to the number of seconds set in this Editing tab. I made 5 seconds my default time for producing video and photo montages. Whenever I change this number, the stills I drag to the timeline are this number of seconds, BUT the Solid Color stills internally generated in the Media Generator remain at 10 seconds!

    So apparently your workaround does not work on my system!

    BUMMER!!

  • With all due respect to your knowledge and advice, Ed, I followed this hint–HOWEVER, this takes just as many steps and effort as I now take by dragging down the 10 sec generated media clip and splitting or dragging the event on the timeline to my desired 1 second length. I am looking for a method to create a preset as is done with other effects so that I do not have to go through these multiple steps. If creating an actual preset does not work (and why not I cannot understand), creating a script was mentioned. Since I do not know how to do this, might you offer some advice about doing this or any other method to create a 1-step process?

  • Try this link, which contains specific steps to follow in order to get rid of any traces of Vegas. Good Luck!

    https://www.moviestudiozen.com/doctor-zen-faq/602-how-to-clean-install-magix-vegas-pro-movie-studio

  • Rich Kutnick

    December 4, 2020 at 4:33 pm in reply to: PC Spec Advice

    Ended up purchasing the RTX 2060 SUPER.

  • Rich Kutnick

    November 11, 2020 at 2:16 pm in reply to: PC Spec Advice

    May I ask specifically which graphics card you have?

  • Rich Kutnick

    November 9, 2020 at 11:11 pm in reply to: PC Spec Advice

    Working with a local computer shop, I have narrowed it down to the AMD Ryzen 9 3900X processor with a Gigabyte x570 MB and 32GB 3200MHz RAM.

    I STILL am at odds about the graphics card, though, and want one that will work well with Vegas Pro 18. I have narrowed it down to the NVIDIA GeForce RTX 2000 Series. I am going back and forth between the RTX 2060 SUPER and the RTX 2070. (same price). What I don’t know really is which has the biggest bang for the buck and which will work better in Vegas Pro 18. I really need some good advice about this!

    My purchase is on hold until I resolve this question. Your advice will be most appreciated, as always! Thanks in advance.

Page 3 of 18

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy